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.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Buybase","colors":{"primary":"#323232","light":"#FFFEF9"},"logo":{"light":"https://mintcdn.com/buybase/UNoityZDiLRQhjfL/logo/buybase-dark.svg?fit=max\u0026auto=format\u0026n=UNoityZDiLRQhjfL\u0026q=85\u0026s=546eea4bc195df87af2f9e7dde8c5283","dark":"https://mintcdn.com/buybase/UNoityZDiLRQhjfL/logo/buybase-light.svg?fit=max\u0026auto=format\u0026n=UNoityZDiLRQhjfL\u0026q=85\u0026s=efe0f5a7f735761236b5d3fffd085ad6"},"favicon":"/favicon.svg","api":{"mdx":{"server":"https://api.buybase.ai"}},"appearance":{"default":"light","strict":true},"background":{"color":{"light":"#ffffff"}},"navbar":{"links":[{"label":"Community","href":"https://discord.gg/9EXhpj7nDZ"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.buybase.ai"}},"footer":{"socials":{"x":"https://x.com/buybaseai","linkedin":"https://linkedin.com/company/buybaseai"}},"fonts":{"heading":{"family":"Geist"},"body":{"family":"Geist"}},"icons":{"library":"lucide"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"buybase","hasAudioNarration":false,"actualSubdomain":"buybase","customDomains":["docs.buybase.ai"],"gitSource":{"type":"github","owner":"buybaseai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae923e7abb6d0c12b81b20e:success","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API","count":12},{"language":"default","tag":"Docs","count":5},{"language":"default","tag":"Shipping Addresses","count":4},{"language":"default","tag":"Styles","count":4},{"language":"default","tag":"Profiles","count":3},{"language":"default","tag":"Reference","count":3},{"language":"default","tag":"Changelog","count":2},{"language":"default","tag":"General","count":2},{"language":"default","tag":"Search","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/search/post","slug":"/api-reference/search/post","pageMetadata":{"title":"Search","description":"Discover tailored product recommendations from our extensive database of millions of online products from thousands of Shopify stores.","api":"POST /search/products","href":"/api-reference/search/post"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Discover tailored product recommendations from our extensive database of millions of online products from thousands of Shopify stores.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsx(_components.p,{children:`Your API key for authorization.`})}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`query`,type:`object`,required:true,id:`param-query`,children:_jsxs(Expandable,{title:`Query object`,children:[_jsx(ParamField,{body:`text`,type:`string`,required:true,id:`param-text`,children:_jsx(_components.p,{children:`The text search query. e.g. “beach gear for miami”`})}),_jsx(ParamField,{body:`image_url`,type:`string`,id:`param-image-url`,children:_jsxs(_components.p,{children:[`Intended to be a reference or inspiration for the text query.\n`,_jsx(Note,{children:`Image search is only available on Pro plans and above.`})]})})]})}),`\n`,_jsx(ParamField,{body:`profile_id`,type:`string`,id:`param-profile-id`,children:_jsx(_components.p,{children:`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.`})}),`\n`,_jsx(ParamField,{body:`store_id`,type:`string`,id:`param-store-id`,children:_jsx(_components.p,{children:`The ID of the store to search in.`})}),`\n`,_jsx(ParamField,{body:`store_domain`,type:`string`,id:`param-store-domain`,children:_jsx(_components.p,{children:`The domain of the store to search in.`})}),`\n`,_jsx(ParamField,{body:`query_weight`,type:`number`,default:`1`,id:`param-query-weight`,children:_jsxs(_components.p,{children:[`Weight to apply to the query which represents the text, image, or both (0-1).\n`,_jsx(Note,{children:`When using a style profile, defaults to 0.7.`})]})}),`\n`,_jsxs(ParamField,{body:`style_weight`,type:`number`,default:`0.3`,id:`param-style-weight`,children:[_jsx(_components.p,{children:`Weight to apply to the style profile (0-1).`}),_jsx(Note,{children:_jsx(_components.p,{children:`Only applies if profile_id is provided and the profile has a style attached.`})})]}),`\n`,_jsx(ParamField,{body:`similarity_threshold`,type:`number`,default:`0.25`,id:`param-similarity-threshold`,children:_jsx(_components.p,{children:`Minimum similarity threshold for matching products (0-1).`})}),`\n`,_jsx(ParamField,{body:`max_result_count`,type:`integer`,default:`2`,id:`param-max-result-count`,children:_jsx(_components.p,{children:`Maximum number of results to return.`})}),`\n`,_jsx(ParamField,{body:`exclude_variant_ids`,type:`array`,id:`param-exclude-variant-ids`,children:_jsx(_components.p,{children:`Array of variant IDs to exclude from results.`})}),`\n`,_jsx(ParamField,{body:`price_min`,type:`number`,id:`param-price-min`,children:_jsx(_components.p,{children:`Minimum price filter for the search results.`})}),`\n`,_jsx(ParamField,{body:`price_max`,type:`number`,id:`param-price-max`,children:_jsx(_components.p,{children:`Maximum price filter for the search results.`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`results`,type:`array`,id:`param-results`,children:[_jsx(_components.p,{children:`An array of product details, each containing:`}),_jsxs(Expandable,{title:`Product details`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The unique identifier of the product.`})}),_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`The product title.`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`The product description.`})}),_jsx(ResponseField,{name:`product_type`,type:`string`,id:`param-product-type`,children:_jsx(_components.p,{children:`The type/category of the product.`})}),_jsxs(ResponseField,{name:`options`,type:`array`,id:`param-options`,children:[_jsx(_components.p,{children:`Available product options, each containing:`}),_jsxs(Expandable,{title:`Option details`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the option (e.g., “Size”).`})}),_jsx(ResponseField,{name:`values`,type:`array`,id:`param-values`,children:_jsx(_components.p,{children:`Array of possible values for this option (e.g., [“S”, “M”, “L”, “XL”]).`})})]})]}),_jsx(ResponseField,{name:`images`,type:`array`,id:`param-images`,children:_jsx(_components.p,{children:`Array of product images.`})}),_jsxs(ResponseField,{name:`variants`,type:`array`,id:`param-variants`,children:[_jsx(_components.p,{children:`Array of product variants, each containing:`}),_jsxs(Expandable,{title:`Variant details`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`The variant ID.`})}),_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title-1`,children:_jsx(_components.p,{children:`The variant title.`})}),_jsx(ResponseField,{name:`price`,type:`number`,id:`param-price`,children:_jsx(_components.p,{children:`The variant price.`})}),_jsx(ResponseField,{name:`available`,type:`boolean`,id:`param-available`,children:_jsx(_components.p,{children:`Whether the variant is available.`})}),_jsx(ResponseField,{name:`checkout_url`,type:`string`,id:`param-checkout-url`,children:_jsx(_components.p,{children:`Direct URL to go to the variant’s checkout form with quantity 1.`})}),_jsxs(ResponseField,{name:`checkout_url_with_shipping`,type:`string`,id:`param-checkout-url-with-shipping`,children:[_jsx(_components.p,{children:`Direct URL to go to the variant’s checkout form with quantity 1 and shipping address pre-filled.`}),_jsx(Note,{children:_jsx(_components.p,{children:`Only applies if profile_id is provided and the profile has a shipping address attached.`})})]})]})]}),_jsx(ResponseField,{name:`store_id`,type:`string`,id:`param-store-id-1`,children:_jsx(_components.p,{children:`ID of the store.`})}),_jsx(ResponseField,{name:`store_name`,type:`string`,id:`param-store-name`,children:_jsx(_components.p,{children:`Name of the store.`})}),_jsx(ResponseField,{name:`store_domain`,type:`string`,id:`param-store-domain-1`,children:_jsx(_components.p,{children:`Domain of the store.`})})]})]}),`\n`,_jsx(ResponseField,{name:`product_ids`,type:`array`,id:`param-product-ids`,children:_jsx(_components.p,{children:`Array of product IDs returned in the results.`})}),`\n`,_jsxs(ResponseField,{name:`code`,type:`string`,id:`param-code`,children:[_jsx(_components.p,{children:`A code indicating the result of the search operation. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SEARCH_SUCCESS`}),`: Search completed successfully with results`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NO_RESULTS_FOUND`}),`: Search completed but no results found`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INVALID_REQUEST`}),`: Invalid request parameters`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`STORE_NOT_FOUND`}),`: Store ID or brand not found`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PROFILE_NOT_FOUND`}),`: Profile ID not found`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INTERNAL_ERROR`}),`: Server error occurred`]}),`\n`]})]}),`\n`,_jsx(ResponseField,{name:`error`,type:`string`,id:`param-error`,children:_jsx(_components.p,{children:`Error message if the request fails.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Additional details about the error if the request fails.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Search","description":"Discover tailored product recommendations from our extensive database of millions of online products from thousands of Shopify stores.","api":"POST /search/products","href":"/api-reference/search/post"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsx(_components.p,{children:`Your API key for authorization.`})}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`query`,type:`object`,required:true,id:`param-query`,children:_jsxs(Expandable,{title:`Query object`,children:[_jsx(ParamField,{body:`text`,type:`string`,required:true,id:`param-text`,children:_jsx(_components.p,{children:`The text search query. e.g. “beach gear for miami”`})}),_jsx(ParamField,{body:`image_url`,type:`string`,id:`param-image-url`,children:_jsxs(_components.p,{children:[`Intended to be a reference or inspiration for the text query.\n`,_jsx(Note,{children:`Image search is only available on Pro plans and above.`})]})})]})}),`\n`,_jsx(ParamField,{body:`profile_id`,type:`string`,id:`param-profile-id`,children:_jsx(_components.p,{children:`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.`})}),`\n`,_jsx(ParamField,{body:`store_id`,type:`string`,id:`param-store-id`,children:_jsx(_components.p,{children:`The ID of the store to search in.`})}),`\n`,_jsx(ParamField,{body:`store_domain`,type:`string`,id:`param-store-domain`,children:_jsx(_components.p,{children:`The domain of the store to search in.`})}),`\n`,_jsx(ParamField,{body:`query_weight`,type:`number`,default:`1`,id:`param-query-weight`,children:_jsxs(_components.p,{children:[`Weight to apply to the query which represents the text, image, or both (0-1).\n`,_jsx(Note,{children:`When using a style profile, defaults to 0.7.`})]})}),`\n`,_jsxs(ParamField,{body:`style_weight`,type:`number`,default:`0.3`,id:`param-style-weight`,children:[_jsx(_components.p,{children:`Weight to apply to the style profile (0-1).`}),_jsx(Note,{children:_jsx(_components.p,{children:`Only applies if profile_id is provided and the profile has a style attached.`})})]}),`\n`,_jsx(ParamField,{body:`similarity_threshold`,type:`number`,default:`0.25`,id:`param-similarity-threshold`,children:_jsx(_components.p,{children:`Minimum similarity threshold for matching products (0-1).`})}),`\n`,_jsx(ParamField,{body:`max_result_count`,type:`integer`,default:`2`,id:`param-max-result-count`,children:_jsx(_components.p,{children:`Maximum number of results to return.`})}),`\n`,_jsx(ParamField,{body:`exclude_variant_ids`,type:`array`,id:`param-exclude-variant-ids`,children:_jsx(_components.p,{children:`Array of variant IDs to exclude from results.`})}),`\n`,_jsx(ParamField,{body:`price_min`,type:`number`,id:`param-price-min`,children:_jsx(_components.p,{children:`Minimum price filter for the search results.`})}),`\n`,_jsx(ParamField,{body:`price_max`,type:`number`,id:`param-price-max`,children:_jsx(_components.p,{children:`Maximum price filter for the search results.`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`results`,type:`array`,id:`param-results`,children:[_jsx(_components.p,{children:`An array of product details, each containing:`}),_jsxs(Expandable,{title:`Product details`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The unique identifier of the product.`})}),_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`The product title.`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`The product description.`})}),_jsx(ResponseField,{name:`product_type`,type:`string`,id:`param-product-type`,children:_jsx(_components.p,{children:`The type/category of the product.`})}),_jsxs(ResponseField,{name:`options`,type:`array`,id:`param-options`,children:[_jsx(_components.p,{children:`Available product options, each containing:`}),_jsxs(Expandable,{title:`Option details`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the option (e.g., “Size”).`})}),_jsx(ResponseField,{name:`values`,type:`array`,id:`param-values`,children:_jsx(_components.p,{children:`Array of possible values for this option (e.g., [“S”, “M”, “L”, “XL”]).`})})]})]}),_jsx(ResponseField,{name:`images`,type:`array`,id:`param-images`,children:_jsx(_components.p,{children:`Array of product images.`})}),_jsxs(ResponseField,{name:`variants`,type:`array`,id:`param-variants`,children:[_jsx(_components.p,{children:`Array of product variants, each containing:`}),_jsxs(Expandable,{title:`Variant details`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`The variant ID.`})}),_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title-1`,children:_jsx(_components.p,{children:`The variant title.`})}),_jsx(ResponseField,{name:`price`,type:`number`,id:`param-price`,children:_jsx(_components.p,{children:`The variant price.`})}),_jsx(ResponseField,{name:`available`,type:`boolean`,id:`param-available`,children:_jsx(_components.p,{children:`Whether the variant is available.`})}),_jsx(ResponseField,{name:`checkout_url`,type:`string`,id:`param-checkout-url`,children:_jsx(_components.p,{children:`Direct URL to go to the variant’s checkout form with quantity 1.`})}),_jsxs(ResponseField,{name:`checkout_url_with_shipping`,type:`string`,id:`param-checkout-url-with-shipping`,children:[_jsx(_components.p,{children:`Direct URL to go to the variant’s checkout form with quantity 1 and shipping address pre-filled.`}),_jsx(Note,{children:_jsx(_components.p,{children:`Only applies if profile_id is provided and the profile has a shipping address attached.`})})]})]})]}),_jsx(ResponseField,{name:`store_id`,type:`string`,id:`param-store-id-1`,children:_jsx(_components.p,{children:`ID of the store.`})}),_jsx(ResponseField,{name:`store_name`,type:`string`,id:`param-store-name`,children:_jsx(_components.p,{children:`Name of the store.`})}),_jsx(ResponseField,{name:`store_domain`,type:`string`,id:`param-store-domain-1`,children:_jsx(_components.p,{children:`Domain of the store.`})})]})]}),`\n`,_jsx(ResponseField,{name:`product_ids`,type:`array`,id:`param-product-ids`,children:_jsx(_components.p,{children:`Array of product IDs returned in the results.`})}),`\n`,_jsxs(ResponseField,{name:`code`,type:`string`,id:`param-code`,children:[_jsx(_components.p,{children:`A code indicating the result of the search operation. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SEARCH_SUCCESS`}),`: Search completed successfully with results`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NO_RESULTS_FOUND`}),`: Search completed but no results found`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INVALID_REQUEST`}),`: Invalid request parameters`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`STORE_NOT_FOUND`}),`: Store ID or brand not found`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PROFILE_NOT_FOUND`}),`: Profile ID not found`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INTERNAL_ERROR`}),`: Server error occurred`]}),`\n`]})]}),`\n`,_jsx(ResponseField,{name:`error`,type:`string`,id:`param-error`,children:_jsx(_components.p,{children:`Error message if the request fails.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Additional details about the error if the request fails.`})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`47`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`47`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"results\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"7924157309120\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Classic Cotton T-Shirt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"handle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"classic-cotton-t-shirt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A comfortable everyday essential made from 100% organic cotton\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"product_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"t-shirt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"images\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [ `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cdn.shopify.com/s/files/1/0680/5936/5568/files/tshirt_black_front.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cdn.shopify.com/s/files/1/0680/5936/5568/files/tshirt_black_back.jpg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"values\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"S\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"M\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"L\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"XL\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Color\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"values\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Black\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"White\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Navy\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"variants\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`46002863112384`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"S / Black\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"option1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"S\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"option2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Black\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"option3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"29.95\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"checkout_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://fashion-store.com/cart/46002863112384:1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"checkout_url_with_shipping\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://fashion-store.com/cart/46002863112384:1?checkout[email]=user@example.com\u0026checkout[shipping_address][first_name]=John\u0026checkout[shipping_address][last_name]=Doe\u0026checkout[shipping_address][address1]=123 Main St\u0026checkout[shipping_address][city]=New York\u0026checkout[shipping_address][province]=NY\u0026checkout[shipping_address][country]=US\u0026checkout[shipping_address][zip]=10001\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"store_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"store456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"store_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Fashion Store\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"store_domain\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fashion-store.com\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"product_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"7924157309120\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SEARCH_SUCCESS\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Search","description":"Discover tailored product recommendations from our extensive database of millions of online products from thousands of Shopify stores.","api":"POST /search/products","href":"/api-reference/search/post"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Body Parameters","slug":"body-parameters","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"47\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"results\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"7924157309120\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Classic Cotton T-Shirt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"handle\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"classic-cotton-t-shirt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A comfortable everyday essential made from 100% organic cotton\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"product_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"t-shirt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"images\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [ \u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://cdn.shopify.com/s/files/1/0680/5936/5568/files/tshirt_black_front.jpg\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://cdn.shopify.com/s/files/1/0680/5936/5568/files/tshirt_black_back.jpg\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"options\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Size\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"values\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"S\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"M\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"L\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"XL\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Color\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"values\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Black\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"White\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Navy\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"variants\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">46002863112384\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"S / Black\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"option1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"S\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"option2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Black\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"option3\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"price\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"29.95\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"available\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"checkout_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://fashion-store.com/cart/46002863112384:1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"checkout_url_with_shipping\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://fashion-store.com/cart/46002863112384:1?checkout[email]=user@example.com\u0026#x26;checkout[shipping_address][first_name]=John\u0026#x26;checkout[shipping_address][last_name]=Doe\u0026#x26;checkout[shipping_address][address1]=123 Main St\u0026#x26;checkout[shipping_address][city]=New York\u0026#x26;checkout[shipping_address][province]=NY\u0026#x26;checkout[shipping_address][country]=US\u0026#x26;checkout[shipping_address][zip]=10001\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"store_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"store456\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"store_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Fashion Store\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"store_domain\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"fashion-store.com\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"product_ids\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"7924157309120\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SEARCH_SUCCESS\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Search","path":"/search/products","servers":[{"url":"https://api.buybase.ai"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"authorization":{"schema":[{"type":"string","description":"Your API key for authorization.","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"query":[{"type":"object","properties":{"text":[{"type":"string","description":"The text search query. e.g. “beach gear for miami”","required":true}],"image_url":[{"type":"string","description":"Intended to be a reference or inspiration for the text query."}]},"required":true}],"profile_id":[{"type":"string","description":"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."}],"store_id":[{"type":"string","description":"The ID of the store to search in."}],"store_domain":[{"type":"string","description":"The domain of the store to search in."}],"query_weight":[{"type":"number","description":"Weight to apply to the query which represents the text, image, or both (0-1)."}],"style_weight":[{"type":"number","description":"Weight to apply to the style profile (0-1)."}],"similarity_threshold":[{"type":"number","description":"Minimum similarity threshold for matching products (0-1)."}],"max_result_count":[{"type":"integer","description":"Maximum number of results to return."}],"exclude_variant_ids":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of variant IDs to exclude from results."}],"price_min":[{"type":"number","description":"Minimum price filter for the search results."}],"price_max":[{"type":"number","description":"Maximum price filter for the search results."}]}}],"examples":{"example":{"value":{"query":{"text":"\u003cstring>","image_url":"\u003cstring>"},"profile_id":"\u003cstring>","store_id":"\u003cstring>","store_domain":"\u003cstring>","query_weight":123,"style_weight":123,"similarity_threshold":123,"max_result_count":123,"exclude_variant_ids":[{}],"price_min":123,"price_max":123}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"results":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"The unique identifier of the product."}],"title":[{"type":"string","description":"The product title."}],"description":[{"type":"string","description":"The product description."}],"product_type":[{"type":"string","description":"The type/category of the product."}],"options":[{"type":"array","items":[{"type":"object","properties":{"name":[{"type":"string","description":"The name of the option (e.g., “Size”)."}],"values":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of possible values for this option (e.g., [“S”, “M”, “L”, “XL”])."}]}}],"description":"Available product options, each containing:"}],"images":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of product images."}],"variants":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"The variant ID."}],"title":[{"type":"string","description":"The variant title."}],"price":[{"type":"number","description":"The variant price."}],"available":[{"type":"boolean","description":"Whether the variant is available."}],"checkout_url":[{"type":"string","description":"Direct URL to go to the variant’s checkout form with quantity 1."}],"checkout_url_with_shipping":[{"type":"string","description":"Direct URL to go to the variant’s checkout form with quantity 1 and shipping address pre-filled."}]}}],"description":"Array of product variants, each containing:"}],"store_id":[{"type":"string","description":"ID of the store."}],"store_name":[{"type":"string","description":"Name of the store."}],"store_domain":[{"type":"string","description":"Domain of the store."}]}}],"description":"An array of product details, each containing:"}],"product_ids":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of product IDs returned in the results."}],"code":[{"type":"string","description":"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":[{"type":"string","description":"Error message if the request fails."}],"message":[{"type":"string","description":"Additional details about the error if the request fails."}]}}],"examples":{"example":{"value":{"results":[{"id":"\u003cstring>","title":"\u003cstring>","description":"\u003cstring>","product_type":"\u003cstring>","options":[{"name":"\u003cstring>","values":[{}]}],"images":[{}],"variants":[{"id":"\u003cstring>","title":"\u003cstring>","price":123,"available":true,"checkout_url":"\u003cstring>","checkout_url_with_shipping":"\u003cstring>"}],"store_id":"\u003cstring>","store_name":"\u003cstring>","store_domain":"\u003cstring>"}],"product_ids":[{}],"code":"\u003cstring>","error":"\u003cstring>","message":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"buybase","siteName":"Buybase","title":"Search - Buybase","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T05:43:47.515Z","originalFileLocation":"api-reference/search/post.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Discover tailored product recommendations from our extensive database of millions of online products from thousands of Shopify stores.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Buybase\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/buybase/8UBxYo42eK81tj3g/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/buybase/8UBxYo42eK81tj3g/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/buybase/8UBxYo42eK81tj3g/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/buybase/8UBxYo42eK81tj3g/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/buybase/8UBxYo42eK81tj3g/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/buybase/8UBxYo42eK81tj3g/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/buybase/8UBxYo42eK81tj3g/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/buybase/8UBxYo42eK81tj3g/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/buybase/8UBxYo42eK81tj3g/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Search - Buybase\">\u003cmeta data-mint-head property=\"og:description\" content=\"Discover tailored product recommendations from our extensive database of millions of online products from thousands of Shopify stores.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Buybase\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.buybase.ai/api-reference/search/post\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://buybase.mintlify.site/_mintlify/api/og/v2?division=Search\u0026amp;title=Search\u0026amp;description=Discover+tailored+product+recommendations+from+our+extensive+database+of+millions+of+online+products+from+thousands+of+Shopify+stores.\u0026amp;theme=253017e3db809445e8e86602\u0026amp;signature=f9732a4474c11190d17b049d4a882fc68c9ad8eff517c070ced2ff3a88c46ee9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Search - Buybase\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Discover tailored product recommendations from our extensive database of millions of online products from thousands of Shopify stores.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://buybase.mintlify.site/_mintlify/api/og/v2?division=Search\u0026amp;title=Search\u0026amp;description=Discover+tailored+product+recommendations+from+our+extensive+database+of+millions+of+online+products+from+thousands+of+Shopify+stores.\u0026amp;theme=253017e3db809445e8e86602\u0026amp;signature=f9732a4474c11190d17b049d4a882fc68c9ad8eff517c070ced2ff3a88c46ee9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/buybase/8UBxYo42eK81tj3g/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Buybase\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#323232\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.buybase.ai/api-reference/search/post\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/search/post.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.buybase.ai/#organization\",\"name\":\"Buybase\",\"url\":\"https://docs.buybase.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/buybase/UNoityZDiLRQhjfL/logo/buybase-dark.svg?fit=max\u0026auto=format\u0026n=UNoityZDiLRQhjfL\u0026q=85\u0026s=546eea4bc195df87af2f9e7dde8c5283\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.buybase.ai#website\",\"name\":\"Buybase\",\"url\":\"https://docs.buybase.ai\",\"publisher\":{\"@id\":\"https://docs.buybase.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.buybase.ai/api-reference/search/post#webpage\",\"url\":\"https://docs.buybase.ai/api-reference/search/post\",\"name\":\"Search\",\"description\":\"Discover tailored product recommendations from our extensive database of millions of online products from thousands of Shopify stores.\",\"dateModified\":\"2026-01-07T05:43:47.515Z\",\"isPartOf\":{\"@id\":\"https://docs.buybase.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.buybase.ai/api-reference/search/post#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.buybase.ai/api-reference/search/post#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Buybase\",\"item\":\"https://docs.buybase.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Search\",\"item\":\"https://docs.buybase.ai/api-reference/search/post\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.buybase.ai/api-reference/search/post#apireference\",\"headline\":\"Search\",\"name\":\"Search\",\"description\":\"Discover tailored product recommendations from our extensive database of millions of online products from thousands of Shopify stores.\",\"url\":\"https://docs.buybase.ai/api-reference/search/post\",\"mainEntityOfPage\":{\"@id\":\"https://docs.buybase.ai/api-reference/search/post#webpage\"},\"dateModified\":\"2026-01-07T05:43:47.515Z\",\"publisher\":{\"@id\":\"https://docs.buybase.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.buybase.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Buybase\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Buybase\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/search/post.md","siteName":"Buybase","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/docs/welcome"}]},{"tab":"API","groups":[{"group":"Search","pages":[{"title":"Search","api":"POST /search/products","href":"/api-reference/search/post"}]},{"group":"Profiles","pages":[{"title":"Retrieve","description":"Retrieve a profile.","api":"GET /profiles/{id}","href":"/api-reference/profiles/get"},{"title":"Create","api":"POST /profiles/create","href":"/api-reference/profiles/post"},{"title":"Delete","api":"DELETE /styles/{id}","href":"/api-reference/profiles/delete"}]},{"group":"Styles","pages":[{"title":"Retrieve","api":"GET /styles/retrieve/{id}","href":"/api-reference/styles/get"},{"title":"Create","api":"POST /styles/create","href":"/api-reference/styles/post"},{"title":"Delete","api":"DELETE /styles/delete/{id}","href":"/api-reference/styles/delete"},{"title":"Update","api":"PUT /styles/update/{id}","href":"/api-reference/styles/update"}]},{"group":"Shipping Addresses","pages":[{"title":"Retrieve","api":"GET /shipping/retrieve/{id}","href":"/api-reference/shipping/get"},{"title":"Create","api":"POST /shipping/create","href":"/api-reference/shipping/post"},{"title":"Delete","api":"DELETE /shipping/delete/{id}","href":"/api-reference/shipping/delete"},{"title":"Update","api":"PUT /shipping/update/{id}","href":"/api-reference/shipping/update"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/overview"}]}]},"basePath":"","title":"Search - Buybase","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-D6S0Yh6q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js"]}