Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

createReceivingInbound

Served by: receiving

Name Type
input CreateReceivingInboundWithItemsInput!

ReceivingInboundOutput

Creates a receiving inbound with supplier, order, data, and inline items.

mutation CreateReceivingInbound($input: CreateReceivingInboundWithItemsInput!) {
createReceivingInbound(input: $input) {
eventCount
receivingInbound {
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
id
orderID
supplierID
tenantID
updatedAt
updatedBy
}
transactionID
}
}

Variables

{
"input": {
"data": {
"receivedBy": "dock-3",
"warehouse": "WH-A"
},
"inboundItems": [
{
"quantity": 50,
"sku": "RECV-SKU-001"
},
{
"quantity": 25,
"sku": "RECV-SKU-002"
}
],
"orderID": "PO-2026-001",
"supplierID": "<supplier ID>"
}
}