GET:customer_inventory.json
Commerce APIGET:customer_inventory.json

GET:customer_inventory.json

Description

Get a particular inventory item or items. On customer auth, you're restricted to see items you own.

Permission bit: "customer_inventory.read"

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


loose: Boolean

When asking for multiple items, allow returning less than was asked (in case some are missing)

Example: ?loose=true


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Response Body

Array of CustomerInventory

Response Body Type

Loading module