Customers > Customer Inventory > customerInventory
Commerce APICustomersCustomer InventorycustomerInventory
customerInventory
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

Arguments

ids: [String!]!

List of inventory item ids. See also: Unique Identifiers

Example: ["ii_EQzGqWoY"]


loose: Boolean

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


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

[CustomerInventory!]

Preview (typescript)

Loading module