getAllCustomerOrderEnhanced
Retrieves all customer orders with the accompanying information.
Query parameters
Retrieve orders with Catering Order Flag enabled (Y/N) - optional.
Code number for the Customer to retrieve. Required if Order Number or Order Date inputs not provided.
Code number for the Daypart to retrieve (optional).
Expected Delivery Date (DD-MMM-YY) for orders to retrieve (optional).
Use true to retrieve detailed information for one Customer Order at a time (optional). When true, orderNumber must be used.
Invoice Date (DD-MMM-YY) for orders to retrieve (optional).
The Code that identifies the Location in Crunchtime.
Order Date (DD-MMM-YY) for orders to retrieve. Required if Order Number or Customer Code inputs not provided.
Order Number for order to retrieve. Required if Customer Code or Order Date inputs not provided.
Order Status (SUBMITTED [18], PICKLISTED [19], INVOICED [2], CANCELED [4], FINAL RECONCILED [3]) for orders to retrieve (optional).
Post Date (DD-MMM-YY) for orders to retrieve (optional).
Reference Number for order to retrieve (optional).
Revenue Center for transactions to retrieve (optional).
Specify 'true' to output null data elements.
Headers
Secure token for API authentication.
Password for the Crunchtime Application User.
Crunchtime site identifier. (test or production)
"User ID for the Crunchtime Application User.
Optional trace identifier for troubleshooting.
Response
Success
Example response
[
{
"customerOrderEnhancedDetailDetails": [
{
"fillQuantity": 9999.9999,
"finalReconcileQuantity": 9999.9999,
"inventoryPrice": 0.37172525,
"invoiceQuantity": 9999.9999,
"orderQuantity": 1,
"productNumber": "PRD-53275742",
"storageLocationCode": "006",
"unitPrice": 9999.9999,
"storageLocationName": "BEER COOLER"
}
],
"customerOrderEnhancedHeaderDetails": {
"cateringOrder": "N",
"customerCode": "001",
"customerName": "BS Loc 1 50% Markup",
"dailyPrepDate": "06/30/2021",
"dailyPrepDescription": "Markup",
"daypartCode": 1,
"daypartDescription": "BREAKFAST",
"entryUser": "BSUSER1",
"expectedDeliveryDate": "05/04/2019",
"finalReconcileDate": "06/30/2021",
"finalReconcileUser": "BSUSER1",
"invoiceDate": "06/30/2021",
"invoiceUser": "BSUSER1",
"locationCode": "000000",
"locationName": "(BS)-QA Loc One",
"orderDate": "06/30/2021",
"orderNumber": "PROD",
"orderStatus": "INVOICED",
"postDate": "06/30/2021",
"revenueCenterDescription": "BAR"
}
}
]