Search > Search > suggestCustomerInventory
Commerce APISearchSearchsuggestCustomerInventory

suggestCustomerInventory

POST:suggest/customer_inventory.json

Description

Perform a customer inventory item suggest query.

This endpoint is useful for customer inventory autocompletion UI widgets and is optimized to work in situations alike.

Permission bit: "customer_inventory.search"

Topic: Search

Arguments

data: Query!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


type: CustomerInventoryTypeFilter

Filter output by customer inventory item type

Data Argument Fields

query: String

Search query string

Example: "fancy shoes"

Result

CustomerInventoryExpandableItems

Preview

Loading module