Picking Order Items

pickingOrderItems Query

Audience: Programmers

Returns a paginated list of PickingOrderItem objects, with optional filtering and ordering. This query allows you to retrieve individual line items from picking orders across the system.

Arguments

Name
Type
Description

after

Cursor

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

first

Int

Returns the first n elements from the list

before

Cursor

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

last

Int

Returns the last n elements from the list

orderBy

PickingOrderItemOrder

Ordering options for PickingOrderItems returned from the connection

where

PickingOrderItemWhereInput

Filtering options for PickingOrderItems returned from the connection

Return Type

PickingOrderItemConnection! - A connection to a list of PickingOrderItem objects with pagination information.

Fields Available

The PickingOrderItem type includes:

Field
Type
Description

id

ID!

Unique identifier for the order item

tenantID

UUID!

Tenant identifier

orderID

ID!

ID of the associated picking order

quantity

Int!

Quantity of the item to be picked

sku

String!

Stock keeping unit identifier

dataTypeID

UUID

Optional data type ID for custom validation

dataTypeSlug

String

Optional data type slug for custom validation

data

Map

Custom data associated with the order item as JSON

createdAt

Time!

When the order item was created

createdBy

UUID!

User who created the order item

updatedAt

Time

When the order item was last updated

updatedBy

UUID

User who last updated the order item

deletedAt

Time

Soft deletion timestamp

deletedBy

UUID

User who deleted the order item

order

PickingOrder!

The associated picking order

Notes

  • The data field contains custom item attributes as JSON

  • You can use the Data, DataHasKey, DataIn, and DataContains filters to query based on JSON content

  • The sku field is federated and can be used to resolve inventory item details from other services

  • Each order item is linked to exactly one picking order via the orderID field

Usage Example

Basic Query

Query with JSON Field Filtering

JavaScript Example

Last updated

Was this helpful?