BigCommerce - Get Orders
Description
Section titled “Description”This module allows querying orders from a BigCommerce store. It can get a specific order by ID or list orders with various filters such as status, customer, date range, and totals.
Configuration
Section titled “Configuration”Required Credentials
Section titled “Required Credentials”- Store Hash: Unique hash of your BigCommerce store
- Access Token: API V2 access token
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credential | Yes | BigCommerce credentials |
| order_id | string | No | Specific order ID |
| status_id | select | No | Order status |
| customer_id | string | No | Customer ID |
| string | No | Customer email | |
| min_date_created | string | No | Minimum creation date (RFC 2822 or ISO 8601) |
| max_date_created | string | No | Maximum creation date |
| min_total | number | No | Minimum total |
| max_total | number | No | Maximum total |
| payment_method | string | No | Payment method |
| include_products | boolean | No | Include order products |
| sort | select | No | Sorting |
| limit | number | No | Result limit (default: 50) |
| page | number | No | Results page (default: 1) |
Order Statuses
Section titled “Order Statuses”| ID | Status |
|---|---|
| 0 | Incomplete |
| 1 | Pending |
| 2 | Shipped |
| 3 | Partially Shipped |
| 4 | Refunded |
| 5 | Cancelled |
| 6 | Declined |
| 7 | Awaiting Payment |
| 8 | Awaiting Pickup |
| 9 | Awaiting Shipment |
| 10 | Completed |
| 11 | On Hold |
| 12 | Disputed |
Output
Section titled “Output”{ "success": true, "orders": [...], "count": 25, "page": 1, "limit": 50, "message": "25 orders retrieved"}Order Fields
Section titled “Order Fields”id: Order IDstatus_id: Status IDstatus: Status namecustomer_id: Customer IDdate_created: Creation datetotal_inc_tax: Total with taxestotal_ex_tax: Total without taxesitems_total: Item countpayment_method: Payment methodbilling_address: Billing addressshipping_addresses: Shipping addresses
Usage Example
Section titled “Usage Example”Get order by ID
Section titled “Get order by ID”{ "order_id": "12345", "include_products": true}Pending orders
Section titled “Pending orders”{ "status_id": "1", "sort": "date_created:desc"}Customer orders
Section titled “Customer orders”{ "customer_id": "789", "limit": 100}Orders by date range
Section titled “Orders by date range”{ "min_date_created": "2024-01-01", "max_date_created": "2024-01-31", "min_total": 100}API Used
Section titled “API Used”- Endpoint:
GET /stores/{store_hash}/v2/orders - Documentation: BigCommerce Orders API
- Uses the BigCommerce V2 API for orders
- Products are fetched with an additional call if requested
- The V2 API returns a direct array (no data wrapper)
- Dates must be in RFC 2822 or ISO 8601 format
Related Nodes
Section titled “Related Nodes”- BigcommerceUpdateOrder - Update order
- BigcommerceGetCustomers - Get customers
- BigcommerceGetProducts - Get products