Skip to main content

Customer Order Delivery SSCC

Frequency:

Customer order delivery data is available when the delivery process closes on the WMS side.

Expected data:

Returns delivery data for a given Customer Order (CO), grouped by the outbound transport unit (SSCC) the goods were shipped on, with every line split by the stock pallet it was picked from. It is the same data as Customer Order Delivery, in a form that is enough to print a delivery document per SSCC.

Technical:

Each outbound SSCC is returned once, whichever picking documents filled it. Each line is one stock pallet of one customer order line picked on one picking document onto that SSCC, with the picking document it was picked on. A customer order line picked from several stock pallets, on several picking documents or onto several SSCCs, is returned as several lines, each with the original customer_order_line_number. No line numbers are generated.

Linked empties are returned inside the line that produced them, in linked_empties. They are calculated per SSCC from the total quantity of the order line on that SSCC, and are given on the first line of that order line on the SSCC.

The transport unit's own article (SSCC carrier) is given once per SSCC in carrier, when agreed for the client; otherwise it is null. Cross-dock deliveries are given in xdock_lines of the outbound SSCC they were shipped on.

Picked lines that are not on any SSCC are returned in one transport unit with sscc null. Order lines with no picked quantity are not returned.

Every field is always present; a field without a value is null, and a list without entries is empty.


GET https://{url}/v1/orders/customer/{customerOrderExternalId}/delivery/sscc​

Retrieve delivery data for a customer order per SSCC.

GET https://{url}/v1/orders/customer/delivery/sscc?externalId={customerOrderExternalId}​

The same request with the customer order ID as a query parameter. Use it when the ID contains /, \, %, ; or .., which cannot be sent in the path. URL-encode the ID, e.g. Regular_FK.05.2026/78 as externalId=Regular_FK.05.2026%2F78. The response is the same as for the path form.

Response Body​

The response contains customer order header fields and a transport_units array. Each transport unit contains the lines and xdock_lines shipped on it.

Top-level response fields:

NameTypeRequiredDescription
successbooleanYesWhether the operation succeeded
messagestringNoError message, if applicable
customer_order_idstringYesCO unique identifier in ERP
statusintegerYesCO delivery status: 1 - Not started, 2 - In picking, 3 - Delivered
shipping_datestringNoCO delivery date (in format '2025-04-15T12:51:34'). Empty until picking of the order is finished
delivery_document_idstringYesDelivery document unique identifier in WMS
transport_unitsarrayYesArray of transport unit objects

Transport unit object (inside transport_units array):

NameTypeRequiredDescription
ssccstringNoSSCC of the outbound transport unit. null for picked lines that are not on any SSCC
carrierobjectNoThe transport unit's article (article_id, quantity, quantity_unit_id), when agreed for the client
linesarrayYesArray of picked line objects on the transport unit
xdock_linesarrayYesArray of cross-dock line objects on the transport unit

Line object (inside lines array):

NameTypeRequiredDescription
customer_order_line_numberintegerYesCO detail line number
picking_document_idstringYesPicking document unique identifier in WMS the quantity was picked on
picking_datestringYesPicking document date (in format '2025-04-15T12:51:34')
article_idstringYesArticle unique identifier in ERP
quantitynumberYesPicked quantity from this stock pallet onto this SSCC
quantity_unit_idstringYesPicked quantity unit of measure
stock_ssccstringNoSSCC of the stock pallet the quantity was picked from
shelf_lifestringNoShelf life date of the stock pallet (in format '2025-04-15')
batchstringNoBatch of the stock pallet
country_of_originstringNoCountry of origin of the stock pallet
excisearrayYesExcise stamp ranges of the stock pallet (serial, range_from, range_to)
local_excisestringNoLocal excise stamp information
tobacco_codesarrayYesTobacco unique identifiers scanned at picking (level, code)
linked_emptiesarrayYesEmpties linked to the article (article_id, quantity, quantity_unit_id)

Tobacco code object (inside tobacco_codes array):

NameTypeRequiredDescription
levelstringYesAGGREGATED for an aggregated unique identifier, UNIT for a unit pack unique identifier
codestringYesThe unique identifier as reported to the EU tobacco traceability system

