...
Header | Requirement | JSON | XML |
Content-Type | Required | Content-Type: application/json | Content-Type: application/xml |
Accept | Optional. Returns Content-Type format if undefined | Accept: application/json | Accept: application/xml |
API call formatting
XML Format | |
Body | <Request> <Receipt> <ReceiptReasonCode>string</ReceiptReasonCode> <UpdateReceipt>true</UpdateReceipt> <ReceiptType>string</ReceiptType> <ASNNumber>string</ASNNumber> <GUID>string</GUID> <HBReference>string</HBReference> <IsReturn>true</IsReturn> <Notes>string</Notes> <WarehouseETA>1970-01-01T00:00:00.001Z</WarehouseETA> </Receipt> <ReceiptHeader> <DCCode>string</DCCode> </ReceiptHeader> <List> <ReceiptLineItem> <LotNumber>string</LotNumber> <CaseCount>1</CaseCount> <BestBeforeDate>1970-01-01T00:00:00.001Z</BestBeforeDate> <SupplierName>string</SupplierName> <CountryOfOrigin>string</CountryOfOrigin> <MIDCode>string</MIDCode> <Channel>string</Channel> <EAN>string</EAN> <GUID>string</GUID> <LineNumber>1</LineNumber> <ProductCode>string</ProductCode> <Quantity>1</Quantity> <ReturnReason>string</ReturnReason> <SupplierCompanyCode>string</SupplierCompanyCode> </ReceiptLineItem> </List> </Request> |
Example success Response Body | <Response> |
Example failure Response Body | <Response> |
JSON Format | |
Body | { "Receipt": { "ReceiptReasonCode": "string", "UpdateReceipt": true, "ReceiptType": "string", "ASNNumber": "string", "GUID": "string", "HBReference": "string", "IsReturn": true, "Notes": "string", "WarehouseETA": " |
2024- |
03- |
13T14: |
55: |
31. |
788Z" }, "ReceiptHeader": { "DCCode": "string" }, "List": { "ReceiptLineItem": [ { "LotNumber": "string", "CaseCount": 0, "BestBeforeDate": " |
2024- |
03- |
13T14: |
55: |
31. |
788Z", "SupplierName": "string", "CountryOfOrigin": "string", "MIDCode": "string", "Channel": "string", "EAN": "string", "GUID": "string", "LineNumber": 0, "ProductCode": "string", "Quantity": 0, "ReturnReason": "string", "SupplierCompanyCode": "string" } ] } } | |
Example success Response Body | { |
Example failure Response Body | { |