Allows customers to create their own product bundles.
Selling cases of wine? A dozen donuts? Fruit baskets? Six-packs of T-shirts? Mix and Match Products is ideal for offering similar products in bulk containers. Perfect for encouraging customers to buy in bulk without forcing them to buy items that don’t interest them.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"CoCart API","colors":{"primary":"#6a42d7","light":"#6a42d7","dark":"#5F32D9"},"logo":{"light":"https://mintcdn.com/cocartheadlessllc/FOR-BxFAXTD5zZae/logo/light.svg?fit=max\u0026auto=format\u0026n=FOR-BxFAXTD5zZae\u0026q=85\u0026s=730b3e24b322cc10b648a7dc28525d15","dark":"https://mintcdn.com/cocartheadlessllc/FOR-BxFAXTD5zZae/logo/dark.svg?fit=max\u0026auto=format\u0026n=FOR-BxFAXTD5zZae\u0026q=85\u0026s=76a657f0cc27c177eb7aaca2ab3e1df4","href":"https://docs.cocartapi.com"},"favicon":"favicon.png","api":{"playground":{"display":"interactive"}},"appearance":{"default":"system"},"background":{"decoration":"gradient","color":{"light":"#FEFDFB","dark":"#18181B"}},"navbar":{"links":[{"href":"https://docs.cocartapi.com/llms.txt","label":"llms.txt"},{"href":"https://docs.cocartapi.com/llms-full.txt","label":"llms-full.txt"},{"href":"https://cocartapi.com/community/?ref=mintlify","label":"Discord"}],"primary":{"type":"github","href":"https://github.com/co-cart/co-cart"}},"footer":{"socials":{"x":"https://twitter.com/cocartapi","facebook":"https://www.facebook.com/cocartapi","linkedin":"https://www.linkedin.com/company/cocart-headless","github":"https://github.com/cocart-headless","website":"https://cocartapi.com/?ref=mintlify"},"links":[{"header":"Product","items":[{"label":"Pricing","href":"https://cocartapi.com/pricing?ref=mintlify"},{"label":"Blog","href":"https://cocartapi.com/blog?ref=mintlify"},{"label":"Showcase","href":"https://cocartapi.com/showcase?ref=mintlify"},{"label":"Try the API","href":"https://cocartapi.com/try-free-demo?ref=mintlify"}]},{"header":"For Developers","items":[{"label":"Suggest a Feature","href":"https://cocartapi.com/suggest-a-feature?ref=mintlify"},{"label":"Roadmap","href":"https://cocartapi.com/roadmap?ref=mintlify"},{"label":"Translate CoCart","href":"https://translate.cocartapi.com/?ref=mintlify"}]},{"header":"Company","items":[{"label":"Merch Store","href":"https://swag.cocartheadless.com/?ref=cocartapidotcom"},{"label":"Terms \u0026 Conditions","href":"https://cocartapi.com/terms-and-conditions-polar?ref=mintlify"},{"label":"Refund Policy","href":"https://cocartapi.com/refund-policy?ref=mintlify"},{"label":"Support Policy","href":"https://cocartapi.com/support-policy?ref=mintlify"},{"label":"Security Policy","href":"https://cocartapi.com/security-policy?ref=mintlify"}]}]},"seo":{"metatags":{"robots":"index","description":"Decoupling WooCommerce for the modern storefront","keywords":"woocommerce, headless, api, rest api, cart, carts, ecommerce, wordpress, headless woocommerce, woocommerce cart, woocommerce carts, cocart, cocart api, cocart headless"},"indexing":"navigable"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system"},"banner":{"content":"Documentation is still being updated. Some content maybe unfinished.","dismissible":true},"errors":{"404":{"redirect":false,"title":"I can't be found","description":"What ever **happened** to this _page_?"}},"contextual":{"options":["copy","view",{"title":"Translate Page","description":"Translate this page with Google Translate","icon":"language","href":{"base":"https://translate.google.com/translate","query":[{"key":"sl","value":"en"},{"key":"tl","value":"auto"},{"key":"u","value":"https://docs.cocartapi.com$path"}]}},"chatgpt","claude","perplexity","mcp","cursor","vscode",{"title":"Ask Gemini","description":"Ask Google Gemini about the current page","icon":"sparkle","href":{"base":"https://gemini.google.com/app","query":[{"key":"q","value":"Ask question about https://docs.cocartapi.com$path.md"}]}}],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cocartheadlessllc","hasAudioNarration":false,"actualSubdomain":"cocartheadlessllc","customDomains":["docs.cocartapi.com"],"gitSource":{"type":"github","owner":"cocart-headless","repo":"cocart-api-documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a22013a5cac5fa6292a511f","collectionId":"716276f1-560f-46af-ad2e-3246b5433ad0","schemaVersion":"v2"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6a22013a5cac5fa6292a511f:success","clientVersion":"0.0.3894","searchFilterCounts":[{"language":"default","tag":"Documentation","count":233},{"language":"default","tag":"API Reference","count":138},{"language":"default","tag":"API v2","count":78},{"language":"default","tag":"Cart","count":66},{"language":"default","tag":"API v1 (Deprecated in future)","count":49},{"language":"default","tag":"User Guides","count":40},{"language":"default","tag":"Tutorials","count":36},{"language":"default","tag":"Products","count":27},{"language":"default","tag":"Support Centre","count":18},{"language":"default","tag":"My Account","count":15}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-branches-v2-autocommit","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2","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":"editor-private-page-search","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":"teamspace","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","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":"byok-sep-25","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":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"client-snapshot-docs-config","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}],"privacy":{"consentBanner":{"enabled":true}},"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--rounded-sm:4px;--rounded:4px;--rounded-md:4px;--rounded-lg:4px;--rounded-xl:4px;--rounded-xt:4px;--rounded-2xl:4px;--rounded-search:4px;--rounded-3xl:4px;--rounded-full:4px}::selection{background-color:rgb(var(--primary))}#hero{max-width:70rem}.dark #sidebar-content{background-color:rgb(var(--background-dark)/.1)}#hero,.custom-container{margin:6rem auto 1.5rem}.custom-container a.card{max-width:320px}#sidebar-content,.bg-primary\\/10{background-color:rgb(var(--primary)/.1)}.bg-primary:not(.group .group-hover\\:fill-primary-dark,ul#sidebar-group li a svg,div.bottom-0){--tw-bg-opacity:1;background-color:rgb(var(--background-dark)/var(--tw-bg-opacity))}.dark\\:bg-primary-light:is(.dark *):not(.group .group-hover\\:fill-primary-dark,ul#sidebar-group li a svg,div.bottom-0){--tw-bg-opacity:1;background-color:rgb(var(--background-light)/var(--tw-bg-opacity))}.\\[\\\u0026\\>details\\]\\:border-0>details{border-width:0}.\\[\\\u0026\\>details\\>summary\\]\\:rounded-none>details>summary,.\\[\\\u0026\\>details\\]\\:rounded-none>details{border-radius:0}@media screen and (min-width:928px){#content-container{margin-left:-3rem;margin-right:3rem}#content-container>div{max-width:68rem}}@media (max-width:926px){#header{margin-top:5.125rem}}"}],"page":{"pagePath":"api-reference/plugins/wc-mix-and-match-products","slug":"/api-reference/plugins/wc-mix-and-match-products","pageMetadata":{"title":"Mix and Match Products for WooCommerce","sidebarTitle":"Mix and Match Products","description":"Allows customers to create their own product bundles.","href":"/api-reference/plugins/wc-mix-and-match-products","hidden":false},"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: \"Allows customers to create their own product bundles.\"\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={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Tooltip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Selling cases of wine? A dozen donuts? Fruit baskets? Six-packs of T-shirts? `,_jsx(_components.a,{href:`https://woocommerce.com/products/woocommerce-mix-and-match-products/`,children:`Mix and Match Products`}),` is ideal for offering similar products in bulk containers. Perfect for encouraging customers to buy in bulk without forcing them to buy items that don’t interest them.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Mix and Match Products supports CoCart since `,_jsx(Tooltip,{tip:`This is the version of the plugin`,children:`v1.10.0`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`add-item-to-cart`,children:`Add item to cart`}),`\n`,_jsx(_components.p,{children:`Add a container with the customers selected items and quantity.`}),`\n`,_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`22`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`22`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://your-store.com/wp-json/cocart/v2/cart/add-item`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\": \"1102\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quantity\": \"2\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"item_data\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mnm_config\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"product_id\": 987,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quantity\": 1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"product_id\": 1001,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quantity\": 2`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"product_id\": 1003,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quantity\": 3`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Mix and Match Products for WooCommerce","sidebarTitle":"Mix and Match Products","description":"Allows customers to create their own product bundles.","href":"/api-reference/plugins/wc-mix-and-match-products","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Add item to cart","slug":"add-item-to-cart","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cocartheadlessllc/daea33fdda923178/analytics.js"],"subdomain":"cocartheadlessllc","siteName":"CoCart API","title":"Mix and Match Products for WooCommerce - CoCart API","navMaps":{"firstHrefInVersion":{"stable":{"href":"/api-reference/plugins/wc-mix-and-match-products","matchLevel":0},"pre-release":{"href":"/api-reference/plugins/wc-mix-and-match-products","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2025-10-12T23:16:39.416Z","originalFileLocation":"api-reference/plugins/wc-mix-and-match-products.mdx"},"headHtml":"\u003cmeta data-mint-head name=\"description\" content=\"Allows customers to create their own product bundles.\">\u003cmeta data-mint-head name=\"keywords\" content=\"woocommerce, headless, api, rest api, cart, carts, ecommerce, wordpress, headless woocommerce, woocommerce cart, woocommerce carts, cocart, cocart api, cocart headless\">\u003cmeta data-mint-head name=\"application-name\" content=\"CoCart API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cocartheadlessllc/Py2aEwXPfjd87AtY/_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/cocartheadlessllc/Py2aEwXPfjd87AtY/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cocartheadlessllc/Py2aEwXPfjd87AtY/_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/cocartheadlessllc/Py2aEwXPfjd87AtY/_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/cocartheadlessllc/Py2aEwXPfjd87AtY/_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/cocartheadlessllc/Py2aEwXPfjd87AtY/_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/cocartheadlessllc/Py2aEwXPfjd87AtY/_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/cocartheadlessllc/Py2aEwXPfjd87AtY/_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/cocartheadlessllc/Py2aEwXPfjd87AtY/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Mix and Match Products for WooCommerce - CoCart API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Allows customers to create their own product bundles.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CoCart API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cocartapi.com/api-reference/plugins/wc-mix-and-match-products\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Mix and Match Products for WooCommerce - CoCart API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Allows customers to create their own product bundles.\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cocartheadlessllc/Py2aEwXPfjd87AtY/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CoCart API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6a42d7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cocartapi.com/api-reference/plugins/wc-mix-and-match-products\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/plugins/wc-mix-and-match-products.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cocartapi.com/#organization\",\"name\":\"CoCart API\",\"url\":\"https://docs.cocartapi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cocartheadlessllc/FOR-BxFAXTD5zZae/logo/light.svg?fit=max\u0026auto=format\u0026n=FOR-BxFAXTD5zZae\u0026q=85\u0026s=730b3e24b322cc10b648a7dc28525d15\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cocartapi.com#website\",\"name\":\"CoCart API\",\"url\":\"https://docs.cocartapi.com\",\"publisher\":{\"@id\":\"https://docs.cocartapi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cocartapi.com/api-reference/plugins/wc-mix-and-match-products#webpage\",\"url\":\"https://docs.cocartapi.com/api-reference/plugins/wc-mix-and-match-products\",\"name\":\"Mix and Match Products for WooCommerce\",\"description\":\"Allows customers to create their own product bundles.\",\"dateModified\":\"2025-10-12T23:16:39.416Z\",\"isPartOf\":{\"@id\":\"https://docs.cocartapi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cocartapi.com/api-reference/plugins/wc-mix-and-match-products#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cocartapi.com/api-reference/plugins/wc-mix-and-match-products#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Plugins\",\"item\":\"https://docs.cocartapi.com/api-reference/plugins/wc-name-your-price\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mix and Match Products for WooCommerce\",\"item\":\"https://docs.cocartapi.com/api-reference/plugins/wc-mix-and-match-products\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cocartapi.com/api-reference/plugins/wc-mix-and-match-products#article\",\"headline\":\"Mix and Match Products for WooCommerce\",\"name\":\"Mix and Match Products for WooCommerce\",\"description\":\"Allows customers to create their own product bundles.\",\"url\":\"https://docs.cocartapi.com/api-reference/plugins/wc-mix-and-match-products\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cocartapi.com/api-reference/plugins/wc-mix-and-match-products#webpage\"},\"dateModified\":\"2025-10-12T23:16:39.416Z\",\"publisher\":{\"@id\":\"https://docs.cocartapi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cocartapi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CoCart API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"CoCart API","nav":{"global":null,"versions":[{"version":"stable","default":true,"anchors":[{"anchor":"Documentation","icon":"book","tabs":[{"tab":"Home","icon":"compass","pages":[{"title":"Home","href":"/"}]},{"tab":"User Guides","icon":"book","pages":[{"title":"User Guides","href":"/overview/introduction"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Overview","pages":[{"title":"Introduction","icon":"hand","href":"/api-reference/introduction"},{"title":"Frequently Asked Questions","icon":"question","href":"/api-reference/faq"},{"title":"CoCart Playground","icon":"trowel","href":"/api-reference/playground"},{"title":"Authentication","icon":"lock","href":"/api-reference/authentication"}]},{"group":"JWT Authentication","pages":[{"title":"Quick Start","sidebarTitle":"Quick Start","href":"/getting-started/jwt/quick-start"},{"title":"Refresh Token","openapi":"api-reference/jwt/openapi.json post /cocart/jwt/refresh-token","href":"/api-reference/jwt/refresh-token"},{"title":"Validate Token","openapi":"api-reference/jwt/openapi.json post /cocart/jwt/validate-token","href":"/api-reference/jwt/validate-token"}]},{"group":"API v1 (Deprecated in future)","pages":[{"title":"Error Codes","icon":"xmark","href":"/api-reference/v1/error-codes"},{"group":"Cart","icon":"cart-shopping","pages":[{"title":"Get Cart","sidebarTitle":"Cart","openapi":"api-reference/v1/openapi-cart-v1.yaml get /get-cart","href":"/api-reference/v1/cart/get-cart"},{"title":"Get Cart in Session","sidebarTitle":"Cart in Session","openapi":"api-reference/v1/openapi-cart-v1.yaml get /get-cart/{id}","href":"/api-reference/v1/cart/get-cart-in-session"},{"title":"Get Cart for Customer","sidebarTitle":"Cart for Customer","openapi":"api-reference/v1/openapi-cart-v1.yaml get /get-cart/customer/{id}","href":"/api-reference/v1/cart/get-cart-customer"},{"title":"Add Item to Cart","sidebarTitle":"Add Item","openapi":"api-reference/v1/openapi-cart-v1.yaml post /add-item","href":"/api-reference/v1/cart/post-add-item"},{"title":"Update Item in Cart","sidebarTitle":"Update Item","openapi":"api-reference/v1/openapi-cart-v1.yaml post /item","href":"/api-reference/v1/cart/post-update-item"},{"title":"Remove Item from Cart","sidebarTitle":"Remove Item","openapi":"api-reference/v1/openapi-cart-v1.yaml delete /item","href":"/api-reference/v1/cart/delete-remove-item"},{"title":"Restore Item to Cart","sidebarTitle":"Restore Item","openapi":"api-reference/v1/openapi-cart-v1.yaml put /item","href":"/api-reference/v1/cart/put-restore-item"},{"title":"Clear the cart","sidebarTitle":"Clear Cart","openapi":"api-reference/v1/openapi-cart-v1.yaml post /clear","href":"/api-reference/v1/cart/post-clear-cart"},{"title":"Get Cart Items Count","sidebarTitle":"Cart items count","openapi":"api-reference/v1/openapi-cart-v1.yaml get /count-items","href":"/api-reference/v1/cart/get-count-items"},{"title":"Calculate cart totals","sidebarTitle":"Calculate Totals","openapi":"api-reference/v1/openapi-cart-v1.yaml post /calculate","href":"/api-reference/v1/cart/post-calculate"},{"title":"Get Cart Totals","sidebarTitle":"Cart totals","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals","href":"/api-reference/v1/cart/get-totals"},{"title":"Get Shipping Methods","openapi":"api-reference/v1/openapi-cart-v1.yaml get /shipping-methods","href":"/api-reference/v1/cart/plus/get-shipping-methods"},{"title":"Set Shipping Methods","openapi":"api-reference/v1/openapi-cart-v1.yaml post /shipping-methods","href":"/api-reference/v1/cart/plus/post-set-shipping-method"},{"title":"Removed Items from Cart","sidebarTitle":"Removed Items","openapi":"api-reference/v1/openapi-cart-v1.yaml get /removed-items","href":"/api-reference/v1/cart/plus/get-removed-items"},{"title":"Get Item Quantities in Cart","sidebarTitle":"Get Quantities","openapi":"api-reference/v1/openapi-cart-v1.yaml get /quantities","href":"/api-reference/v1/cart/plus/get-quantities"},{"title":"Get Payment Methods","sidebarTitle":"Payment Methods","openapi":"api-reference/v1/openapi-cart-v1.yaml get /payment-methods","href":"/api-reference/v1/cart/plus/get-payment-methods"},{"title":"Set Payment Method","openapi":"api-reference/v1/openapi-cart-v1.yaml post /payment-methods","href":"/api-reference/v1/cart/plus/post-set-payment-method"},{"title":"Get Fees from Cart","sidebarTitle":"Cart fees","openapi":"api-reference/v1/openapi-cart-v1.yaml get /fees","href":"/api-reference/v1/cart/plus/get-fees"},{"title":"Apply a Fee","openapi":"api-reference/v1/openapi-cart-v1.yaml post /fees","href":"/api-reference/v1/cart/plus/post-add-fee"},{"title":"Get Customer Details","sidebarTitle":"Customer details","openapi":"api-reference/v1/openapi-cart-v1.yaml get /customer","href":"/api-reference/v1/cart/plus/get-customer"},{"title":"Cart Cross Sells","openapi":"api-reference/v1/openapi-cart-v1.yaml get /cross-sells","href":"/api-reference/v1/cart/plus/get-cross-sells"},{"title":"Get Applied Coupons in Cart","sidebarTitle":"Applied coupons","openapi":"api-reference/v1/openapi-cart-v1.yaml get /coupon","href":"/api-reference/v1/cart/plus/get-applied-coupons"},{"title":"Check Coupons in Cart","sidebarTitle":"Check Coupons","openapi":"api-reference/v1/openapi-cart-v1.yaml get /check-coupons","href":"/api-reference/v1/cart/plus/get-check-coupons"},{"title":"Apply a Coupon","openapi":"api-reference/v1/openapi-cart-v1.yaml post /coupon","href":"/api-reference/v1/cart/plus/post-apply-coupon"},{"title":"Remove a Coupon from Cart","sidebarTitle":"Remove Coupon","openapi":"api-reference/v1/openapi-cart-v1.yaml delete /coupon","href":"/api-reference/v1/cart/plus/delete-remove-coupon"},{"title":"Calculate Fees","openapi":"api-reference/v1/openapi-cart-v1.yaml post /calculate/fees","href":"/api-reference/v1/cart/plus/post-calculate-fees"},{"title":"Calculate Shipping","openapi":"api-reference/v1/openapi-cart-v1.yaml post /calculate/shipping","href":"/api-reference/v1/cart/plus/post-calculate-shipping"},{"title":"Get Coupon Discount Tax Totals","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/discount/coupon-tax","href":"/api-reference/v1/cart/plus/get-totals-discount-coupon-tax"},{"title":"Get Fee Total","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/fee","href":"/api-reference/v1/cart/plus/get-totals-fee"},{"title":"Get Fee Tax","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/fee/tax","href":"/api-reference/v1/cart/plus/get-totals-fee-tax"},{"title":"Get Shipping Total","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/shipping","href":"/api-reference/v1/cart/plus/get-totals-shipping"},{"title":"Get Shipping Tax","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/shipping/tax","href":"/api-reference/v1/cart/plus/get-totals-shipping-tax"},{"title":"Get Subtotal Tax","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/subtotal/tax","href":"/api-reference/v1/cart/plus/get-totals-subtotal-tax"},{"title":"Get Total Tax","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/tax","href":"/api-reference/v1/cart/plus/get-totals-tax"},{"title":"Get Cart Total","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/total","href":"/api-reference/v1/cart/plus/get-totals-total"}]},{"group":"Products","icon":"shirt","pages":[{"title":"Get Products","openapi":"api-reference/v1/openapi-products-v1.yaml get /products","href":"/api-reference/v1/products/get-products"},{"title":"Get a Product","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/{id}","href":"/api-reference/v1/products/get-product"},{"title":"Get Product Variations","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/{product_id}/variations","href":"/api-reference/v1/products/get-product-variations"},{"title":"Get a Product Variation","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/{product_id}/variations/{id}","href":"/api-reference/v1/products/get-product-variation"},{"title":"Get Product Categories","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/categories","href":"/api-reference/v1/products/get-product-categories"},{"title":"Get Product Tags","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/tags","href":"/api-reference/v1/products/get-product-tags"},{"title":"Get Product Attributes","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/attributes","href":"/api-reference/v1/products/get-product-attributes"},{"title":"Get a Product Attribute","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/attributes/{id}","href":"/api-reference/v1/products/get-product-attribute"},{"title":"Get Product Attribute Terms","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/attributes/{attribute_id}/terms","href":"/api-reference/v1/products/get-product-attribute-terms"},{"title":"Get a Product Attribute Term","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/attributes/{attribute_id}/terms/{id}","href":"/api-reference/v1/products/get-product-attribute-term"},{"title":"Get Product Reviews","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/reviews","href":"/api-reference/v1/products/get-product-reviews"},{"title":"Get a Product Review","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/reviews/{id}","href":"/api-reference/v1/products/get-product-review"}]},{"group":"User Management","icon":"user","pages":[{"title":"Logout","openapi":"api-reference/v1/openapi-cart-v1.yaml post /logout","href":"/api-reference/v1/user/logout"}]}]},{"group":"API v2","pages":[{"title":"Error codes","href":"/api-reference/v2/error-codes"},{"title":"Variation Examples","icon":"shuffle","href":"/api-reference/v2/variation-examples"},{"group":"Cart","icon":"cart-shopping","pages":[{"title":"Get cart","sidebarTitle":"Cart","openapi":"api-reference/v2/openapi-v2-stable.yaml get /cart","href":"/api-reference/v2/cart/get-cart"},{"title":"Add Item to Cart","sidebarTitle":"Add Item","openapi":"api-reference/v2/openapi-v2-stable.yaml post /cart/add-item","href":"/api-reference/v2/cart/post-add-item"},{"title":"Add Items to Cart","sidebarTitle":"Add Items","openapi":"api-reference/v2/openapi-v2-stable.yaml post /cart/add-items","href":"/api-reference/v2/cart/post-add-items"},{"title":"Calculate cart totals","sidebarTitle":"Calculate Totals","openapi":"api-reference/v2/openapi-v2-stable.yaml post /cart/calculate","href":"/api-reference/v2/cart/post-calculate"},{"title":"Clear the cart","sidebarTitle":"Clear Cart","openapi":"api-reference/v2/openapi-v2-stable.yaml post /cart/clear","href":"/api-reference/v2/cart/post-clear"},{"title":"Get Cart Items Count","sidebarTitle":"Cart items count","openapi":"api-reference/v2/openapi-v2-stable.yaml get /cart/items/count","href":"/api-reference/v2/cart/get-items-count"},{"title":"Update Item in Cart","sidebarTitle":"Update Item","openapi":"api-reference/v2/openapi-v2-stable.yaml post /cart/item/{item_key}","href":"/api-reference/v2/cart/post-item-by-key"},{"title":"Remove item from cart","sidebarTitle":"Remove Item","openapi":"api-reference/v2/openapi-v2-stable.yaml delete /cart/item/{item_key}","href":"/api-reference/v2/cart/delete-item-by-key"},{"title":"Restore Item to Cart","sidebarTitle":"Restore Item","openapi":"api-reference/v2/openapi-v2-stable.yaml put /cart/item/{item_key}","href":"/api-reference/v2/cart/put-item-by-key"},{"title":"Get Cart Totals","sidebarTitle":"Cart totals","openapi":"api-reference/v2/openapi-v2-stable.yaml get /cart/totals","href":"/api-reference/v2/cart/get-totals"},{"title":"Update cart","sidebarTitle":"Update cart","openapi":"api-reference/v2/openapi-v2-stable.yaml post /cart/update","href":"/api-reference/v2/cart/post-cart-update"}]},{"group":"Products","icon":"shirt","pages":[{"title":"Get Products","sidebarTitle":"Products","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products","href":"/api-reference/v2/products/get-products"},{"title":"Get a Single Product","sidebarTitle":"Single Product","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/{id}","href":"/api-reference/v2/products/get-product"},{"title":"Get a Products Variations","sidebarTitle":"Product Variations","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/{id}/variations","href":"/api-reference/v2/products/get-product-variations"},{"title":"Get a Product Variation","sidebarTitle":"Single Product Variation","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/{id}/variations/{variation_id}","href":"/api-reference/v2/products/get-product-variation"},{"title":"Get Product Categories","sidebarTitle":"Product Categories","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/categories","href":"/api-reference/v2/products/get-product-categories"},{"title":"Get Product Category by ID","sidebarTitle":"Product Category by ID","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/categories/{id}","href":"/api-reference/v2/products/get-product-category-by-id"},{"title":"Get Product Tags","sidebarTitle":"Product Tags","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/tags","href":"/api-reference/v2/products/get-product-tags"},{"title":"Get Product Category by ID","sidebarTitle":"Product Category by ID","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/categories/{id}","href":"/api-reference/v2/products/get-product-tag-by-id"},{"title":"Get Product Attributes","sidebarTitle":"Product Attributes","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/attributes","href":"/api-reference/v2/products/get-product-attributes"},{"title":"Get a Product Attribute by ID","sidebarTitle":"Product Attribute by ID","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/attributes/{id}","href":"/api-reference/v2/products/get-product-attribute-by-id"},{"title":"Get a Product Attributes Terms","sidebarTitle":"Product Attributes Terms","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/attributes/{id}/terms","href":"/api-reference/v2/products/get-product-attribute-terms"},{"title":"Get a Product Attribute Term by ID","sidebarTitle":"Product Attribute Term by ID","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/attributes/{attribute_id}/terms/{id}","href":"/api-reference/v2/products/get-product-attribute-term"},{"title":"Get Product Reviews","sidebarTitle":"Product Reviews","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/reviews","href":"/api-reference/v2/products/get-product-reviews"},{"title":"Get a Product Review","sidebarTitle":"Single Product Review","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/reviews/{id}","href":"/api-reference/v2/products/get-product-review"}]},{"group":"User Management","icon":"user","pages":[{"title":"Login User","openapi":"api-reference/v2/openapi-v2-stable.yaml post /login","href":"/api-reference/v2/user/post-login"},{"title":"Logout User","openapi":"api-reference/v2/openapi-v2-stable.yaml post /logout","href":"/api-reference/v2/user/post-logout"}]},{"group":"Store","icon":"store","pages":[{"title":"Store","openapi":"api-reference/v2/openapi-v2-stable.yaml get /store","href":"/api-reference/v2/store/get-store"}]},{"group":"Sessions","icon":"database","pages":[{"title":"Retrieve Sessions","openapi":"api-reference/v2/openapi-v2-stable.yaml get /sessions","href":"/api-reference/v2/sessions/get-sessions"},{"title":"Get a Session","openapi":"api-reference/v2/openapi-v2-stable.yaml get /sessions/{id}","href":"/api-reference/v2/sessions/get-session"},{"title":"Delete a Session","openapi":"api-reference/v2/openapi-v2-stable.yaml delete /sessions/{id}","href":"/api-reference/v2/sessions/delete-session"}]}]},{"group":"Plugins","pages":[{"title":"Name Your Price for WooCommerce","sidebarTitle":"Name Your Price","description":"Allow customers to define the product price. Also useful for accepting user-set donations.","href":"/api-reference/plugins/wc-name-your-price"},{"title":"Mix and Match Products for WooCommerce","sidebarTitle":"Mix and Match Products","href":"/api-reference/plugins/wc-mix-and-match-products"}]},{"group":"Resources","pages":[{"title":"Community","description":"CoCart community initiatives","icon":"bullhorn","href":"/resources/community"},{"title":"Support Policy","icon":"life-ring","url":"https://cocartapi.com/support-policy/","href":"/resources/support-policy"},{"title":"Opening Issues","icon":"scroll","href":"/resources/opening-issues"},{"title":"Backers","icon":"ticket","href":"/resources/backers"}]}]},{"tab":"CLI Reference","icon":"terminal","pages":[{"title":"CLI Reference","href":"/cli-reference/introduction"}]},{"tab":"Tutorials","icon":"graduation-cap","pages":[{"title":"Tutorials","href":"/tutorials/introduction"}]},{"tab":"Support Centre","icon":"question","pages":[{"title":"Support Centre","href":"/knowledge-base/contact-us"}]},{"tab":"What's New","icon":"clock-rotate-left","pages":[{"title":"What's New","href":"/updates/overview"}]}]},{"anchor":"Feature requests","icon":"bell-concierge","href":"https://cocartapi.com/suggest-a-feature/?ref=mintlify"},{"anchor":"Wall of Love","icon":"heart","href":"https://cocartapi.com/wall-of-love/?ref=mintlify"}]},{"version":"pre-release","anchors":[{"anchor":"Documentation","icon":"book","tabs":[{"tab":"Home","icon":"compass","pages":[{"title":"Home","href":"/"}]},{"tab":"User Guides","icon":"book","pages":[{"title":"User Guides","href":"/overview/pre-release/introduction"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Overview","pages":[{"title":"Introduction","icon":"hand","tag":"Updated","href":"/api-reference/pre-release/introduction"},{"title":"Frequently Asked Questions","icon":"question","href":"/api-reference/faq"},{"title":"CoCart Playground","icon":"trowel","href":"/api-reference/playground"},{"title":"Authentication","icon":"lock","href":"/api-reference/authentication"}]},{"group":"JWT Authentication","pages":[{"title":"Quick Start","sidebarTitle":"Quick Start","href":"/getting-started/jwt/quick-start"},{"title":"Refresh Token","openapi":"api-reference/jwt/openapi.json post /cocart/jwt/refresh-token","href":"/api-reference/jwt/refresh-token"},{"title":"Validate Token","openapi":"api-reference/jwt/openapi.json post /cocart/jwt/validate-token","href":"/api-reference/jwt/validate-token"}]},{"group":"API v1 (Deprecated in future)","pages":[{"title":"Error Codes","icon":"xmark","href":"/api-reference/v1/error-codes"},{"group":"Cart","icon":"cart-shopping","pages":[{"title":"Get Cart","sidebarTitle":"Cart","openapi":"api-reference/v1/openapi-cart-v1.yaml get /get-cart","href":"/api-reference/v1/cart/get-cart"},{"title":"Get Cart in Session","sidebarTitle":"Cart in Session","openapi":"api-reference/v1/openapi-cart-v1.yaml get /get-cart/{id}","href":"/api-reference/v1/cart/get-cart-in-session"},{"title":"Get Cart for Customer","sidebarTitle":"Cart for Customer","openapi":"api-reference/v1/openapi-cart-v1.yaml get /get-cart/customer/{id}","href":"/api-reference/v1/cart/get-cart-customer"},{"title":"Add Item to Cart","sidebarTitle":"Add Item","openapi":"api-reference/v1/openapi-cart-v1.yaml post /add-item","href":"/api-reference/v1/cart/post-add-item"},{"title":"Update Item in Cart","sidebarTitle":"Update Item","openapi":"api-reference/v1/openapi-cart-v1.yaml post /item","href":"/api-reference/v1/cart/post-update-item"},{"title":"Remove Item from Cart","sidebarTitle":"Remove Item","openapi":"api-reference/v1/openapi-cart-v1.yaml delete /item","href":"/api-reference/v1/cart/delete-remove-item"},{"title":"Restore Item to Cart","sidebarTitle":"Restore Item","openapi":"api-reference/v1/openapi-cart-v1.yaml put /item","href":"/api-reference/v1/cart/put-restore-item"},{"title":"Clear the cart","sidebarTitle":"Clear Cart","openapi":"api-reference/v1/openapi-cart-v1.yaml post /clear","href":"/api-reference/v1/cart/post-clear-cart"},{"title":"Get Cart Items Count","sidebarTitle":"Cart items count","openapi":"api-reference/v1/openapi-cart-v1.yaml get /count-items","href":"/api-reference/v1/cart/get-count-items"},{"title":"Calculate cart totals","sidebarTitle":"Calculate Totals","openapi":"api-reference/v1/openapi-cart-v1.yaml post /calculate","href":"/api-reference/v1/cart/post-calculate"},{"title":"Get Cart Totals","sidebarTitle":"Cart totals","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals","href":"/api-reference/v1/cart/get-totals"},{"title":"Get Shipping Methods","openapi":"api-reference/v1/openapi-cart-v1.yaml get /shipping-methods","href":"/api-reference/v1/cart/plus/get-shipping-methods"},{"title":"Set Shipping Methods","openapi":"api-reference/v1/openapi-cart-v1.yaml post /shipping-methods","href":"/api-reference/v1/cart/plus/post-set-shipping-method"},{"title":"Removed Items from Cart","sidebarTitle":"Removed Items","openapi":"api-reference/v1/openapi-cart-v1.yaml get /removed-items","href":"/api-reference/v1/cart/plus/get-removed-items"},{"title":"Get Item Quantities in Cart","sidebarTitle":"Get Quantities","openapi":"api-reference/v1/openapi-cart-v1.yaml get /quantities","href":"/api-reference/v1/cart/plus/get-quantities"},{"title":"Get Payment Methods","sidebarTitle":"Payment Methods","openapi":"api-reference/v1/openapi-cart-v1.yaml get /payment-methods","href":"/api-reference/v1/cart/plus/get-payment-methods"},{"title":"Set Payment Method","openapi":"api-reference/v1/openapi-cart-v1.yaml post /payment-methods","href":"/api-reference/v1/cart/plus/post-set-payment-method"},{"title":"Get Fees from Cart","sidebarTitle":"Cart fees","openapi":"api-reference/v1/openapi-cart-v1.yaml get /fees","href":"/api-reference/v1/cart/plus/get-fees"},{"title":"Apply a Fee","openapi":"api-reference/v1/openapi-cart-v1.yaml post /fees","href":"/api-reference/v1/cart/plus/post-add-fee"},{"title":"Get Customer Details","sidebarTitle":"Customer details","openapi":"api-reference/v1/openapi-cart-v1.yaml get /customer","href":"/api-reference/v1/cart/plus/get-customer"},{"title":"Cart Cross Sells","openapi":"api-reference/v1/openapi-cart-v1.yaml get /cross-sells","href":"/api-reference/v1/cart/plus/get-cross-sells"},{"title":"Get Applied Coupons in Cart","sidebarTitle":"Applied coupons","openapi":"api-reference/v1/openapi-cart-v1.yaml get /coupon","href":"/api-reference/v1/cart/plus/get-applied-coupons"},{"title":"Check Coupons in Cart","sidebarTitle":"Check Coupons","openapi":"api-reference/v1/openapi-cart-v1.yaml get /check-coupons","href":"/api-reference/v1/cart/plus/get-check-coupons"},{"title":"Apply a Coupon","openapi":"api-reference/v1/openapi-cart-v1.yaml post /coupon","href":"/api-reference/v1/cart/plus/post-apply-coupon"},{"title":"Remove a Coupon from Cart","sidebarTitle":"Remove Coupon","openapi":"api-reference/v1/openapi-cart-v1.yaml delete /coupon","href":"/api-reference/v1/cart/plus/delete-remove-coupon"},{"title":"Calculate Fees","openapi":"api-reference/v1/openapi-cart-v1.yaml post /calculate/fees","href":"/api-reference/v1/cart/plus/post-calculate-fees"},{"title":"Calculate Shipping","openapi":"api-reference/v1/openapi-cart-v1.yaml post /calculate/shipping","href":"/api-reference/v1/cart/plus/post-calculate-shipping"},{"title":"Get Coupon Discount Tax Totals","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/discount/coupon-tax","href":"/api-reference/v1/cart/plus/get-totals-discount-coupon-tax"},{"title":"Get Fee Total","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/fee","href":"/api-reference/v1/cart/plus/get-totals-fee"},{"title":"Get Fee Tax","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/fee/tax","href":"/api-reference/v1/cart/plus/get-totals-fee-tax"},{"title":"Get Shipping Total","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/shipping","href":"/api-reference/v1/cart/plus/get-totals-shipping"},{"title":"Get Shipping Tax","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/shipping/tax","href":"/api-reference/v1/cart/plus/get-totals-shipping-tax"},{"title":"Get Subtotal Tax","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/subtotal/tax","href":"/api-reference/v1/cart/plus/get-totals-subtotal-tax"},{"title":"Get Total Tax","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/tax","href":"/api-reference/v1/cart/plus/get-totals-tax"},{"title":"Get Cart Total","openapi":"api-reference/v1/openapi-cart-v1.yaml get /totals/total","href":"/api-reference/v1/cart/plus/get-totals-total"}]},{"group":"Products","icon":"shirt","pages":[{"title":"Get Products","openapi":"api-reference/v1/openapi-products-v1.yaml get /products","href":"/api-reference/v1/products/get-products"},{"title":"Get a Product","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/{id}","href":"/api-reference/v1/products/get-product"},{"title":"Get Product Variations","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/{product_id}/variations","href":"/api-reference/v1/products/get-product-variations"},{"title":"Get a Product Variation","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/{product_id}/variations/{id}","href":"/api-reference/v1/products/get-product-variation"},{"title":"Get Product Categories","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/categories","href":"/api-reference/v1/products/get-product-categories"},{"title":"Get Product Tags","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/tags","href":"/api-reference/v1/products/get-product-tags"},{"title":"Get Product Attributes","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/attributes","href":"/api-reference/v1/products/get-product-attributes"},{"title":"Get a Product Attribute","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/attributes/{id}","href":"/api-reference/v1/products/get-product-attribute"},{"title":"Get Product Attribute Terms","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/attributes/{attribute_id}/terms","href":"/api-reference/v1/products/get-product-attribute-terms"},{"title":"Get a Product Attribute Term","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/attributes/{attribute_id}/terms/{id}","href":"/api-reference/v1/products/get-product-attribute-term"},{"title":"Get Product Reviews","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/reviews","href":"/api-reference/v1/products/get-product-reviews"},{"title":"Get a Product Review","openapi":"api-reference/v1/openapi-products-v1.yaml get /products/reviews/{id}","href":"/api-reference/v1/products/get-product-review"}]},{"group":"User Management","icon":"user","pages":[{"title":"Logout","openapi":"api-reference/v1/openapi-cart-v1.yaml post /logout","href":"/api-reference/v1/user/logout"}]}]},{"group":"API v2","pages":[{"title":"Error codes","href":"/api-reference/v2/error-codes"},{"title":"Variation Examples","icon":"shuffle","href":"/api-reference/v2/variation-examples"},{"group":"Cart","icon":"cart-shopping","pages":[{"title":"Get Cart","openapi":"api-reference/v2/openapi-pre-release.yaml get /cart","tag":"Updated","href":"/api-reference/v2/cart/pre-release/get-cart"},{"title":"Add Item to Cart","openapi":"api-reference/v2/openapi-pre-release.yaml post /cart/add-item","tag":"Updated","href":"/api-reference/v2/cart/pre-release/post-add-item"},{"title":"Add Items to Cart","openapi":"api-reference/v2/openapi-pre-release.yaml post /cart/add-items","deprecated":true,"href":"/api-reference/v2/cart/pre-release/post-add-items"},{"title":"Calculate cart totals","openapi":"api-reference/v2/openapi-pre-release.yaml post /cart/calculate","href":"/api-reference/v2/cart/pre-release/post-calculate"},{"title":"Clear the cart","openapi":"api-reference/v2/openapi-pre-release.yaml post /cart/clear","href":"/api-reference/v2/cart/pre-release/post-clear"},{"title":"Apply a Coupon","openapi":"api-reference/v2/openapi-pre-release.yaml post /cart/apply-coupon","tag":"New","href":"/api-reference/v2/cart/pre-release/post-apply-coupon"},{"title":"Get Coupons","openapi":"api-reference/v2/openapi-pre-release.yaml get /cart/coupons","tag":"New","href":"/api-reference/v2/cart/pre-release/get-coupons"},{"title":"Remove all Coupons","openapi":"api-reference/v2/openapi-pre-release.yaml delete /cart/coupons","tag":"New","href":"/api-reference/v2/cart/pre-release/delete-coupons"},{"title":"Remove Coupon by Code","openapi":"api-reference/v2/openapi-pre-release.yaml delete /cart/coupons/{code}","tag":"New","href":"/api-reference/v2/cart/pre-release/delete-coupons-by-code"},{"title":"Validate applied coupons","openapi":"api-reference/v2/openapi-pre-release.yaml get /cart/coupons/validate","tag":"New","href":"/api-reference/v2/cart/pre-release/get-coupons-validate"},{"title":"Remove all Items","openapi":"api-reference/v2/openapi-pre-release.yaml delete /cart/items","tag":"New","href":"/api-reference/v2/cart/pre-release/delete-items"},{"title":"Cart items count","openapi":"api-reference/v2/openapi-pre-release.yaml get /cart/items/count","deprecated":true,"href":"/api-reference/v2/cart/pre-release/get-items-count"},{"title":"Update Item in Cart","openapi":"api-reference/v2/openapi-pre-release.yaml post /cart/item/{item_key}","href":"/api-reference/v2/cart/pre-release/post-item-by-key"},{"title":"Remove Item from Cart","openapi":"api-reference/v2/openapi-pre-release.yaml delete /cart/item/{item_key}","href":"/api-reference/v2/cart/pre-release/delete-item-by-key"},{"title":"Restore Item to Cart","openapi":"api-reference/v2/openapi-pre-release.yaml put /cart/item/{item_key}","href":"/api-reference/v2/cart/pre-release/put-item-by-key"},{"title":"Mini Cart","openapi":"api-reference/v2/openapi-pre-release.yaml get /cart/mini","tag":"New","href":"/api-reference/v2/cart/pre-release/get-cart-mini"},{"title":"Add a Fee","openapi":"api-reference/v2/openapi-pre-release.yaml post /cart/add-fee","tag":"New","href":"/api-reference/v2/cart/pre-release/post-add-fee"},{"title":"Remove all Fees","openapi":"api-reference/v2/openapi-pre-release.yaml post /cart/remove-fees","tag":"New","href":"/api-reference/v2/cart/pre-release/post-remove-fees"},{"title":"Set Shipping Method","openapi":"api-reference/v2/openapi-pre-release.yaml post /cart/set-shipping-method","tag":"New","href":"/api-reference/v2/cart/pre-release/post-set-shipping-method"},{"title":null,"href":"/api-reference/v2/cart/pre-release/post-cart-update"}]},{"group":"Checkout","icon":"cash-register","tag":"WIP","pages":[{"title":"Checkout","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /checkout","tag":"New","href":"/api-reference/pre-release/checkout/get-checkout"},{"title":"Process Checkout","openapi":"api-reference/pre-release/openapi-spec-preview.yaml post /checkout","tag":"New","href":"/api-reference/pre-release/checkout/post-checkout"},{"title":"Update Checkout","openapi":"api-reference/pre-release/openapi-spec-preview.yaml put /checkout","tag":"New","href":"/api-reference/pre-release/checkout/put-checkout"},{"title":"Payment Methods","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /checkout/payment-methods","tag":"New","href":"/api-reference/pre-release/checkout/get-payment-methods"},{"title":"Payment Context","openapi":"api-reference/pre-release/openapi-spec-preview.yaml post /checkout/payment-context","tag":"New","href":"/api-reference/pre-release/checkout/post-payment-context"},{"title":"Search for Address Suggestions","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /address/search","tag":"New","href":"/api-reference/pre-release/checkout/get-address-search"},{"title":"Get Full Address Details","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /address/details","tag":"New","href":"/api-reference/pre-release/checkout/get-address-details"},{"title":"Order Received","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /order-received/{order_id}","tag":"New","href":"/api-reference/pre-release/checkout/get-order-received"},{"title":"Pay for Order","openapi":"api-reference/pre-release/openapi-spec-preview.yaml post /order-received/{order_id}/pay","tag":"New","href":"/api-reference/pre-release/checkout/post-order-received-pay"}]},{"group":"Products","icon":"shirt","pages":[{"title":"Products","openapi":"api-reference/v2/openapi-v2-pre-release.yaml get /products","tag":"Updated","href":"/api-reference/v2/products/pre-release/get-products"},{"title":"Get a Single Product","sidebarTitle":"Single Product","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/{id}","href":"/api-reference/v2/products/get-product"},{"title":"Get a Products Variations","sidebarTitle":"Product Variations","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/{id}/variations","href":"/api-reference/v2/products/get-product-variations"},{"title":"Get a Product Variation","sidebarTitle":"Single Product Variation","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/{id}/variations/{variation_id}","href":"/api-reference/v2/products/get-product-variation"},{"title":"Get Product Categories","sidebarTitle":"Product Categories","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/categories","href":"/api-reference/v2/products/get-product-categories"},{"title":"Get Product Category by ID","sidebarTitle":"Product Category by ID","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/categories/{id}","href":"/api-reference/v2/products/get-product-category-by-id"},{"title":"Get Product Tags","sidebarTitle":"Product Tags","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/tags","href":"/api-reference/v2/products/get-product-tags"},{"title":"Get Product Category by ID","sidebarTitle":"Product Category by ID","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/categories/{id}","href":"/api-reference/v2/products/get-product-tag-by-id"},{"title":"Get Product Attributes","sidebarTitle":"Product Attributes","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/attributes","href":"/api-reference/v2/products/get-product-attributes"},{"title":"Get a Product Attribute by ID","sidebarTitle":"Product Attribute by ID","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/attributes/{id}","href":"/api-reference/v2/products/get-product-attribute-by-id"},{"title":"Get a Product Attributes Terms","sidebarTitle":"Product Attributes Terms","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/attributes/{id}/terms","href":"/api-reference/v2/products/get-product-attribute-terms"},{"title":"Get a Product Attribute Term by ID","sidebarTitle":"Product Attribute Term by ID","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/attributes/{attribute_id}/terms/{id}","href":"/api-reference/v2/products/get-product-attribute-term"},{"title":"Get Product Reviews","sidebarTitle":"Product Reviews","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/reviews","href":"/api-reference/v2/products/get-product-reviews"},{"title":"Get a Product Review","sidebarTitle":"Single Product Review","openapi":"api-reference/v2/openapi-v2-stable.yaml get /products/reviews/{id}","href":"/api-reference/v2/products/get-product-review"}]},{"group":"My Account","icon":"computer","tag":"WIP","pages":[{"title":"My Account","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /my-account","tag":"New","href":"/api-reference/pre-release/my-account/get-my-account"},{"title":"My Account - Edit Account","sidebarTitle":"Edit Account","openapi":"api-reference/pre-release/openapi-spec-preview.yaml post /my-account","tag":"New","href":"/api-reference/pre-release/my-account/post-my-account"},{"title":"My Account - Get Orders","sidebarTitle":"Orders","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /my-account/orders","tag":"New","href":"/api-reference/pre-release/my-account/get-my-account-orders"},{"title":"My Account - Get Single Order","sidebarTitle":"Single Order","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /my-account/orders/{id}","tag":"New","href":"/api-reference/pre-release/my-account/get-my-account-single-order"},{"title":"My Orders - Single Order - Downloads","sidebarTitle":"Single Order - Downloads","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /my-account/orders/{id}/downloads","tag":"New","href":"/api-reference/pre-release/my-account/get-my-account-single-order-downloads"},{"title":"My Account - Downloads","sidebarTitle":"Downloads","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /my-account/downloads","tag":"New","href":"/api-reference/pre-release/my-account/get-my-account-downloads"},{"title":"My Account - Get My Reviews","sidebarTitle":"My Reviews","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /my-account/reviews","tag":"New","href":"/api-reference/pre-release/my-account/get-my-account-reviews"},{"title":"My Account - Get Subscriptions","sidebarTitle":"Subscriptions","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /my-account/subscriptions","tag":"New","href":"/api-reference/pre-release/my-account/subscriptions/get-my-account-subscriptions"},{"title":"My Account - Get Single Subscription","sidebarTitle":"Single Subscription","openapi":"api-reference/pre-release/openapi-spec-preview.yaml get /my-account/subscriptions/{id}","tag":"New","href":"/api-reference/pre-release/my-account/subscriptions/get-my-account-single-subscription"},{"title":"Toggle Subscription Auto-Renewal","openapi":"api-reference/pre-release/openapi-spec-preview.yaml post /my-account/subscriptions/{id}/renew-{action}","tag":"New","href":"/api-reference/pre-release/my-account/subscriptions/post-subscription-renew"},{"title":"Suspend Subscription","openapi":"api-reference/pre-release/openapi-spec-preview.yaml post /my-account/subscriptions/{id}/on-hold","tag":"New","href":"/api-reference/pre-release/my-account/subscriptions/post-subscription-on-hold"},{"title":"Reactivate Subscription","openapi":"api-reference/pre-release/openapi-spec-preview.yaml post /my-account/subscriptions/{id}/reactivate","tag":"New","href":"/api-reference/pre-release/my-account/subscriptions/post-subscription-reactivate"},{"title":"Resubscribe to Subscription","openapi":"api-reference/pre-release/openapi-spec-preview.yaml post /my-account/subscriptions/{id}/resubscribe","tag":"New","href":"/api-reference/pre-release/my-account/subscriptions/post-subscription-resubscribe"},{"title":"Cancel Subscription","openapi":"api-reference/pre-release/openapi-spec-preview.yaml post /my-account/subscriptions/{id}/cancel","tag":"New","href":"/api-reference/pre-release/my-account/subscriptions/post-subscription-cancel"},{"title":"Update Subscription Payment Method","openapi":"api-reference/pre-release/openapi-spec-preview.yaml post /my-account/subscriptions/{id}/payment-method","tag":"New","href":"/api-reference/pre-release/my-account/subscriptions/post-subscription-payment-method"}]},{"group":"User Management","icon":"user","pages":[{"title":"Login User","openapi":"api-reference/v2/openapi-v2-stable.yaml post /login","href":"/api-reference/v2/user/post-login"},{"title":"Logout User","openapi":"api-reference/v2/openapi-v2-stable.yaml post /logout","href":"/api-reference/v2/user/post-logout"}]},{"group":"Store","icon":"store","pages":[{"title":"Store","openapi":"api-reference/v2/openapi-pre-release.yaml get /store","tag":"Updated","href":"/api-reference/v2/store/pre-release/get-store"}]},{"group":"Sessions","icon":"database","pages":[{"title":"Retrieve Sessions","openapi":"api-reference/v2/openapi-v2-stable.yaml get /sessions","href":"/api-reference/v2/sessions/get-sessions"},{"title":"Get a Session","openapi":"api-reference/v2/openapi-v2-stable.yaml get /sessions/{id}","href":"/api-reference/v2/sessions/get-session"},{"title":"Delete a Session","openapi":"api-reference/v2/openapi-v2-stable.yaml delete /sessions/{id}","href":"/api-reference/v2/sessions/delete-session"}]}]},{"group":"Plugins","pages":[{"title":"Name Your Price for WooCommerce","sidebarTitle":"Name Your Price","description":"Allow customers to define the product price. Also useful for accepting user-set donations.","href":"/api-reference/plugins/wc-name-your-price"},{"title":"Mix and Match Products for WooCommerce","sidebarTitle":"Mix and Match Products","href":"/api-reference/plugins/wc-mix-and-match-products"},{"title":"Two Factor Authentication for CoCart","sidebarTitle":"Two Factor Authentication","description":"Integrate with WordPress Two Factor plugin to add 2FA support with CoCart.","tag":"New","href":"/api-reference/plugins/two-factor-authentication"}]},{"group":"Resources","pages":[{"title":"Community","icon":"bullhorn","href":"/resources/community"},{"title":"Support Policy","icon":"life-ring","url":"https://cocartapi.com/support-policy/","href":"/resources/support-policy"},{"title":"Opening Issues","icon":"scroll","href":"/resources/opening-issues"},{"title":"Backers","icon":"ticket","href":"/resources/backers"}]}]},{"tab":"CLI Reference","icon":"terminal","pages":[{"title":"CLI Reference","href":"/cli-reference/introduction"}]},{"tab":"Tutorials","icon":"graduation-cap","pages":[{"title":"Tutorials","href":"/tutorials/introduction"}]},{"tab":"Support Centre","icon":"question","pages":[{"title":"Support Centre","href":"/knowledge-base/contact-us"}]},{"tab":"What's New","icon":"clock-rotate-left","pages":[{"title":"What's New","href":"/updates/overview"}]}]},{"anchor":"Feature requests","icon":"bell-concierge","href":"https://cocartapi.com/suggest-a-feature/?ref=mintlify"},{"anchor":"Wall of Love","icon":"heart","href":"https://cocartapi.com/wall-of-love/?ref=mintlify"}]}]},"title":"Mix and Match Products for WooCommerce - CoCart API","buildId":"dpl_8LJVMfxYNq6LJkohTrn2iyWT8umj","deploymentId":"dpl_8LJVMfxYNq6LJkohTrn2iyWT8umj","dynamics":[],"chunks":[]}