Retrieves information for all orders placed by the Company user.
Filter the order list using parameters. Common use cases include:
beginDateAt and endDateAt)Use Get Order Details to retrieve more detailed information about a specific order, such as product attributes, shipping method, and granular pricing.
Equivalent Storefront GraphQL API Query: allOrders. For more information, see the GraphQL Playground.
Enter a date in %m/%d/%Y format to retrieve all orders placed after that time. If the parameter is not included in the request, the resposne includes orders placed 30 days before the current date.
Enter a date in %m/%d/%Y format to retrieve all orders placed before that time. If the parameter is not included in the request, the current date is used.
Indicates whether or not extra field information is included in the response. It defaults to including extra fields if the parmeter is omitted. 0 indicates that extra fields are included, while 1 indicates that extra fields are not included.
Enter order information to return partial and exact matches. Accepted information fields include order ID, order status name, Purchase Order (PO) number, and total order value including tax.
The BigCommerce order ID. This parameter does not accept the B2B Edition order ID returned in certain Server to Server Orders endpoints.
The order’s Purchase Order (PO), if used.
Indicates whether or not to include orders placed by other buyers in the Company account. 0 indicates that only orders placed by the authenticated user are returned, while 1 indicates that orders placed by other buyers in the Company account are also included.
Note: This is only supported if you have generated a storefront authToken for a Company user in the predefined Admin or Senior Buyer role. Junior Buyers, as well as custom buyer roles, are not compatible with this parameter.
Enter the original order status name to return orders in that status. This parameter does not accept custom order status names or status codes as valid values. See Order Statuses for a complete list of accepted status names.
This parameter is not an array, but you can filter for multiple order statuses by including additional status[] parameters in the query. For example, ?status[]=Awaiting Payment&status[]=Completed.