If you require the details of an order for shipping purposes then you can call the following using GET
<apiurl>/api/shipment/details?supplieruid=&retailercode=&customercode=&ordernumber=
Where
SupplierUid is your unique supplier id that can be obtained from our support crew
RetailerCode is the predefined retailer code that can be obtained from our support crew. Note this field is optional
CustomerCode is the customer code from you accounting system that the order was created with. Note this field is optional
OrderNumber is the order number you want the details about
The call will return the following structure in json
ShipmentDetail | ||
OrderNumber | string | |
Region | string | |
EventType | string | |
Department | string | |
DepartmentDescription | string | |
Vendor | string | |
ApplicationID | string | |
DateType | string | |
PromotionDealNumber | string | |
Addresses | ShipmentDetailAddress[] | |
Lines | ShipmentDetailLine[] | |
ShipmentDetailAddress | ||
Type | string | |
Code | string | |
GLN | string | |
Name | string | |
Street1 | string | |
Street2 | string | |
Suburb | string | |
State | string | |
PostCode | string | |
Country | string | |
string | ||
Phone | string | |
Fax | string | |
ContactName | string | |
IsNonCommercial | boolean | |
ShipmentDetailLine | ||
ItemCode | string | |
BarCode | string | |
RetailerItemCode | string | |
SupplierItemCode | string | |
BreakDowns | ShipmentDetailLineBreakDown[] | |
ShipmentDetailLineBreakDown | ||
StoreCode | string | |
Quantity | decimal | |
Any errors will return the following with status = "error"
Error | ||
status | string | |
msg | string |