Documentation Index
Fetch the complete documentation index at: https://docs.sibipro.com/llms.txt
Use this file to discover all available pages before exploring further.
OrderingQuery.orders()
Input
after (optional)
String - A cursor value used for pagination. When provided, the query returns orders after the specified cursor. To paginate through results, use the cursor value from the last edge of the previous response.
Example:
Response
OrderingOrdersConnection
OrderingOrdersConnection - A connection object containing a list of orders.
OrderingOrdersConnection
edges
OrderingOrdersEdge[] - An array of edges, each containing an order node.
OrderingOrdersEdge
node
OrderingOrder - The order object containing all order details.
cursor
String - A unique cursor value for this edge. Use this value as the after parameter in subsequent queries to fetch the next page of results.
Pagination
Theorders query uses cursor-based pagination, allowing you to efficiently paginate through large sets of orders. Each edge in the response includes a cursor field that can be used to fetch the next set of results.
How It Works
- Make an initial query without the
afterparameter to get the first page of results - Extract the
cursorvalue from the last edge in the response - Use that
cursoras theafterparameter in your next query to fetch the next page - Repeat until you’ve retrieved all the orders you need