Inventory > Inventory Rules > inventoryRulesDelete
Commerce APIInventoryInventory RulesinventoryRulesDelete
inventoryRulesDelete
DELETE:inventory_rules.json

Description

Delete specific inventory rules of a given shop.

Permission bit: "inventory_rules.delete"

Topic: Inventory Rules

Arguments

ids: [String!]!

List of inventory rule ids. See also: Unique Identifiers

Example: ["ir_EQzGqWoY"]


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

Boolean

Preview (typescript)

Loading module