Skip to main content

supplyOrders

Retrieves a paginated list of supply orders with comprehensive filtering and sorting capabilities.

This query allows you to fetch supply orders across different types (manufacturing, assembly, procurement) with advanced filtering options including keyword search, date ranges, status filters, and location-based filtering.

Permissions​

Requires supply:read_orders permission. Users can only access orders for brands they have access to.

supplyOrders(
after: String
before: String
filters: SupplyOrdersFilterInput
first: Int
last: Int
sortField: SupplyOrderSortFieldEnum = CREATED_AT
sortOrder: SortTypeEnum = DESC
): SupplyOrderConnection!

Arguments​

supplyOrders.after ● String scalar common​

Returns the elements in the list that come after the specified cursor.

supplyOrders.before ● String scalar common​

Returns the elements in the list that come before the specified cursor.

supplyOrders.filters ● SupplyOrdersFilterInput input orders​

Filter criteria to narrow down supply order results

supplyOrders.first ● Int scalar common​

Returns the first _n_ elements from the list.

supplyOrders.last ● Int scalar common​

Returns the last _n_ elements from the list.

supplyOrders.sortField ● SupplyOrderSortFieldEnum enum orders​

Field to sort supply orders by (defaults to created_at)

supplyOrders.sortOrder ● SortTypeEnum enum common​

Sort direction - ASC for ascending, DESC for descending (defaults to DESC)

Type​

SupplyOrderConnection object common​

The connection type for SupplyOrder.