Customers > Customer Inventory > customerInventoryModify
Commerce APICustomersCustomer InventorycustomerInventoryModify
customerInventoryModify
POST:customer_inventory.json

Description

Modify one or multiple customer inventory items.

Permission bit: "customer_inventory.write"

Topic: Customer Inventory

Arguments

data: [CustomerInventoryModify!]!

Main argument for mutations.


ids: [String!]!

List of inventory item ids. See also: Unique Identifiers

Example: ["ii_EQzGqWoY"]


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

disabled: Boolean

Whehter item is disabled or not

Example: false


expires_at: String

Date and time when item expires

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


Result

[CustomerInventory!]

Preview (typescript)

Loading module