Inventory > Purchase Orders > purchaseOrdersReceive
Commerce APIInventoryPurchase OrderspurchaseOrdersReceive
purchaseOrdersReceive
POST:purchase_orders/receive.json

Description

Mark line items as received.

Permission bit: "purchase_orders.modify"

Topic: Purchase Orders

Arguments

data: PurchaseOrderReceive!

Main argument for mutations.


purchase_order_id: String!

Unique purchase order identifier. See also: Unique Identifiers

Example: "po_EQzGqWoY"


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

line_items: [PurchaseOrderLineItemPartial!]


receive_all: Boolean

Mark all items as received

Example: true


Result

PurchaseOrder

Preview (typescript)

Loading module