POST:customer_inventory.json
Commerce APIPOST:customer_inventory.json

POST:customer_inventory.json

Description

Modify one or multiple customer inventory items.

Permission bit: "customer_inventory.write"

Topic: Customer Inventory

Query Parameters

ids: Comma-separated array of String, required

List of inventory item ids. See also: Unique Identifiers

Example: ?ids=ii_EQzGqWoY,ii_EQzGqWoY


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of CustomerInventoryModify

[
  {
    "disabled": false,
    "expires_at": "2014-09-04T12:23:34Z"
  }
]

Response Body

Array of CustomerInventory

Response Body Type

Loading module