Store Orders
ListStoreOrders Query
This query retrieves a list of orders for a specific store with pagination and filtering capabilities. It provides comprehensive information about each order including customer data, payment details, shipping status, and product information.
Parameters​
$storeId: ID!- Required store identifier for retrieving orders$connection: OrdersConnectionInput- Pagination and sorting parameters:first: Number of items to retrieve (e.g., 20)offset: Starting position in the result setsortBy: Field to sort by (e.g., "createdAt")sortOrder: Order direction ("asc" or "desc")
$filter: OrdersFilterInput- Filter criteria for narrowing results:isArchived: Filter by archive statusdate: Date range withfromandtotimestamps- Additional filters for status, payment method, etc.
Response Structure​
The query returns an orders object with:
totalCount- Total number of orders matching the filter criterianodes- Array of order objects containing detailed order information__typename- GraphQL type information ("OrderConnection")
Order Fields Detail​
Each order in the nodes array includes:
Basic Information​
id- Unique order identifierstoreId- Store this order belongs toorderSerial- Human-readable order numbercreatedAt- Order creation timestamp
Status Information​
isArchived- Whether the order has been archivedisCanceled- Whether the order has been canceledisViewed- Whether the order has been viewed by merchantfulfillmentStatus- Current fulfillment statuspaymentStatus- Current payment status
Shipping Information​
shippingStatus- Current shipping statuswuiltShipmentProvider- Shipping provider usedshippingAddress- Complete delivery address (see Address fragment)shippingRateCost- Cost of shipping (see Money fragment)shipmentDetails- Additional shipping information:trackingURL- URL to track the shipmentshippedWith- Shipping carrierairWayBill- Air waybill numberorderTrackingNumber- Tracking numbertrials- Number of shipping attempts
Return Information​
returnShipmentDetails- Information about returned orders:shippingStatus- Status of the return shipmentorderTrackingNumber- Return tracking number
Customer Information​
customer- Customer details (see GuestInfo fragment):name- Customer's full nameemail- Customer's email addressphone- Customer's phone numberisSubscribedToNewsLetter- Newsletter subscription status
customerId- Unique customer identifier
Payment Information​
paymentIntent- Payment processing details:provider- Payment processing servicepaymentProvider- Specific payment method
cod- Cash on delivery information:amount- COD amount with currency
Order Items​
items- Products in the order:id- Item identifierquantity- Number of items orderedtitle- Item title/nameproductSnapshot- Product details at time of order:id,title,type- Basic product infoimages- Product images (see Image fragment)
- For SimpleItem types:
variantSnapshot- Variant detailsselectedOptions- Options chosen by customer
Financial Details​
receipt(OrderReceipt fragment):subtotal- Pre-tax, pre-discount amountdiscount- Applied discountstax- Applied taxesshipping- Shipping coststotal- Final order amountautomaticDiscount- System-applied discounts
Packaging Details​
packagingDetails- Information about package dimensions/weight:extraWeight- Additional weight beyond baseextraVolumetricWeight- Additional volumetric weightshippingCostDetails- Cost calculation factors:baseCost- Base shipping costextraWeightCost- Cost for additional weightbaseWeightLimit- Weight included in base costextraWeightStep- Weight increment for chargesinsurancePercentage- Insurance cost as percentage
Tagging​
tags- Order tags for organization/filtering (see OrderTag fragment):id- Tag identifiername- Tag namecolor- Tag color codedescription- Tag description
Fragments Used​
GuestInfo- Customer contact information and preferencesMoney- Monetary amount with currency codeOrderTag- Order categorization and labeling metadataAddress- Complete shipping address with area informationOrderReceipt- Detailed financial breakdown of the orderImage- Product image information including source URL and dimensions
GraphQL Endpoint​
https://graphql.wuilt.com
Operation: ListStoreOrders​
Try It Out​
Query​
Query Variables
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Note: Make sure to change the storeId with your store ID. For guidance on how to get your store ID, reference the Store ID guide.
Authentication​
To use this query, you will need an API key. Click the "API Key" button in the navigation bar to enter your credentials.