Your API key for authorization.
Body Parameters
The text search query. e.g. “beach gear for miami”
Intended to be a reference or inspiration for the text query.
Image search is only available on Pro plans and above.
Optional ID of a profile to influence search results in a personalized way and provide checkout URLs with shipping forms pre-filled with the profile’s attached shipping address.
The ID of the store to search in.
The domain of the store to search in.
Weight to apply to the query which represents the text, image, or both (0-1).
When using a style profile, defaults to 0.7.
Weight to apply to the style profile (0-1). Only applies if profile_id is provided and the profile has a style attached.
Minimum similarity threshold for matching products (0-1).
Maximum number of results to return.
Array of variant IDs to exclude from results.
Minimum price filter for the search results.
Maximum price filter for the search results.
Response
An array of product details, each containing: The unique identifier of the product.
The type/category of the product.
Available product options, each containing: The name of the option (e.g., “Size”).
Array of possible values for this option (e.g., [“S”, “M”, “L”, “XL”]).
Array of product variants, each containing: Whether the variant is available.
Direct URL to go to the variant’s checkout form with quantity 1.
checkout_url_with_shipping
Direct URL to go to the variant’s checkout form with quantity 1 and shipping address pre-filled. Only applies if profile_id is provided and the profile has a shipping address attached.
Array of product IDs returned in the results.
A code indicating the result of the search operation. Possible values:
SEARCH_SUCCESS
: Search completed successfully with results
NO_RESULTS_FOUND
: Search completed but no results found
INVALID_REQUEST
: Invalid request parameters
STORE_NOT_FOUND
: Store ID or brand not found
PROFILE_NOT_FOUND
: Profile ID not found
INTERNAL_ERROR
: Server error occurred
Error message if the request fails.
Additional details about the error if the request fails.
{
"results" : [
{
"id" : "7924157309120" ,
"title" : "Classic Cotton T-Shirt" ,
"handle" : "classic-cotton-t-shirt" ,
"description" : "A comfortable everyday essential made from 100% organic cotton" ,
"product_type" : "t-shirt" ,
"images" : [
"https://cdn.shopify.com/s/files/1/0680/5936/5568/files/tshirt_black_front.jpg" ,
"https://cdn.shopify.com/s/files/1/0680/5936/5568/files/tshirt_black_back.jpg"
],
"options" : [
{
"name" : "Size" ,
"values" : [
"S" , "M" , "L" , "XL"
]
},
{
"name" : "Color" ,
"values" : [
"Black" , "White" , "Navy"
]
}
],
"variants" : [
{
"id" : 46002863112384 ,
"title" : "S / Black" ,
"option1" : "S" ,
"option2" : "Black" ,
"option3" : null ,
"price" : "29.95" ,
"available" : true ,
"checkout_url" : "https://fashion-store.com/cart/46002863112384:1" ,
"checkout_url_with_shipping" : "https://fashion-store.com/cart/46002863112384:1?checkout[email]=user@example.com&checkout[shipping_address][first_name]=John&checkout[shipping_address][last_name]=Doe&checkout[shipping_address][address1]=123 Main St&checkout[shipping_address][city]=New York&checkout[shipping_address][province]=NY&checkout[shipping_address][country]=US&checkout[shipping_address][zip]=10001"
}
],
"store_id" : "store456" ,
"store_name" : "Fashion Store" ,
"store_domain" : "fashion-store.com"
}
],
"product_ids" : [ "7924157309120" ],
"code" : "SEARCH_SUCCESS"
}