List Orders
This document provides instructions for getting the list of all orders
GET orders API allows retrieval of existing order documents from the OMS. Supports flexible filtering options to fetch orders based on specific criteria such as partyId
or statusId
.
Additionally, the API supports sorting functionality. By utilizing the sortBy
and sortOrder
parameters in the URL, data can be arranged based on fields like grandTotal
in either ascending or descending order.
Request
End Point https://<instance.name>.hotwax.io/api/<publish_point>/orders
Example: https://demo-oms.hotwax.io/api/<publish_point>/orders
Headers
Request Format
Parameter Table
Parameter | Description |
---|---|
| Index of the view in pagination. |
| Number of records to fetch per page. |
| Filters to apply for querying specific orders. |
Filters Usage
Filters allow users to query orders based on various fields. The structure of the filter includes:
Field
: The field to filter by (e.g., externalId, partyId, statusId). Field_op
: Operator used for the filter condition (e.g., equals, like, etc.). Field_ic
: Ignore case flag (Y for yes, N for no).
Example
This example will fetch all the orders where externalId is 10025, with case-insensitive matching (ignore case set to Y).
Response
Status Code
HTTP/1.1 200 OK
Headers
Content-Type: application/json
Body
Parameter Table
Parameter | Description |
---|---|
| Unique identifier of the order. |
| External identifier of the order. |
| Name or identifier of the order. |
| Sales channel through which the order was placed. |
| Description of the sales channel. |
| ID of the customer associated with the order. |
| External ID of the customer. |
| Name of the customer. |
| Priority level of the order. |
| Date and time when the order was created. |
| Date and time when the order was entered into the system. |
| Date and time when the order expires. |
| ID indicating the current status of the order. |
| Description of the current status of the order. |
| ID of the product store associated with the order. |
| Name of the product store. |
| ID of the website associated with the order. |
| Name of the website. |
| Currency code used for the order. |
| Description of the currency used. |
| Remaining subtotal amount of the order. |
| Total amount of the order. |
| Tags associated with the order. |
| Additional notes or comments related to the order. |
| Contact information associated with the order (e.g., email). |
| Array of identification details associated with the order (e.g., marketplaces, order IDs). |
| Array containing shipping group details for the order. |
| Adjustments made to the order (e.g., shipping charges). |
| Payment preferences for the order (e.g., payment method, status). |
| Billing details for the order (e.g., postal address, email, phone). |
| Originating entity details for the order (e.g., company name, address, email, phone). |
Last updated