POST api/v1/purchases/multiple

Request Information

URI Parameters

None.

Body Parameters

PurchaseListDto
NameDescriptionTypeAdditional information
Purchases

Collection of PurchaseDto

None.

Request Formats

application/json, text/json

Sample:
{
  "purchases": [
    {
      "id": "16675ff0-37b8-4ff6-879b-d9068a1ed652",
      "date": "2025-08-31T06:20:11.366915+00:00",
      "total": 1.0,
      "totalWithoutDiscount": 1.0,
      "discountApplied": 1.1,
      "discountValueApplied": 1.0,
      "finalDiscountApplied": 1.1,
      "finalDiscountValueApplied": 1.0,
      "sellerCode": "sample string 1",
      "sellerName": "sample string 2",
      "customerId": "34f09d24-5bd4-461f-b1f1-cda81bf55426",
      "organizationCode": "sample string 3",
      "description": "sample string 4",
      "isOnline": true,
      "generalDiscount": true,
      "items": [
        {
          "id": "52aa6635-d6fc-4eb1-a982-fe93bc75bdbc",
          "name": "sample string 1",
          "barcode": "sample string 2",
          "price": 1.0,
          "priceWithoutDiscount": 1.0,
          "discountApplied": 1.1,
          "discountValueApplied": 1.0,
          "finalDiscountApplied": 1.1,
          "finalDiscountValueApplied": 1.0,
          "quantity": 1.0,
          "brandCode": "sample string 3",
          "brandName": "sample string 4",
          "productCategories": [
            "sample string 1",
            "sample string 2"
          ],
          "productTypeCode": "sample string 5",
          "productCode": "sample string 6",
          "productName": "sample string 7",
          "purchaseId": "6de642c6-a697-4a98-b78d-ed12cf7ab384",
          "customerId": "69799bb1-98ad-41fb-82dd-fb6fe5991a77",
          "promotions": [
            {
              "code": "sample string 1",
              "title": "sample string 2",
              "couponCode": "sample string 3"
            },
            {
              "code": "sample string 1",
              "title": "sample string 2",
              "couponCode": "sample string 3"
            }
          ],
          "categories": [
            {
              "id": "1d9b8ff7-5179-45ac-9050-2bc8453484b3",
              "code": "sample string 1",
              "name": "sample string 2",
              "organizationCode": "sample string 3",
              "creationDate": "2025-08-31T06:20:11.366915+00:00"
            },
            {
              "id": "1d9b8ff7-5179-45ac-9050-2bc8453484b3",
              "code": "sample string 1",
              "name": "sample string 2",
              "organizationCode": "sample string 3",
              "creationDate": "2025-08-31T06:20:11.366915+00:00"
            }
          ],
          "purchaseDate": "2025-08-31T06:20:11.366915+00:00",
          "customFields": {
            "sample string 1": {
              "code": "sample string 1",
              "name": "sample string 2",
              "stringValue": "sample string 3",
              "dateTimeValue": "2025-08-31T06:20:11.366915+00:00",
              "intValue": 1,
              "boolValue": true,
              "type": "sample string 4"
            },
            "sample string 2": {
              "code": "sample string 1",
              "name": "sample string 2",
              "stringValue": "sample string 3",
              "dateTimeValue": "2025-08-31T06:20:11.366915+00:00",
              "intValue": 1,
              "boolValue": true,
              "type": "sample string 4"
            }
          },
          "description": "sample string 9",
          "couponValue": "sample string 10",
          "total": 1.0,
          "totalWithoutDiscount": 1.0,
          "totalDiscountApplied": 1.0,
          "totalDiscountValueApplied": 1.0
        },
        {
          "id": "52aa6635-d6fc-4eb1-a982-fe93bc75bdbc",
          "name": "sample string 1",
          "barcode": "sample string 2",
          "price": 1.0,
          "priceWithoutDiscount": 1.0,
          "discountApplied": 1.1,
          "discountValueApplied": 1.0,
          "finalDiscountApplied": 1.1,
          "finalDiscountValueApplied": 1.0,
          "quantity": 1.0,
          "brandCode": "sample string 3",
          "brandName": "sample string 4",
          "productCategories": [
            "sample string 1",
            "sample string 2"
          ],
          "productTypeCode": "sample string 5",
          "productCode": "sample string 6",
          "productName": "sample string 7",
          "purchaseId": "6de642c6-a697-4a98-b78d-ed12cf7ab384",
          "customerId": "69799bb1-98ad-41fb-82dd-fb6fe5991a77",
          "promotions": [
            {
              "code": "sample string 1",
              "title": "sample string 2",
              "couponCode": "sample string 3"
            },
            {
              "code": "sample string 1",
              "title": "sample string 2",
              "couponCode": "sample string 3"
            }
          ],
          "categories": [
            {
              "id": "1d9b8ff7-5179-45ac-9050-2bc8453484b3",
              "code": "sample string 1",
              "name": "sample string 2",
              "organizationCode": "sample string 3",
              "creationDate": "2025-08-31T06:20:11.366915+00:00"
            },
            {
              "id": "1d9b8ff7-5179-45ac-9050-2bc8453484b3",
              "code": "sample string 1",
              "name": "sample string 2",
              "organizationCode": "sample string 3",
              "creationDate": "2025-08-31T06:20:11.366915+00:00"
            }
          ],
          "purchaseDate": "2025-08-31T06:20:11.366915+00:00",
          "customFields": {
            "sample string 1": {
              "code": "sample string 1",
              "name": "sample string 2",
              "stringValue": "sample string 3",
              "dateTimeValue": "2025-08-31T06:20:11.366915+00:00",
              "intValue": 1,
              "boolValue": true,
              "type": "sample string 4"
            },
            "sample string 2": {
              "code": "sample string 1",
              "name": "sample string 2",
              "stringValue": "sample string 3",
              "dateTimeValue": "2025-08-31T06:20:11.366915+00:00",
              "intValue": 1,
              "boolValue": true,
              "type": "sample string 4"
            }
          },
          "description": "sample string 9",
          "couponValue": "sample string 10",
          "total": 1.0,
          "totalWithoutDiscount": 1.0,
          "totalDiscountApplied": 1.0,
          "totalDiscountValueApplied": 1.0
        }
      ],
      "couponCode": "sample string 6",
      "sourcePurchaseId": "sample string 7"
    },
    {
      "id": "16675ff0-37b8-4ff6-879b-d9068a1ed652",
      "date": "2025-08-31T06:20:11.366915+00:00",
      "total": 1.0,
      "totalWithoutDiscount": 1.0,
      "discountApplied": 1.1,
      "discountValueApplied": 1.0,
      "finalDiscountApplied": 1.1,
      "finalDiscountValueApplied": 1.0,
      "sellerCode": "sample string 1",
      "sellerName": "sample string 2",
      "customerId": "34f09d24-5bd4-461f-b1f1-cda81bf55426",
      "organizationCode": "sample string 3",
      "description": "sample string 4",
      "isOnline": true,
      "generalDiscount": true,
      "items": [
        {
          "id": "52aa6635-d6fc-4eb1-a982-fe93bc75bdbc",
          "name": "sample string 1",
          "barcode": "sample string 2",
          "price": 1.0,
          "priceWithoutDiscount": 1.0,
          "discountApplied": 1.1,
          "discountValueApplied": 1.0,
          "finalDiscountApplied": 1.1,
          "finalDiscountValueApplied": 1.0,
          "quantity": 1.0,
          "brandCode": "sample string 3",
          "brandName": "sample string 4",
          "productCategories": [
            "sample string 1",
            "sample string 2"
          ],
          "productTypeCode": "sample string 5",
          "productCode": "sample string 6",
          "productName": "sample string 7",
          "purchaseId": "6de642c6-a697-4a98-b78d-ed12cf7ab384",
          "customerId": "69799bb1-98ad-41fb-82dd-fb6fe5991a77",
          "promotions": [
            {
              "code": "sample string 1",
              "title": "sample string 2",
              "couponCode": "sample string 3"
            },
            {
              "code": "sample string 1",
              "title": "sample string 2",
              "couponCode": "sample string 3"
            }
          ],
          "categories": [
            {
              "id": "1d9b8ff7-5179-45ac-9050-2bc8453484b3",
              "code": "sample string 1",
              "name": "sample string 2",
              "organizationCode": "sample string 3",
              "creationDate": "2025-08-31T06:20:11.366915+00:00"
            },
            {
              "id": "1d9b8ff7-5179-45ac-9050-2bc8453484b3",
              "code": "sample string 1",
              "name": "sample string 2",
              "organizationCode": "sample string 3",
              "creationDate": "2025-08-31T06:20:11.366915+00:00"
            }
          ],
          "purchaseDate": "2025-08-31T06:20:11.366915+00:00",
          "customFields": {
            "sample string 1": {
              "code": "sample string 1",
              "name": "sample string 2",
              "stringValue": "sample string 3",
              "dateTimeValue": "2025-08-31T06:20:11.366915+00:00",
              "intValue": 1,
              "boolValue": true,
              "type": "sample string 4"
            },
            "sample string 2": {
              "code": "sample string 1",
              "name": "sample string 2",
              "stringValue": "sample string 3",
              "dateTimeValue": "2025-08-31T06:20:11.366915+00:00",
              "intValue": 1,
              "boolValue": true,
              "type": "sample string 4"
            }
          },
          "description": "sample string 9",
          "couponValue": "sample string 10",
          "total": 1.0,
          "totalWithoutDiscount": 1.0,
          "totalDiscountApplied": 1.0,
          "totalDiscountValueApplied": 1.0
        },
        {
          "id": "52aa6635-d6fc-4eb1-a982-fe93bc75bdbc",
          "name": "sample string 1",
          "barcode": "sample string 2",
          "price": 1.0,
          "priceWithoutDiscount": 1.0,
          "discountApplied": 1.1,
          "discountValueApplied": 1.0,
          "finalDiscountApplied": 1.1,
          "finalDiscountValueApplied": 1.0,
          "quantity": 1.0,
          "brandCode": "sample string 3",
          "brandName": "sample string 4",
          "productCategories": [
            "sample string 1",
            "sample string 2"
          ],
          "productTypeCode": "sample string 5",
          "productCode": "sample string 6",
          "productName": "sample string 7",
          "purchaseId": "6de642c6-a697-4a98-b78d-ed12cf7ab384",
          "customerId": "69799bb1-98ad-41fb-82dd-fb6fe5991a77",
          "promotions": [
            {
              "code": "sample string 1",
              "title": "sample string 2",
              "couponCode": "sample string 3"
            },
            {
              "code": "sample string 1",
              "title": "sample string 2",
              "couponCode": "sample string 3"
            }
          ],
          "categories": [
            {
              "id": "1d9b8ff7-5179-45ac-9050-2bc8453484b3",
              "code": "sample string 1",
              "name": "sample string 2",
              "organizationCode": "sample string 3",
              "creationDate": "2025-08-31T06:20:11.366915+00:00"
            },
            {
              "id": "1d9b8ff7-5179-45ac-9050-2bc8453484b3",
              "code": "sample string 1",
              "name": "sample string 2",
              "organizationCode": "sample string 3",
              "creationDate": "2025-08-31T06:20:11.366915+00:00"
            }
          ],
          "purchaseDate": "2025-08-31T06:20:11.366915+00:00",
          "customFields": {
            "sample string 1": {
              "code": "sample string 1",
              "name": "sample string 2",
              "stringValue": "sample string 3",
              "dateTimeValue": "2025-08-31T06:20:11.366915+00:00",
              "intValue": 1,
              "boolValue": true,
              "type": "sample string 4"
            },
            "sample string 2": {
              "code": "sample string 1",
              "name": "sample string 2",
              "stringValue": "sample string 3",
              "dateTimeValue": "2025-08-31T06:20:11.366915+00:00",
              "intValue": 1,
              "boolValue": true,
              "type": "sample string 4"
            }
          },
          "description": "sample string 9",
          "couponValue": "sample string 10",
          "total": 1.0,
          "totalWithoutDiscount": 1.0,
          "totalDiscountApplied": 1.0,
          "totalDiscountValueApplied": 1.0
        }
      ],
      "couponCode": "sample string 6",
      "sourcePurchaseId": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<PurchaseListDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
  <Purchases>
    <PurchaseDto>
      <CouponCode>sample string 6</CouponCode>
      <CustomerId>34f09d24-5bd4-461f-b1f1-cda81bf55426</CustomerId>
      <Date>2025-08-31T06:20:11.366915+00:00</Date>
      <Description>sample string 4</Description>
      <DiscountApplied>1.1</DiscountApplied>
      <DiscountValueApplied>1</DiscountValueApplied>
      <FinalDiscountApplied>1.1</FinalDiscountApplied>
      <FinalDiscountValueApplied>1</FinalDiscountValueApplied>
      <GeneralDiscount>true</GeneralDiscount>
      <Id>16675ff0-37b8-4ff6-879b-d9068a1ed652</Id>
      <IsOnline>true</IsOnline>
      <Items>
        <PurchaseItemDto>
          <Barcode>sample string 2</Barcode>
          <BrandCode>sample string 3</BrandCode>
          <BrandName>sample string 4</BrandName>
          <Categories>
            <ProductCategoryDto>
              <Code>sample string 1</Code>
              <CreationDate>2025-08-31T06:20:11.366915+00:00</CreationDate>
              <Id>1d9b8ff7-5179-45ac-9050-2bc8453484b3</Id>
              <Name>sample string 2</Name>
              <OrganizationCode>sample string 3</OrganizationCode>
            </ProductCategoryDto>
            <ProductCategoryDto>
              <Code>sample string 1</Code>
              <CreationDate>2025-08-31T06:20:11.366915+00:00</CreationDate>
              <Id>1d9b8ff7-5179-45ac-9050-2bc8453484b3</Id>
              <Name>sample string 2</Name>
              <OrganizationCode>sample string 3</OrganizationCode>
            </ProductCategoryDto>
          </Categories>
          <CouponValue>sample string 10</CouponValue>
          <CustomFields xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
              <d6p1:Key>sample string 1</d6p1:Key>
              <d6p1:Value>
                <BoolValue>true</BoolValue>
                <Code>sample string 1</Code>
                <DateTimeValue>2025-08-31T06:20:11.366915+00:00</DateTimeValue>
                <IntValue>1</IntValue>
                <Name>sample string 2</Name>
                <StringValue>sample string 3</StringValue>
                <Type>sample string 4</Type>
              </d6p1:Value>
            </d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
            <d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
              <d6p1:Key>sample string 2</d6p1:Key>
              <d6p1:Value>
                <BoolValue>true</BoolValue>
                <Code>sample string 1</Code>
                <DateTimeValue>2025-08-31T06:20:11.366915+00:00</DateTimeValue>
                <IntValue>1</IntValue>
                <Name>sample string 2</Name>
                <StringValue>sample string 3</StringValue>
                <Type>sample string 4</Type>
              </d6p1:Value>
            </d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
          </CustomFields>
          <CustomerId>69799bb1-98ad-41fb-82dd-fb6fe5991a77</CustomerId>
          <Description>sample string 9</Description>
          <DiscountApplied>1.1</DiscountApplied>
          <DiscountValueApplied>1</DiscountValueApplied>
          <FinalDiscountApplied>1.1</FinalDiscountApplied>
          <FinalDiscountValueApplied>1</FinalDiscountValueApplied>
          <Id>52aa6635-d6fc-4eb1-a982-fe93bc75bdbc</Id>
          <Name>sample string 1</Name>
          <Price>1</Price>
          <PriceWithoutDiscount>1</PriceWithoutDiscount>
          <ProductCategories xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </ProductCategories>
          <ProductCode>sample string 6</ProductCode>
          <ProductName>sample string 7</ProductName>
          <ProductTypeCode>sample string 5</ProductTypeCode>
          <Promotions>
            <PromotionPurchaseDto>
              <Code>sample string 1</Code>
              <CouponCode>sample string 3</CouponCode>
              <Title>sample string 2</Title>
            </PromotionPurchaseDto>
            <PromotionPurchaseDto>
              <Code>sample string 1</Code>
              <CouponCode>sample string 3</CouponCode>
              <Title>sample string 2</Title>
            </PromotionPurchaseDto>
          </Promotions>
          <PurchaseDate>2025-08-31T06:20:11.366915+00:00</PurchaseDate>
          <PurchaseId>6de642c6-a697-4a98-b78d-ed12cf7ab384</PurchaseId>
          <Quantity>1</Quantity>
          <Total>1</Total>
          <TotalDiscountApplied>1</TotalDiscountApplied>
          <TotalDiscountValueApplied>1</TotalDiscountValueApplied>
          <TotalWithoutDiscount>1</TotalWithoutDiscount>
        </PurchaseItemDto>
        <PurchaseItemDto>
          <Barcode>sample string 2</Barcode>
          <BrandCode>sample string 3</BrandCode>
          <BrandName>sample string 4</BrandName>
          <Categories>
            <ProductCategoryDto>
              <Code>sample string 1</Code>
              <CreationDate>2025-08-31T06:20:11.366915+00:00</CreationDate>
              <Id>1d9b8ff7-5179-45ac-9050-2bc8453484b3</Id>
              <Name>sample string 2</Name>
              <OrganizationCode>sample string 3</OrganizationCode>
            </ProductCategoryDto>
            <ProductCategoryDto>
              <Code>sample string 1</Code>
              <CreationDate>2025-08-31T06:20:11.366915+00:00</CreationDate>
              <Id>1d9b8ff7-5179-45ac-9050-2bc8453484b3</Id>
              <Name>sample string 2</Name>
              <OrganizationCode>sample string 3</OrganizationCode>
            </ProductCategoryDto>
          </Categories>
          <CouponValue>sample string 10</CouponValue>
          <CustomFields xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
              <d6p1:Key>sample string 1</d6p1:Key>
              <d6p1:Value>
                <BoolValue>true</BoolValue>
                <Code>sample string 1</Code>
                <DateTimeValue>2025-08-31T06:20:11.366915+00:00</DateTimeValue>
                <IntValue>1</IntValue>
                <Name>sample string 2</Name>
                <StringValue>sample string 3</StringValue>
                <Type>sample string 4</Type>
              </d6p1:Value>
            </d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
            <d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
              <d6p1:Key>sample string 2</d6p1:Key>
              <d6p1:Value>
                <BoolValue>true</BoolValue>
                <Code>sample string 1</Code>
                <DateTimeValue>2025-08-31T06:20:11.366915+00:00</DateTimeValue>
                <IntValue>1</IntValue>
                <Name>sample string 2</Name>
                <StringValue>sample string 3</StringValue>
                <Type>sample string 4</Type>
              </d6p1:Value>
            </d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
          </CustomFields>
          <CustomerId>69799bb1-98ad-41fb-82dd-fb6fe5991a77</CustomerId>
          <Description>sample string 9</Description>
          <DiscountApplied>1.1</DiscountApplied>
          <DiscountValueApplied>1</DiscountValueApplied>
          <FinalDiscountApplied>1.1</FinalDiscountApplied>
          <FinalDiscountValueApplied>1</FinalDiscountValueApplied>
          <Id>52aa6635-d6fc-4eb1-a982-fe93bc75bdbc</Id>
          <Name>sample string 1</Name>
          <Price>1</Price>
          <PriceWithoutDiscount>1</PriceWithoutDiscount>
          <ProductCategories xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </ProductCategories>
          <ProductCode>sample string 6</ProductCode>
          <ProductName>sample string 7</ProductName>
          <ProductTypeCode>sample string 5</ProductTypeCode>
          <Promotions>
            <PromotionPurchaseDto>
              <Code>sample string 1</Code>
              <CouponCode>sample string 3</CouponCode>
              <Title>sample string 2</Title>
            </PromotionPurchaseDto>
            <PromotionPurchaseDto>
              <Code>sample string 1</Code>
              <CouponCode>sample string 3</CouponCode>
              <Title>sample string 2</Title>
            </PromotionPurchaseDto>
          </Promotions>
          <PurchaseDate>2025-08-31T06:20:11.366915+00:00</PurchaseDate>
          <PurchaseId>6de642c6-a697-4a98-b78d-ed12cf7ab384</PurchaseId>
          <Quantity>1</Quantity>
          <Total>1</Total>
          <TotalDiscountApplied>1</TotalDiscountApplied>
          <TotalDiscountValueApplied>1</TotalDiscountValueApplied>
          <TotalWithoutDiscount>1</TotalWithoutDiscount>
        </PurchaseItemDto>
      </Items>
      <OrganizationCode>sample string 3</OrganizationCode>
      <SellerCode>sample string 1</SellerCode>
      <SellerName>sample string 2</SellerName>
      <SourcePurchaseId>sample string 7</SourcePurchaseId>
      <Total>1</Total>
      <TotalWithoutDiscount>1</TotalWithoutDiscount>
    </PurchaseDto>
    <PurchaseDto>
      <CouponCode>sample string 6</CouponCode>
      <CustomerId>34f09d24-5bd4-461f-b1f1-cda81bf55426</CustomerId>
      <Date>2025-08-31T06:20:11.366915+00:00</Date>
      <Description>sample string 4</Description>
      <DiscountApplied>1.1</DiscountApplied>
      <DiscountValueApplied>1</DiscountValueApplied>
      <FinalDiscountApplied>1.1</FinalDiscountApplied>
      <FinalDiscountValueApplied>1</FinalDiscountValueApplied>
      <GeneralDiscount>true</GeneralDiscount>
      <Id>16675ff0-37b8-4ff6-879b-d9068a1ed652</Id>
      <IsOnline>true</IsOnline>
      <Items>
        <PurchaseItemDto>
          <Barcode>sample string 2</Barcode>
          <BrandCode>sample string 3</BrandCode>
          <BrandName>sample string 4</BrandName>
          <Categories>
            <ProductCategoryDto>
              <Code>sample string 1</Code>
              <CreationDate>2025-08-31T06:20:11.366915+00:00</CreationDate>
              <Id>1d9b8ff7-5179-45ac-9050-2bc8453484b3</Id>
              <Name>sample string 2</Name>
              <OrganizationCode>sample string 3</OrganizationCode>
            </ProductCategoryDto>
            <ProductCategoryDto>
              <Code>sample string 1</Code>
              <CreationDate>2025-08-31T06:20:11.366915+00:00</CreationDate>
              <Id>1d9b8ff7-5179-45ac-9050-2bc8453484b3</Id>
              <Name>sample string 2</Name>
              <OrganizationCode>sample string 3</OrganizationCode>
            </ProductCategoryDto>
          </Categories>
          <CouponValue>sample string 10</CouponValue>
          <CustomFields xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
              <d6p1:Key>sample string 1</d6p1:Key>
              <d6p1:Value>
                <BoolValue>true</BoolValue>
                <Code>sample string 1</Code>
                <DateTimeValue>2025-08-31T06:20:11.366915+00:00</DateTimeValue>
                <IntValue>1</IntValue>
                <Name>sample string 2</Name>
                <StringValue>sample string 3</StringValue>
                <Type>sample string 4</Type>
              </d6p1:Value>
            </d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
            <d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
              <d6p1:Key>sample string 2</d6p1:Key>
              <d6p1:Value>
                <BoolValue>true</BoolValue>
                <Code>sample string 1</Code>
                <DateTimeValue>2025-08-31T06:20:11.366915+00:00</DateTimeValue>
                <IntValue>1</IntValue>
                <Name>sample string 2</Name>
                <StringValue>sample string 3</StringValue>
                <Type>sample string 4</Type>
              </d6p1:Value>
            </d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
          </CustomFields>
          <CustomerId>69799bb1-98ad-41fb-82dd-fb6fe5991a77</CustomerId>
          <Description>sample string 9</Description>
          <DiscountApplied>1.1</DiscountApplied>
          <DiscountValueApplied>1</DiscountValueApplied>
          <FinalDiscountApplied>1.1</FinalDiscountApplied>
          <FinalDiscountValueApplied>1</FinalDiscountValueApplied>
          <Id>52aa6635-d6fc-4eb1-a982-fe93bc75bdbc</Id>
          <Name>sample string 1</Name>
          <Price>1</Price>
          <PriceWithoutDiscount>1</PriceWithoutDiscount>
          <ProductCategories xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </ProductCategories>
          <ProductCode>sample string 6</ProductCode>
          <ProductName>sample string 7</ProductName>
          <ProductTypeCode>sample string 5</ProductTypeCode>
          <Promotions>
            <PromotionPurchaseDto>
              <Code>sample string 1</Code>
              <CouponCode>sample string 3</CouponCode>
              <Title>sample string 2</Title>
            </PromotionPurchaseDto>
            <PromotionPurchaseDto>
              <Code>sample string 1</Code>
              <CouponCode>sample string 3</CouponCode>
              <Title>sample string 2</Title>
            </PromotionPurchaseDto>
          </Promotions>
          <PurchaseDate>2025-08-31T06:20:11.366915+00:00</PurchaseDate>
          <PurchaseId>6de642c6-a697-4a98-b78d-ed12cf7ab384</PurchaseId>
          <Quantity>1</Quantity>
          <Total>1</Total>
          <TotalDiscountApplied>1</TotalDiscountApplied>
          <TotalDiscountValueApplied>1</TotalDiscountValueApplied>
          <TotalWithoutDiscount>1</TotalWithoutDiscount>
        </PurchaseItemDto>
        <PurchaseItemDto>
          <Barcode>sample string 2</Barcode>
          <BrandCode>sample string 3</BrandCode>
          <BrandName>sample string 4</BrandName>
          <Categories>
            <ProductCategoryDto>
              <Code>sample string 1</Code>
              <CreationDate>2025-08-31T06:20:11.366915+00:00</CreationDate>
              <Id>1d9b8ff7-5179-45ac-9050-2bc8453484b3</Id>
              <Name>sample string 2</Name>
              <OrganizationCode>sample string 3</OrganizationCode>
            </ProductCategoryDto>
            <ProductCategoryDto>
              <Code>sample string 1</Code>
              <CreationDate>2025-08-31T06:20:11.366915+00:00</CreationDate>
              <Id>1d9b8ff7-5179-45ac-9050-2bc8453484b3</Id>
              <Name>sample string 2</Name>
              <OrganizationCode>sample string 3</OrganizationCode>
            </ProductCategoryDto>
          </Categories>
          <CouponValue>sample string 10</CouponValue>
          <CustomFields xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
              <d6p1:Key>sample string 1</d6p1:Key>
              <d6p1:Value>
                <BoolValue>true</BoolValue>
                <Code>sample string 1</Code>
                <DateTimeValue>2025-08-31T06:20:11.366915+00:00</DateTimeValue>
                <IntValue>1</IntValue>
                <Name>sample string 2</Name>
                <StringValue>sample string 3</StringValue>
                <Type>sample string 4</Type>
              </d6p1:Value>
            </d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
            <d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
              <d6p1:Key>sample string 2</d6p1:Key>
              <d6p1:Value>
                <BoolValue>true</BoolValue>
                <Code>sample string 1</Code>
                <DateTimeValue>2025-08-31T06:20:11.366915+00:00</DateTimeValue>
                <IntValue>1</IntValue>
                <Name>sample string 2</Name>
                <StringValue>sample string 3</StringValue>
                <Type>sample string 4</Type>
              </d6p1:Value>
            </d6p1:KeyValueOfstringCustomFieldPurchaseDtouOHOlRpi>
          </CustomFields>
          <CustomerId>69799bb1-98ad-41fb-82dd-fb6fe5991a77</CustomerId>
          <Description>sample string 9</Description>
          <DiscountApplied>1.1</DiscountApplied>
          <DiscountValueApplied>1</DiscountValueApplied>
          <FinalDiscountApplied>1.1</FinalDiscountApplied>
          <FinalDiscountValueApplied>1</FinalDiscountValueApplied>
          <Id>52aa6635-d6fc-4eb1-a982-fe93bc75bdbc</Id>
          <Name>sample string 1</Name>
          <Price>1</Price>
          <PriceWithoutDiscount>1</PriceWithoutDiscount>
          <ProductCategories xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </ProductCategories>
          <ProductCode>sample string 6</ProductCode>
          <ProductName>sample string 7</ProductName>
          <ProductTypeCode>sample string 5</ProductTypeCode>
          <Promotions>
            <PromotionPurchaseDto>
              <Code>sample string 1</Code>
              <CouponCode>sample string 3</CouponCode>
              <Title>sample string 2</Title>
            </PromotionPurchaseDto>
            <PromotionPurchaseDto>
              <Code>sample string 1</Code>
              <CouponCode>sample string 3</CouponCode>
              <Title>sample string 2</Title>
            </PromotionPurchaseDto>
          </Promotions>
          <PurchaseDate>2025-08-31T06:20:11.366915+00:00</PurchaseDate>
          <PurchaseId>6de642c6-a697-4a98-b78d-ed12cf7ab384</PurchaseId>
          <Quantity>1</Quantity>
          <Total>1</Total>
          <TotalDiscountApplied>1</TotalDiscountApplied>
          <TotalDiscountValueApplied>1</TotalDiscountValueApplied>
          <TotalWithoutDiscount>1</TotalWithoutDiscount>
        </PurchaseItemDto>
      </Items>
      <OrganizationCode>sample string 3</OrganizationCode>
      <SellerCode>sample string 1</SellerCode>
      <SellerName>sample string 2</SellerName>
      <SourcePurchaseId>sample string 7</SourcePurchaseId>
      <Total>1</Total>
      <TotalWithoutDiscount>1</TotalWithoutDiscount>
    </PurchaseDto>
  </Purchases>
</PurchaseListDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.