Cross-dock line object (inside xdock_lines array):

NameTypeRequiredDescription
article_idstringYesArticle unique identifier in ERP
quantitynumberYesDelivered quantity
quantity_unit_idstringYesQuantity unit of measure
linked_emptiesarrayYesEmpties linked to the article (article_id, quantity, quantity_unit_id)

Response​

200: OK — Success​

{
"success": true,
"message": null,
"customer_order_id": "3000437294",
"status": 3,
"shipping_date": "2025-04-15T12:51:34",
"delivery_document_id": "8726834",
"transport_units": [
{
"sscc": "347500000000000011",
"carrier": {
"article_id": "EUR",
"quantity": 1,
"quantity_unit_id": "PCS"
},
"lines": [
{
"customer_order_line_number": 10000,
"picking_document_id": "992827",
"picking_date": "2025-04-15T09:10:00",
"article_id": "0001",
"quantity": 6,
"quantity_unit_id": "PCS",
"stock_sscc": "347500000000009901",
"shelf_life": "2025-12-01",
"batch": "B2611",
"country_of_origin": "LV",
"excise": [],
"local_excise": null,
"tobacco_codes": [],
"linked_empties": [
{
"article_id": "CRATE",
"quantity": 1,
"quantity_unit_id": "PCS"
}
]
},
{
"customer_order_line_number": 10000,
"picking_document_id": "992828",
"picking_date": "2025-04-15T10:25:00",
"article_id": "0001",
"quantity": 6,
"quantity_unit_id": "PCS",
"stock_sscc": "347500000000009925",
"shelf_life": "2025-12-15",
"batch": "B2612",
"country_of_origin": "LV",
"excise": [],
"local_excise": null,
"tobacco_codes": [],
"linked_empties": []
},
{
"customer_order_line_number": 20000,
"picking_document_id": "992828",
"picking_date": "2025-04-15T10:25:00",
"article_id": "0047",
"quantity": 50,
"quantity_unit_id": "PCS",
"stock_sscc": "347500000000009918",
"shelf_life": null,
"batch": null,
"country_of_origin": "PL",
"excise": [
{
"serial": "GF",
"range_from": 1500,
"range_to": 3000
}
],
"local_excise": null,
"tobacco_codes": [
{
"level": "AGGREGATED",
"code": "04750000000017A1B2C3D4"
},
{
"level": "UNIT",
"code": "Q1W2E3R4T5Y626070704"
}
],
"linked_empties": []
}
],
"xdock_lines": []
},
{
"sscc": "347500000000000028",
"carrier": {
"article_id": "EUR",
"quantity": 1,
"quantity_unit_id": "PCS"
},
"lines": [
{
"customer_order_line_number": 10000,
"picking_document_id": "992827",
"picking_date": "2025-04-15T09:10:00",
"article_id": "0001",
"quantity": 24,
"quantity_unit_id": "PCS",
"stock_sscc": "347500000000009901",
"shelf_life": "2025-12-01",
"batch": "B2611",
"country_of_origin": "LV",
"excise": [],
"local_excise": null,
"tobacco_codes": [],
"linked_empties": [
{
"article_id": "CRATE",
"quantity": 2,
"quantity_unit_id": "PCS"
}
]
}
],
"xdock_lines": [
{
"article_id": "XD100",
"quantity": 3,
"quantity_unit_id": "PCS",
"linked_empties": []
}
]
},
{
"sscc": null,
"carrier": null,
"lines": [
{
"customer_order_line_number": 30000,
"picking_document_id": "992827",
"picking_date": "2025-04-15T09:10:00",
"article_id": "0102",
"quantity": 2,
"quantity_unit_id": "PCS",
"stock_sscc": null,
"shelf_life": null,
"batch": null,
"country_of_origin": null,
"excise": [],
"local_excise": null,
"tobacco_codes": [],
"linked_empties": []
}
],
"xdock_lines": []
}
]
}

400: Bad Request — Error​

{
"success": false,
"message": "Customer Order not found by ID 3000437294"
}