SupplyOrderItem
What you can do with SupplyOrderItem:
This is currently a read only resource when called on its own.
{
"response": {
"Page": 1,
"PageCount": 2,
"RecordsSent": 100,
"RecordsFound": 172,
"SupplyOrderItem": [
{
"id": 14,
"Order_id": 4,
"Supplier_Ref": "",
"Style": "16343",
"SKU": "16343001",
"Article": "Fara Top",
"Colour_Code": "001",
"Colour_Name": "Black",
"Buy_Price": 11.3,
"Line_Qty": 3,
"Line_Buy_Value": 33.9,
"Buy_Currency": "USD",
"Land_Cost": 12.33,
"Line_Land_Value": 36.99,
"Land_Currency": "GBP",
"Sizes": [
{
"SKUSize": "16343001 E",
"Size": "16",
"Qty": 3,
"SizeSort": 5
}
]
}
]
}
}
SupplyOrderItem Properties
| Property | Example | Description |
|---|---|---|
| id | 14 | Unique id for the retail order item |
| Order_id | 4 | Order id links the item to the order |
| Style | "16343" | Style code for the item |
| SKU | "16343001" | Style/Colour code for the order item |
| Article | "Delivery" | Article name |
| Colour_Code | "001" | Colour code |
| Colour_Name | "BLACK" | Colour name |
| Buy_Price | 11.3 | Item buy price per item |
| Line_Qty | 3 | Total quantity for the line |
| Line_Buy_Value | 33.9 | Total buy value for line |
| Buy_Currency | "USD" | Buy currency for the line item |
| Land_Cost | 12.33 | Landed cost per item |
| Line_Land_Value | 36.99 | Landed cost for line item |
| Land_Currrency | "GBP" | The landed currency |
| Sizes | [] | Array of size level item quantities |
--------- ------- ----------- SKUSize | "16343001 E" | SKU/Size level code Size | "16" | Size code Qty | 3 | Quantity for the size in the line SizeSort | 5 | The size sort code for the size item
ShowZeros Custom Parameter
The ShowZeros parameter can be used to display sizes for the order item that have a zero quantity in them. By default the behaviour is to return only sizes that have a non zero quantity.
Example /api/supplyorderitem?showzeros=true