Inventory > Purchase Orders > purchaseOrdersDelete
Commerce APIInventoryPurchase OrderspurchaseOrdersDelete
purchaseOrdersDelete
DELETE:purchase_orders.json

Description

Delete draft purchase orders.

Permission bit: "purchase_orders.delete"

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

Boolean

Preview (typescript)

Loading module