Get supplier delivery details¶
GET
*base*/supplier-deliveries/*supplierDeliveryId*/details
Get the incoming and not accepted deliveries that are connected to the warehouse this plugin is connected to.
Deliveries will be listed when these requirements are fulfilled:
- Delivery created on a confirmed Supplier Order.
- Supplier order has the Preferred Warehouse set to the “Supplier Delivery Warehouse” in the Plugin.
- Delivery is not accepted yet.
- Delivery has items in it.
Parameters¶
boolean
|
Response in xml format instead of json. |
Request example¶
Both id
and deliveryId
from List supplier deliveries can be used to fetch a supplier delivery.
1 | GET <base>/supplier-deliveries/*supplierDeliveryId* HTTP/1.1
|
Response¶
200
Content-type: application/json
string
required
|
ok if success, else no . |
||||||||||||||||||||||||||||||||||||||||||||||||
object
required
|
Information about this specific supplier order delivery.
|
Response example¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | {
"status": "ok",
"delivery": {
"id": "364",
"orderId": "957",
"deliveryId": "957-1",
"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,
"orders": [
{
"orderId": "83982",
"accountId": "478",
"accountName": "Internal ROW",
"buyer": "Internal ROW, John ",
"carrier": "",
"service": "",
"other": "Other Comment",
"paymentTerms": "30 Net",
"shippingTerms": "Ex. Works",
"poNumber": "Pre Spring 17",
"deliveryName": "John Doe",
"deliveryCompany": "A Company",
"deliveryEmail": "info@example.com",
"deliveryCell": "",
"deliveryTele": "0",
"deliveryAddress": "Skogsgatan 123",
"deliveryCoaddress": "C/O: Warehouse",
"deliveryZipcode": "12345",
"deliveryCity": "Stockholm",
"deliveryState": "0",
"deliveryCountry": "SE",
"products": [
{
"sku": "12019005",
"variantSku": "A",
"sizeSku": "",
"brand": "Kronan",
"collection": "ALL",
"product": "Bike Lady 0 speed BLACK",
"variant": "SVART",
"size": "ONE SIZE",
"ean": "898989891212",
"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",
"weight": 22,
"weightUnit": "kg",
"quantity": 342,
"cost": "12.40",
"costCurrency": "EUR"
}
]
},
{ "orderId": "..."}
]
}
}
|