searchTerm uses the following fields to evaluate a free text query:
OrderId, Account Name, Account Number, Driver Name, Driver Number, Recurrence Name, Template Name, Reference Number 1, Reference Number 2, Reference Number 3, Pickup Address, Pickup Company, Delivery Address, Delivery Company, Barcodes.
The filters of the filters array are combined with And. secondaryFilter is an optional second condition on a filter, combined with it by logic (Or or 1).
The fields and operators you can filter on are listed by GET api/v1/search/orders. Set pageSize to 20 or less: each order takes about 2,000 characters, and the default of 50 returns about 100,000.
Status: 0 Received, 1 Assigned, 2 PickedUp, 4 Delivered, 91 Cancelled. Filter on it by name (Status IsEqualTo Delivered); to count the orders in a status, use a pageSize of 1 and read totalCount.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
403Not authorized to use this Endpoint
500An error occurred when trying to search for the orders
