Big Commerce API: Fetch Orders with criteria

The below API can be used to retrieve the orders from Big commerce based on the order status and date.

https://api.bigcommerce.com/stores/{storehash}/v2/orders?status_id={statusId}&min_date_modified={minDate}&max_date_modified={maxDate}

{storehash} is the value generated on setting API in account.
statusId is the Id for order status that are used for statuses such as shipped, completed, pending etc.
minDate is the minimum date filter.
maxDate is the maximum date filter.

The response will be Array of JSON body with order details satisfying the conditions.

Sample API request:

https://api.bigcommerce.com/stores/fghcdfyx/v2/orders?status_id=5&min_date_modified=2022-05-01T00:00:00-00:00&max_date_modified=2022-05-04T23:59:59-00:00

Leave a comment

Your email address will not be published. Required fields are marked *