For AI agents: visit https://stockpit.readme.io/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
If the shipping order has batch numbers, are they all allocated
Sorting
You can sort data based on following fields : id, label, notes, total_units, status, dated_at, created_at, shipping_at, shipped, order_number, customer_id
Example of a query
query ShippingOrders($search: String, $orderBy: [QueryShippingOrdersOrderByOrderByClause!] = [{column: DATED_AT, order: DESC}, {column: CREATED_AT, order: DESC}], $where: QueryShippingOrdersWhereWhereConditions, $first: Int = 50, $page: Int) {
ShippingOrders(
search: $search
orderBy: $orderBy
where: $where
first: $first
page: $page
) {
paginatorInfo {
total
count
currentPage
perPage
}
data {
id
label
order {
id
label
customer {
id
label
}
}
dated_at
shipping_at
total_units
status
}
}
}