Customers > Customer Inventory > customerInventoryCreate
POST:customer_inventory.json
Description
Create one or multiple customer inventory items.
Permission bit: "customer_inventory.modify"
Topic: Customer Inventory
Arguments
data: [CustomerInventoryCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Unique customer identifier. See also: Unique Identifiers
Example: "cu_EQzGqWoY"
Valid when: customer_id matches regexp pattern: ^cu_
A unique product variant identifier
Example: "va_EQzGqWoY"
Valid when: variant_id matches regexp pattern: ^va_
Result
Preview (typescript)
Loading module