List Orders
URL : /api/v1/orders/
Method : GET
Query parameters
Ordering
order_by- Which attribute to order the list by.default ordering is ascending, can be made descending by prefixing the attribute name with
-Example:
order_by=created_atExample:
order_by=-created_at
Pagination
Default pagination is 20 results per page.
limit- Number of results to return per page.Example:
limit=20
offset- The initial index from which to return the results.Example:
offset=21
Filtering
The results can be filtered by various attributes on order or related to the order.
If available, additional suffixes can be appended to attributes which further define the filter:
__startswith- string value is a starting substring of the attribute__icontains- string value is a substring of the attribute (case insensitive)
Possible filters:
store_idstore_id__startswithstore_id__icontainscustomer__emailcustomer__email__startswithcustomer__email__icontainscompanycustomer_idcustomer_emailcustomer_company_namecustomer_company_name__icontainscustomer_reference__icontainscustomer_name__icontainscustomer_label__incustomer__accountcustomer__account__namecustomer__account__name__icontainscustomer__account__codecustomer__account__code__icontainscustomer__account__descriptioncustomer__account__description__icontainscustomer__account__phonecustomer__account__phone__icontainscustomer__account__addresscustomer__account__address__icontainscustomer__account__emailcustomer__account__email__icontainscustomer__account__referencecustomer__account__reference__icontainscustomer__account__not
Success Response
Code : 200 OK
Content examples :
Last updated
Was this helpful?