Inventory > Purchase Orders > purchaseOrdersClose
Commerce APIInventoryPurchase OrderspurchaseOrdersClose
purchaseOrdersClose
POST:purchase_orders/close.json

Description

Close purchase order.

Permission bit: "purchase_orders.modify"

Topic: Purchase Orders

Arguments

ids: [String!]

List of purchase order ids. See also: Unique Identifiers

Example: ["po_EQzGqWoY"]


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

[PurchaseOrder!]

Preview (typescript)

Loading module