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
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:
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
datafield contains custom item attributes as JSONYou can use the
Data,DataHasKey,DataIn, andDataContainsfilters to query based on JSON contentThe
skufield is federated and can be used to resolve inventory item details from other servicesEach order item is linked to exactly one picking order via the
orderIDfield
Usage Example
Basic Query
Query with JSON Field Filtering
JavaScript Example
Related Queries
pickingOrders - Query complete picking orders
nodePicking - Retrieve specific picking objects by ID
Related Mutations
createPickingOrderItem - Create a new picking order item
updatePickingOrderItem - Update an existing picking order item
deletePickingOrderItem - Delete a picking order item
Last updated
Was this helpful?
