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

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

supplyOrders.before ● String scalar

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

supplyOrders.filters ● SupplyOrdersFilterInput input

Filter criteria to narrow down supply order results

supplyOrders.first ● Int scalar

Returns the first _n_ elements from the list.

supplyOrders.last ● Int scalar

Returns the last _n_ elements from the list.

supplyOrders.sortField ● SupplyOrderSortFieldEnum enum

Field to sort supply orders by (defaults to created_at)

supplyOrders.sortOrder ● SortTypeEnum enum

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

Type

SupplyOrderConnection object

The connection type for SupplyOrder.