List device orders by organization
Returns a list of device orders for a single organization. Use filters to limit results. Include the exportFormat query parameter to return the results as a file instead of a JSON response.
This endpoint requires the deviceorder_read permission.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Long-lived API token sent in the requestToken header. See API token authentication.
Path parameters
Query parameters
Max number of records to return for the query. Use 0 or negative value to return all records.
Collection of field names, conditions, and values used to filter the query.
You must remove parameters= from the request before you send it, otherwise Payabli will ignore the filters.
Because of a technical limitation, you can’t make a request that includes filters from the API console on this page. The response won’t be filtered. Instead, copy the request, remove parameters= and run the request in a different client, for example:
should become:
See Filters and Conditions Reference for more information.
Accepted field names:
-
status(eq, ne, ct, nct, in, nin) -
paymentStatus(eq, ne, ct, nct, in, nin) -
orderNumber(eq, ne, ct, nct, in, nin) -
organizationId(eq, ne, gt, ge, lt, le, in, nin) -
paypointId(eq, ne, gt, ge, lt, le, in, nin) -
organizationName(eq, ne, ct, nct, in, nin) -
paypointName(eq, ne, ct, nct, in, nin) -
entryName(eq, ne, ct, nct, in, nin) -
trackingNumber(eq, ne, ct, nct, in, nin) -
orderDate(gt, ge, lt, le, eq, ne) -
deliveredAt(gt, ge, lt, le, eq, ne) -
total(eq, ne, gt, ge, lt, le, in, nin)
Accepted comparison operators:
-
eqor empty => equal -
gt=> greater than -
ge=> greater or equal -
lt=> less than -
le=> less or equal -
ne=> not equal -
ct=> contains -
nct=> not contains -
in=> inside array -
nin=> not inside array
The field name to use for sorting results. Use desc(field_name) to sort descending by field_name, and use asc(field_name) to sort ascending by field_name. Defaults to desc(orderDate), newest orders first.