Goods receipts
Use goods receipt operations when a merchant integration needs to receive products into a warehouse and connect the receipt to supplier orders.
Available operations
- List goods receipts with goodsReceipts.
- List goods receipt line items with goodsReceiptLineItems.
- Create a goods receipt with createGoodsReceipt.
- Approve a captured goods receipt with approveGoodsReceipt.
- Complete a goods receipt with completeGoodsReceipt.
- Delete a goods receipt that is still deletable with deleteGoodsReceipt.
Example: create a goods receipt
mutation CreateGoodsReceipt($input: CreateGoodsReceiptInput!) {
createGoodsReceipt(input: $input) {
id
number
state
warehouse {
code
}
}
}
Pass supplierOrderIds when the receipt should be associated with existing supplier orders. Line items can reference products and supplier orders.
Required scopes
Use goods_receipts:read for reads and goods_receipts:write for mutations.