Shipments
Get shipment delivery note by EAN
Endpoint: POST /pos/delivery-notes/by-ean
Requried query parameters
Parameter | Required | Description |
---|---|---|
ean | Yes | The EAN number of the shipment delivery note |
Data response
Parameter | Required | Default | Description |
---|---|---|---|
shipment_delivery_note | Yes | Shipment delivery note data |
Shipment delivery note data
Parameter | Required | Default | Description |
---|---|---|---|
shipment_nr | Yes | Identification of the shipment | |
colli | Yes | The colli of the shipment |
Shipment delivery note colli data
Parameter | Required | Default | Description |
---|---|---|---|
track_trace | The track trace of the colli | ||
track_trace_link | The track trace link of the colli | ||
lines | Yes | The lines of the colli |
Shipment delivery note colli lines
Parameter | Required | Default | Description |
---|---|---|---|
full_name | Yes | The full name of the product | |
attributes | Yes | A key-value object of the variant attributes | |
sku | Yes | The SKU of the variant | |
ean | Yes | The EAN of the variant | |
packed | Yes | The quantity of the line | |
price_before_discount | Yes | The unit price of the line before discount and ex VAT | |
discount_amount | Yes | The unit discount given as an amount ex VAT | |
discount_percentage | Yes | The discount given as a percentage | |
net_price | Yes | The unit price of the line ex VAT and after discount | |
vat_amount | Yes | The unit VAT amount | |
total_price | Yes | The total price of the line ex VAT. This is calculated as packed * net_price | |
total_price_after_vat | Yes | The total price of the line incl VAT |
Example
POST /pos/delivery-notes/by-ean?ean=57542340013002897
{
"shipment_delivery_note": {
"shipment_nr": "1656941373-1",
"colli": [
{
"track_trace": "00571518601003010141",
"track_trace_link": null,
"lines": [
{
"full_name": "Amazing T-shirt Black S",
"attributes": {
"Size": "S",
"Color": "Black"
},
"sku": "amazing-black-S",
"ean": "5714694592776",
"packed": 3
},
{
"full_name": "Amazing T-shirt Black M",
"attributes": {
"Size": "M",
"Color": "Black"
},
"sku": "amazing-black-M",
"ean": "5714694592769",
"packed": 3
}
]
},
{
"track_trace": "00571518601003010141",
"track_trace_link": null,
"lines": [
{
"full_name": "Amazing T-shirt Black S",
"attributes": {
"Size": "S",
"Color": "Black"
},
"sku": "amazing-black-S",
"ean": "5714694592776",
"packed": 3
}
]
}
]
}
}