Inventory > Inventory Rules > inventoryRulesGraphCreate
Commerce APIInventoryInventory RulesinventoryRulesGraphCreate
inventoryRulesGraphCreate
POST:inventory_rules/graph.json

Description

Create or modify inventory rules graph.

Permission bit: "inventory_rules.modify"

Topic: Inventory Rules

Arguments

data: InventoryRulesGraphCreate!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

components: String

Graph data (custom JSON format)

Example: "{}"


Result

InventoryRulesGraph

Preview (typescript)

Loading module