Search
Search Items
Search for items in a store.
POST
Headers
Your API key for authorization.
Body Parameters
The search query provided by your LLM tool call.
The ID of the store to search in.
The ID of the user performing the search.
Minimum price filter for the search results. Must be at least 1.
Maximum price filter for the search results. Must be at least 1.
Response
An array of product details, each containing:
id
: The unique identifier of the product.title
: The product title.description
: The product description.product_type
: The type/category of the product.tags
: Array of tags associated with the product.options
: Available product options.images
: Array of product images.variants
: Array of product variants, each containing:id
: The variant ID.title
: The variant title.price
: The variant price.
A code indicating the result of the search operation. Possible values:
SEARCH_SUCCESS
: Search completed successfully with resultsNO_RESULTS_FOUND
: Search completed but no results foundAUTH_MISSING
: No API key providedINVALID_KEY
: Invalid API keyBAD_REQUEST_ERROR
: Invalid request parametersSTORE_NOT_FOUND
: Store ID not foundFORBIDDEN
: Not authorized to access storeINTERNAL_ERROR
: Server error occurred
Error message if the request fails.
Additional details about the error if the request fails.