Orders
inquiry.json
method: GET
secured: true
url: /v1/office/order/[source]/[order]/[token].json
Detailed informaiton about an order. The full URL for any order is found in the orders/pending.json and the orders/inquiry.json endpoints.
If sucessfull you will see a response like this:
{
"TransactionTypeDescription": "Sales Order ",
"SalesPeriod": "Feb - 2015",
"ProcessDate": "2/17/2015",
"OrderBy": {
"Name": "GNLD INTERNATIONAL",
"AddressPrimary": "3500 GATEWAY BLVD",
"AddressSecondary": "",
"AddressTertiary": null,
"City": "FREMONT",
"Province": "CA",
"PostalCode": "94538-6584"
},
"ShipTo": {
"Name": "Jason Sperske",
"AddressPrimary": "3500 Gateway Blvd",
"AddressSecondary": "",
"AddressTertiary": null,
"City": "Fremont",
"Province": "CA",
"PostalCode": "94538-6584"
},
"PONumber": " ",
"IDNumber": "32-599",
"TotalRetail": {
"value": 56.6,
"key": "TotalRetail",
"label": "Retail",
"formattedValue": "$56.60"
},
"TotalPv": {
"value": 36,
"key": "TotalPv",
"label": "PV",
"formattedValue": "36"
},
"TotalBv": {
"value": 44.3,
"key": "TotalBv",
"label": "BV",
"formattedValue": "44.30"
},
"TotalCost": {
"value": 41,
"key": "TotalCost",
"label": "Cost",
"formattedValue": "$41.00"
},
"Totals": [
{
"value": 4.62,
"key": "TotalTax",
"label": "Tax Amount",
"formattedValue": "$4.62"
},
{
"value": 35.1,
"key": "TotalFreight",
"label": "Freight Amount",
"formattedValue": "$35.10"
},
{
"value": 6,
"key": "TotalHandling",
"label": "Handling Charge",
"formattedValue": "$6.00"
},
{
"value": 86.72,
"key": "TotalDue",
"label": "Total Due",
"formattedValue": "$86.72"
},
{
"value": 86.72,
"key": "TotalPaid",
"label": "Total Payments",
"formattedValue": "$86.72"
}
],
"Items": [
{
"ItemCode": "3010 ",
"Quantity": 1,
"QuantityCases": 0,
"QuantitySingles": 1,
"ItemDescription": "Tré - Nutritional Essence ",
"Retail": 56.6,
"RetailFormatted": "$56.60",
"TaxRate": 0.09,
"TaxRateFormatted": "9%",
"Tax": 4.08,
"TaxFormatted": "$4.08",
"Pv": 36,
"PvFormatted": "36",
"Bv": 44.3,
"BvFormatted": "44.30",
"Cost": 41,
"CostFormatted": "$41.00"
}
],
"success": true,
"error": null
}