Order API - Get Supplier Order
Get supplier order
Endpoint: GET *base*/supplier-orders/*supplierOrderId*
Authentication: API Key
List the products inside a supplier order.
Parameters
Response in xml format instead of json.
Request example
GET <base>/supplier-orders/*supplierOrderId* HTTP/1.1
Response
200
Content-type: application/json
ok
if success, else no
.
Information about this specific supplier order.
ID of the supplier order.
ISO-Alpha-2 (SE
, US
, GB
etc).
The date this supplier order was created.
Estimated time of arrival to the warehouse. This will be used to calculate what orders that fits into a specific delivery window.
Estimated time of delivery for the customer.
The total quantity of products in this supplier order.
The product items in this supplier order. Most of the fields are described in the :ref:Get stock response <order-api-get-stock-response>
but the following ones are specific to supplier orders:
The amount of product items ordered.
The cost / pcs for this item.
The currency code for the cost / pcs. ISO-Alpha-2 (SE
, US
, GB
etc).
Response example
{
"status": "ok",
"order": {
"orderId": "957",
"supplierName": "Falca",
"supplierCountry": "ES",
"created": "2019-01-28 01:15",
"ETD": "2019-03-31 15:15",
"ETA": "2019-04-05 20:15",
"message": "Text entered by centra admin",
"productsQty": 20000,
"products": [
{
"sku": "12019005",
"variantSku": "A",
"sizeSku": "",
"brand": "Kronan",
"collection": "ALL",
"product": "Bike Lady 0 speed BLACK",
"variant": "SVART",
"size": "ONE SIZE",
"ean": "898989891212",
"upc": "123456",
"weight": 22,
"weightUnit": "kg",
"quantity": 122
"cost": "9.40",
"costCurrency": "USD"
},
{
"sku": "12019007",
"variantSku": "A",
"sizeSku": "",
"brand": "Kronan",
"collection": "ALL",
"product": "Bike Lady 0 speed BLUE",
"variant": "BLUE",
"size": "ONE SIZE",
"ean": "898989891213",
"upc": "123456",
"weight": 22,
"weightUnit": "kg",
"quantity": 342,
"cost": "12.40",
"costCurrency": "EUR"
}
]
}
}