Skip to main content
Glama

get_all_orders

Retrieve and filter orders from BigCommerce stores using various criteria like customer ID, date ranges, order status, payment methods, and sorting options for comprehensive order management.

Instructions

Get all orders from the BigCommerce API. Can filter by customer_id to get products associated with specific customers through their order history. Store hash is automatically retrieved from environment variables.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cart_idNoFilter orders by cart ID.
channel_idNoFilter orders by channel ID.
customer_idNoFilter orders by specific customer ID to get products associated with that customer.
emailNoFilter orders by customer email address.
external_order_idNoFilter orders by external order ID.
limitNoNumber of results to return (default: 50, max: 250).
max_date_createdNoMaximum date created for filtering (ISO 8601 format, e.g., 2023-12-31T23:59:59Z).
max_date_modifiedNoMaximum date modified for filtering (ISO 8601 format, e.g., 2023-12-31T23:59:59Z).
max_idNoMaximum order ID for filtering.
max_totalNoMaximum order total amount for filtering.
min_date_createdNoMinimum date created for filtering (ISO 8601 format, e.g., 2023-01-01T00:00:00Z).
min_date_modifiedNoMinimum date modified for filtering (ISO 8601 format, e.g., 2023-01-01T00:00:00Z).
min_idNoMinimum order ID for filtering.
min_totalNoMinimum order total amount for filtering.
pageNoPage number to return (default: 1).
payment_methodNoFilter orders by payment method (e.g., credit_card, paypal, manual).
sortNoSort field and direction (e.g., date_created:desc, id:asc, total:desc).
status_idNoFilter orders by status ID (e.g., 1=Pending, 7=Awaiting Payment, 11=Awaiting Fulfillment).
store_HashNoOptional store hash. If not provided, uses BIGCOMMERCE_STORE_HASH from environment variables.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/isaacgounton/bigcommerce-api-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server