PickingOrder
PickingOrder Type
Last updated
Was this helpful?
PickingOrder Type
Last updated
Was this helpful?
Was this helpful?
query {
pickingOrders(
first: 10,
orderBy: { direction: DESC, field: CREATED_AT }
) {
edges {
node {
id
customerID
data
orderitems {
sku
quantity
item {
data
}
}
createdAt
}
}
}
}mutation {
createPickingOrder(
input: {
customerID: "550e8400-e29b-41d4-a716-446655440000",
data: {
"order_number": "PO-12345",
"priority": "high",
"delivery_address": {
"street": "123 Main St",
"city": "Springfield",
"postalCode": "12345",
"country": "US"
},
"notes": "Handle with care"
},
orderItems: [
{
sku: "ITEM-123",
quantity: 5,
data: {
"notes": "Gift wrapped"
}
},
{
sku: "ITEM-456",
quantity: 2
}
]
}
) {
pickingOrder {
id
data
orderitems {
id
sku
quantity
}
}
}
}