A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Fabric","colors":{"primary":"#ff2ec1","light":"#ff2ec1","dark":"#ff2ec1"},"logo":{"light":"https://mintcdn.com/fabric-demo/OzlZxX-hOwze1Aen/logo/darkneon.png?fit=max\u0026auto=format\u0026n=OzlZxX-hOwze1Aen\u0026q=85\u0026s=332d2284d5f41dc42f5b9e0bcd473872","dark":"https://mintcdn.com/fabric-demo/OzlZxX-hOwze1Aen/logo/darkneon.png?fit=max\u0026auto=format\u0026n=OzlZxX-hOwze1Aen\u0026q=85\u0026s=332d2284d5f41dc42f5b9e0bcd473872","href":"https://developer.fabric.inc"},"favicon":"https://mintcdn.com/fabric-demo/ZXHlkaduf1S9hYir/neon-favicon.webp?fit=max\u0026auto=format\u0026n=ZXHlkaduf1S9hYir\u0026q=85\u0026s=fc87341b907a3b0ed573af9c896468b2","navbar":{"primary":{"type":"button","label":"Request Demo","href":"https://fabric.inc/demo-request"}},"footer":{"socials":{"twitter":"https://twitter.com/fabric_commerce?lang=en","linkedin":"https://www.linkedin.com/company/teamfabric"}},"integrations":{"ga4":{"measurementId":"G-5RS60WM116"}},"contextual":{"options":["copy","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fabric-demo","hasAudioNarration":false,"actualSubdomain":"fabric-demo","customDomains":["developer.fabric.inc"],"gitSource":{"type":"gitlab","owner":"fabric2/docs","repo":"developer-docs","projectId":58049997,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a27c05109a51e5ad494d5d6","collectionId":"7afabdbc-2ae6-4c34-9795-efeea513c17c","schemaVersion":"v3"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6a905beb40741431493de2c3:failure","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":721},{"language":"default","tag":"Orders \u0026 Inventory","count":276},{"language":"default","tag":"Product Catalog","count":245},{"language":"default","tag":"Dropship","count":242},{"language":"default","tag":"Orders v2 (OMS v2)","count":162},{"language":"default","tag":"Orders API Endpoints","count":145},{"language":"default","tag":"Customer","count":144},{"language":"default","tag":"Offers","count":118},{"language":"default","tag":"Product Catalog API","count":102},{"language":"default","tag":"Orders v1 (OMS v1)","count":100}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 100;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiAyp8kv8JHgFVrJJLmE0tDMPKzSQ.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 100;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiAyp8kv8JHgFVrJJLmE0tMMPKzSQ.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 100;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiAyp8kv8JHgFVrJJLmE0tCMPI.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 200;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLmv1pVFteOcEg.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 200;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLmv1pVGdeOcEg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 200;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLmv1pVF9eO.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLm21lVFteOcEg.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLm21lVGdeOcEg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLm21lVF9eO.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiGyp8kv8JHgFVrJJLucXtAKPY.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiGyp8kv8JHgFVrJJLufntAKPY.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiGyp8kv8JHgFVrJJLucHtA.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLmg1hVFteOcEg.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLmg1hVGdeOcEg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLmg1hVF9eO.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLmr19VFteOcEg.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLmr19VGdeOcEg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLmr19VF9eO.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLmy15VFteOcEg.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLmy15VGdeOcEg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLmy15VF9eO.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLm111VFteOcEg.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLm111VGdeOcEg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLm111VF9eO.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLm81xVFteOcEg.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLm81xVGdeOcEg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiDyp8kv8JHgFVrJJLm81xVF9eO.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 100;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiGyp8kv8JHgFVrLPTucXtAKPY.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 100;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiGyp8kv8JHgFVrLPTufntAKPY.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 100;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiGyp8kv8JHgFVrLPTucHtA.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 200;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLFj_Z11lFc-K.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 200;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLFj_Z1JlFc-K.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 200;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLFj_Z1xlFQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLDz8Z11lFc-K.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLDz8Z1JlFc-K.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLDz8Z1xlFQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiEyp8kv8JHgFVrJJbecmNE.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z11lFc-K.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z11lFc-K.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLCz7Z11lFc-K.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLDD4Z11lFc-K.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLDD4Z1JlFc-K.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLDD4Z1xlFQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLBT5Z11lFc-K.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLBT5Z1JlFc-K.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLBT5Z1xlFQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\na,body,h1,h2,h3,h4,h5,h6,html,p,span{font-family:Poppins}#navbar,#navbar .bg-background-light{background:#000}#navbar #search-bar-entry{background:rgb(var(--background-dark)/var(--tw-bg-opacity))}#navbar [id^=radix].bg-background-light{border-radius:8px;background:#fff;color:rgb(var(--gray-500));border:0}#navbar .dark\\:text-gray-300{color:rgb(var(--gray-300))}#navbar .dark\\:bg-primary-light{--tw-bg-opacity:1;background-color:rgb(var(--primary-light)/var(--tw-bg-opacity))}#navbar .text-gray-800{color:rgb(var(--gray-200))}#navbar .text-gray-600{color:#d4d4d4}#topbar-cta-button .rounded-full,#topbar-cta-button .rounded-full:is(.dark *){border-radius:31px;background:#000;box-shadow:0 7.57px 30.28px 0 rgba(0,0,0,.08);border:0}#topbar-cta-button .dark\\:text-primary-light,#topbar-cta-button .dark\\:text-primary-light:is(.dark *){color:#fff;text-align:center;font-size:14px;font-style:normal;font-weight:500;line-height:20px;letter-spacing:-.084px}.bodyContainer{max-width:63rem;margin:auto;background:0 0}.bodyFull{background:url(images/hero-background-unmasked-1.svg);position:relative;overflow:hidden}.bodyContainer:is(.dark *),.bodyFull:is(.dark *){background-color:transparent}.box-full{border-radius:8px;box-shadow:0 7.57px 30.28px 0 rgba(0,0,0,.08);padding:16px 20px}.box-full:is(.dark *){background-color:#4d354d;border:1px solid rgba(255,255,255,.2)}button p{font-size:18px}button .bg-primary-light{background-color:#121213}.twocol-cntr{width:75%;margin:auto;margin-top:1rem}.gap-x-4{column-gap:1rem;row-gap:1rem}.pink-boxes .card.block{background-color:#fff;border:1px solid #d9acd9;height:161px}.pink-boxes .card.block h2{font-size:28px;font-weight:300}.my-2{margin:0}.pink-boxes.dark\\:bg-background-dark:is(.dark *),.three-col.dark\\:bg-background-dark:is(.dark *),.twocol-cntr.dark\\:bg-background-dark:is(.dark *){background-color:#0c0a0f!important;z-index:-1;border-radius:15px}.pink-boxes.dark\\:bg-background-dark:is(.dark *) .card.block{background-color:transparent;border:1px solid #494949;position:relative}.three-col.dark\\:bg-background-dark:not(.dark *),.twocol-cntr.dark\\:bg-background-dark:not(.dark *){background-color:#fff!important;z-index:-1;border-radius:15px}.bg-primary{background-color:rgb(var(--gray-950)/var(--tw-bg-opacity))}.image-boxes h2{font-size:24px;font-weight:600;line-height:32px;letter-spacing:-.2px}.subtitle{text-align:center;font-size:20px;font-style:normal;font-weight:400;line-height:28px;letter-spacing:.04px;width:70%;margin:auto}.spacer{height:80px}.resource-boxes{text-align:center}.resource-boxes .dark\\:bg-background-dark:is(.dark *){background-color:#121213}.bodyContainer hr{border-color:#e3dfe2}.bodyContainer:is(.dark *) hr{border-color:#27272a}.col-lg-6{width:50%}.footer{padding-bottom:2.5rem;display:flex;background:0 0}.footer .dark\\:bg-background-dark:is(.dark *){background-color:transparent}.footer li,.footer p{font-size:14px;font-style:normal;font-weight:600;line-height:24px;letter-spacing:-.084px;margin-top:12px}.footer li a{color:#ff2ec1}.footer .updated.col-lg-6{display:flex;justify-content:flex-end}.fa-thin.fa-headphones,.fa-thin.fa-list,.fa-thin.fa-question-circle{mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/question.svg);mask-repeat:no-repeat;mask-position:center center}.fa-thin.fa-headphones,.fa-thin.fa-list{mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/headphones.svg)}.fa-thin.fa-list{mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/list.svg)}.fa-thin:is(.dark *){background-color:#fff}.footer.bg-background-light{background-color:transparent}.dark\\:text-gray-400:is(.dark *){color:#fff}#navbar-transition{display:none}.callout{border-color:rgba(255 46 193 .5);background-color:rgba(255 46 193 .3)}"}],"page":{"pagePath":"v3/api-reference/cart/carts/create-a-cart","slug":"/v3/api-reference/cart/carts/create-a-cart","pageMetadata":{"openapi":"cart.openapi post /carts","title":"Create a cart","description":"Create a cart with items.","href":"/v3/api-reference/cart/carts/create-a-cart"},"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: \"Create a cart with items.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"cart.openapi post /carts","title":"Create a cart","description":"Create a cart with items.","href":"/v3/api-reference/cart/carts/create-a-cart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/fabric-demo/6a81ae5b5ebc4bb2/theme.js","/_mintlify/custom/fabric-demo/aebbe2ead0ce64f7/top-form.v1.js","/_mintlify/custom/fabric-demo/5b243c7a49e8f495/gtag.js"],"openApiReferenceData":{"operation":{"tags":["Carts"],"summary":"Create a cart","description":"Create a cart with items.","operationId":"createCart","parameters":["4cba60df-5cb7-41d7-8a05-5a1956e2362c","f78ae9f7-51d8-439d-adff-b719c1227787","8954e925-a56c-40f1-ba8b-2ec8804a607c"],"requestBody":"aba9056d-666c-4ee2-87e8-58d52c57bc0f","responses":{"201":"75cec2df-eb95-406b-9c76-6e9285fae7ac","400":"47da7cd0-682c-47d5-aa15-d6b9dd84966d","401":"023bb2f3-2ff4-4c35-bb53-5060d4eecf44","404":"cc73bd79-476e-41be-9178-a730c6f9fb45","500":"1ca57b8f-b2c4-41e1-b6da-fab9e0c4390e"},"method":"post","type":"path","servers":["4c20c0c8-14bd-4f40-a735-21f60e043843"],"security":["20a1046e-051e-4f50-a3b7-5cf1d98fcf6e"],"path":"/carts","baseUrlOptions":["https://api.fabric.inc/v3"],"title":"Create a cart","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4cba60df-5cb7-41d7-8a05-5a1956e2362c":{"in":"header","name":"x-fabric-tenant-id","description":"A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from [Copilot](/v3/platform/settings/account-details/getting-the-account-id). This header is required.","schema":{"type":"string","isRequired":true,"description":"A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from [Copilot](/v3/platform/settings/account-details/getting-the-account-id). This header is required.","uniqueKey":"","typeLabel":"string"},"example":"617329dfd5288b0011332311","required":true},"f78ae9f7-51d8-439d-adff-b719c1227787":{"in":"header","name":"x-fabric-channel-id","description":"x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.","schema":{"type":"string","isRequired":false,"description":"x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.","uniqueKey":"","typeLabel":"string"},"example":"12","required":false},"8954e925-a56c-40f1-ba8b-2ec8804a607c":{"in":"header","name":"x-fabric-request-id","description":"Unique request ID","schema":{"type":"string","isRequired":false,"description":"Unique request ID","uniqueKey":"","typeLabel":"string"},"example":"263e731c-45c8-11ed-b878-0242ac120002","required":false}},"requestBody":{"description":"Request body for creating and adding items to the cart","content":{"application/json":{"schema":{"description":"Line items (with details) to add to cart","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Cart name","example":"cart_it","uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Cart name","example":"cart_it","uniqueKey":"name.oneOf.1","typeLabel":"null"}],"uniqueKey":"name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Cart description","example":"IT department cart","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Cart description","example":"IT department cart","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"lineItems":{"oneOf":[{"description":"Line items to add to cart","type":"array","items":{"description":"Line items to add to cart","required":["quantity","itemId"],"type":"object","properties":{"itemId":{"type":"any","isRequired":true,"uniqueKey":"lineItems.oneOf.0.items.[INDEX].itemId","typeLabel":"any"},"quantity":{"type":"integer","description":"Number of line items in cart","format":"int32","example":1,"isRequired":true,"uniqueKey":"lineItems.oneOf.0.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"sku":{"oneOf":[{"type":"string","description":"Item SKU","example":"16B2GS8LD5FDS","uniqueKey":"lineItems.oneOf.0.items.[INDEX].sku.oneOf.0","typeLabel":"string"},{"type":"null","description":"Item SKU","example":"16B2GS8LD5FDS","uniqueKey":"lineItems.oneOf.0.items.[INDEX].sku.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].sku","typeLabel":"string | null"},"priceListId":{"oneOf":[{"type":"integer","description":"Item price list ID","format":"int32","example":100000,"uniqueKey":"lineItems.oneOf.0.items.[INDEX].priceListId.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Item price list ID","format":"int32","example":100000,"uniqueKey":"lineItems.oneOf.0.items.[INDEX].priceListId.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].priceListId","typeLabel":"integer\u003cint32> | null"},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"lineItems.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"lineItems.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"lineItems.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"description":"Additional data passed by the caller","example":{"productFamily":"Laptop computers"},"uniqueKey":"lineItems.oneOf.0.items.[INDEX].attributes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"lineItems.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"lineItems.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"lineItems.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties","typeLabel":"string | number | boolean"},"description":"Additional data passed by the caller","example":{"productFamily":"Laptop computers"},"uniqueKey":"lineItems.oneOf.0.items.[INDEX].attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].attributes","typeLabel":"object | null"},"fulfillment":{"oneOf":[{"description":"Fulfillment request details","type":"object","properties":{"type":{"oneOf":[{"type":"string","description":"Fulfillment type","example":"WEB_SDD","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fulfillment.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Fulfillment type","example":"WEB_SDD","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fulfillment.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fulfillment.oneOf.0.type","typeLabel":"string | null"},"networkCode":{"oneOf":[{"type":"string","description":"Inventory network code","example":"ShipToHome","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fulfillment.oneOf.0.networkCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Inventory network code","example":"ShipToHome","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fulfillment.oneOf.0.networkCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fulfillment.oneOf.0.networkCode","typeLabel":"string | null"},"channelId":{"description":"Sales channel","type":"string","example":"12","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fulfillment.oneOf.0.channelId","typeLabel":"string"},"inventoryType":{"type":"string","description":"Inventory type - a classifier attribute that provides flexibility to define inventory types","default":"availableToPurchase","example":"availableToPurchase","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fulfillment.oneOf.0.inventoryType","typeLabel":"string"}},"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fulfillment.oneOf.0","typeLabel":"object"},{"description":"Fulfillment request details","type":"null","properties":{"type":{"oneOf":[{"type":"string","description":"Fulfillment type","example":"WEB_SDD"},{"type":"null","description":"Fulfillment type","example":"WEB_SDD"}]},"networkCode":{"oneOf":[{"type":"string","description":"Inventory network code","example":"ShipToHome"},{"type":"null","description":"Inventory network code","example":"ShipToHome"}]},"channelId":{"description":"Sales channel","type":"string","example":"12"},"inventoryType":{"type":"string","description":"Inventory type - a classifier attribute that provides flexibility to define inventory types","default":"availableToPurchase","example":"availableToPurchase"}},"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fulfillment.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fulfillment","typeLabel":"object | null"},"fees":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"feeId":{"type":"string","description":"System-generated fee ID, in UUID format. While creating a cart or line item with fee, fabric generates this ID for the specified fee.","example":"73bc09d0-874a-4c3d-84d0-df1670d03578","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].feeId","typeLabel":"string"},"name":{"oneOf":[{"type":"string","description":"Attribute for which fee is applied","example":"gift","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Attribute for which fee is applied","example":"gift","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"Fee type","example":"gift_wrap","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Fee type","example":"gift_wrap","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].type","typeLabel":"string | null"},"amount":{"type":"number","format":"double","description":"Fee amount","default":0,"example":10.5,"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].amount","typeLabel":"number\u003cdouble>"},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"},"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties","typeLabel":"string | number | boolean"},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"},"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes","typeLabel":"object | null"}},"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"feeId":{"type":"string","description":"System-generated fee ID, in UUID format. While creating a cart or line item with fee, fabric generates this ID for the specified fee.","example":"73bc09d0-874a-4c3d-84d0-df1670d03578"},"name":{"oneOf":[{"type":"string","description":"Attribute for which fee is applied","example":"gift"},{"type":"null","description":"Attribute for which fee is applied","example":"gift"}]},"type":{"oneOf":[{"type":"string","description":"Fee type","example":"gift_wrap"},{"type":"null","description":"Fee type","example":"gift_wrap"}]},"amount":{"type":"number","format":"double","description":"Fee amount","default":0,"example":10.5},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"}},{"type":"null","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"}}]}}},"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].fees","typeLabel":"object[] | null"}},"uniqueKey":"lineItems.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.oneOf.0","typeLabel":"object[]"},{"description":"Line items to add to cart","type":"null","items":{"description":"Line items to add to cart","required":["quantity","itemId"],"type":"object","properties":{"sku":{"oneOf":[{"type":"string","description":"Item SKU","example":"16B2GS8LD5FDS"},{"type":"null","description":"Item SKU","example":"16B2GS8LD5FDS"}]},"itemId":{"type":"any"},"quantity":{"type":"integer","description":"Number of line items in cart","format":"int32","example":1},"priceListId":{"oneOf":[{"type":"integer","description":"Item price list ID","format":"int32","example":100000},{"type":"null","description":"Item price list ID","format":"int32","example":100000}]},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Additional data passed by the caller","example":{"productFamily":"Laptop computers"}},{"type":"null","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Additional data passed by the caller","example":{"productFamily":"Laptop computers"}}]},"fulfillment":{"oneOf":[{"description":"Fulfillment request details","type":"object","properties":{"type":{"oneOf":[{"type":"string","description":"Fulfillment type","example":"WEB_SDD"},{"type":"null","description":"Fulfillment type","example":"WEB_SDD"}]},"networkCode":{"oneOf":[{"type":"string","description":"Inventory network code","example":"ShipToHome"},{"type":"null","description":"Inventory network code","example":"ShipToHome"}]},"channelId":{"description":"Sales channel","type":"string","example":"12"},"inventoryType":{"type":"string","description":"Inventory type - a classifier attribute that provides flexibility to define inventory types","default":"availableToPurchase","example":"availableToPurchase"}}},{"description":"Fulfillment request details","type":"null","properties":{"type":{"oneOf":[{"type":"string","description":"Fulfillment type","example":"WEB_SDD"},{"type":"null","description":"Fulfillment type","example":"WEB_SDD"}]},"networkCode":{"oneOf":[{"type":"string","description":"Inventory network code","example":"ShipToHome"},{"type":"null","description":"Inventory network code","example":"ShipToHome"}]},"channelId":{"description":"Sales channel","type":"string","example":"12"},"inventoryType":{"type":"string","description":"Inventory type - a classifier attribute that provides flexibility to define inventory types","default":"availableToPurchase","example":"availableToPurchase"}}}]},"fees":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"feeId":{"type":"string","description":"System-generated fee ID, in UUID format. While creating a cart or line item with fee, fabric generates this ID for the specified fee.","example":"73bc09d0-874a-4c3d-84d0-df1670d03578"},"name":{"oneOf":[{"type":"string","description":"Attribute for which fee is applied","example":"gift"},{"type":"null","description":"Attribute for which fee is applied","example":"gift"}]},"type":{"oneOf":[{"type":"string","description":"Fee type","example":"gift_wrap"},{"type":"null","description":"Fee type","example":"gift_wrap"}]},"amount":{"type":"number","format":"double","description":"Fee amount","default":0,"example":10.5},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"}},{"type":"null","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"}}]}}}},{"type":"null","items":{"type":"object","properties":{"feeId":{"type":"string","description":"System-generated fee ID, in UUID format. While creating a cart or line item with fee, fabric generates this ID for the specified fee.","example":"73bc09d0-874a-4c3d-84d0-df1670d03578"},"name":{"oneOf":[{"type":"string","description":"Attribute for which fee is applied","example":"gift"},{"type":"null","description":"Attribute for which fee is applied","example":"gift"}]},"type":{"oneOf":[{"type":"string","description":"Fee type","example":"gift_wrap"},{"type":"null","description":"Fee type","example":"gift_wrap"}]},"amount":{"type":"number","format":"double","description":"Fee amount","default":0,"example":10.5},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"}},{"type":"null","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"}}]}}}}]}}},"uniqueKey":"lineItems.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems","typeLabel":"object[] | null"},"configuration":{"oneOf":[{"type":"object","description":"Cart configurations","properties":{"allowAnonymousUser":{"type":"boolean","default":true,"description":"true: Cart can be a guest cart, allowing users to configure a cart without logging in \u003cbr/> false: User must log in to configure a cart","uniqueKey":"configuration.oneOf.0.allowAnonymousUser","typeLabel":"boolean"},"orderNumberSource":{"oneOf":[{"type":"string","description":"Determines the order number \u003cbr/> CART_ID - Use `cartId` as `orderNumber` \u003cbr/> FABRIC - Represents the option of allowing the merchant to configure the order number by adding a prefix, sequenceKey, or other identifier to the fabric-generated order number. \u003cbr/> EXTERNAL - Represents the option of allowing the tenant or customer to provide a custom order number, which can align with their own internal systems or processes \u003cbr/> NONE - order number isn't required for checkout","default":"CART_ID","enum":["CART_ID","FABRIC","EXTERNAL","NONE"],"uniqueKey":"configuration.oneOf.0.orderNumberSource.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"configuration.oneOf.0.orderNumberSource.oneOf.1","typeLabel":"null"}],"uniqueKey":"configuration.oneOf.0.orderNumberSource","typeLabel":"enum\u003cstring> | null"},"isSoftReservationEnabled":{"type":"boolean","default":false,"description":"true: Soft reservation is enabled. When shoppers add items to cart, fabric reserves the items in inventory. \u003cbr/> false: fabric doesn't reserve the items when added to cart.","uniqueKey":"configuration.oneOf.0.isSoftReservationEnabled","typeLabel":"boolean"},"orderSequence":{"oneOf":[{"type":"object","required":["sequenceName"],"properties":{"sequenceName":{"type":"string","description":"Order Sequence module name","example":"ORDER_NUMBER","isRequired":true,"uniqueKey":"configuration.oneOf.0.orderSequence.oneOf.0.sequenceName","typeLabel":"string"},"sequenceKey":{"oneOf":[{"type":"string","description":"Order sequence format or variant","example":"LOCATE","uniqueKey":"configuration.oneOf.0.orderSequence.oneOf.0.sequenceKey.oneOf.0","typeLabel":"string"},{"type":"null","description":"Order sequence format or variant","example":"LOCATE","uniqueKey":"configuration.oneOf.0.orderSequence.oneOf.0.sequenceKey.oneOf.1","typeLabel":"null"}],"uniqueKey":"configuration.oneOf.0.orderSequence.oneOf.0.sequenceKey","typeLabel":"string | null"}},"uniqueKey":"configuration.oneOf.0.orderSequence.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"configuration.oneOf.0.orderSequence.oneOf.1","typeLabel":"null"}],"uniqueKey":"configuration.oneOf.0.orderSequence","typeLabel":"object | null"},"orderNumberGeneration":{"oneOf":[{"type":"string","description":"Determines the order number generation enum \u003cbr/> AUTO - Fabric will automatically generate an order number and use it during checkout \u003cbr/> MANUAL - order number is required to be passed in to the cart journey using addOrderNumber endpoint \u003cbr/> NONE - order number isn't required for checkout.","default":"NONE","enum":["AUTO","MANUAL","NONE"],"uniqueKey":"configuration.oneOf.0.orderNumberGeneration.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"configuration.oneOf.0.orderNumberGeneration.oneOf.1","typeLabel":"null"}],"uniqueKey":"configuration.oneOf.0.orderNumberGeneration","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"configuration.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"configuration.oneOf.1","typeLabel":"null"}],"uniqueKey":"configuration","typeLabel":"object | null"},"customerContext":{"oneOf":[{"type":"object","description":"Customer context","properties":{"id":{"oneOf":[{"type":"string","description":"Identifies a customer","example":"d7e78a21-bee3-4448-bf1c-d5b5461dbda2","uniqueKey":"customerContext.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifies a customer","example":"d7e78a21-bee3-4448-bf1c-d5b5461dbda2","uniqueKey":"customerContext.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerContext.oneOf.0.id","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"Customer type","example":"EMPLOYEE","uniqueKey":"customerContext.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Customer type","example":"EMPLOYEE","uniqueKey":"customerContext.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerContext.oneOf.0.type","typeLabel":"string | null"},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"customerContext.oneOf.0.attributes.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"customerContext.oneOf.0.attributes.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"customerContext.oneOf.0.attributes.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"customerContext.oneOf.0.attributes.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"description":"Customer attributes","example":{"isAdmin":false},"uniqueKey":"customerContext.oneOf.0.attributes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"customerContext.oneOf.0.attributes.oneOf.1.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"customerContext.oneOf.0.attributes.oneOf.1.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"customerContext.oneOf.0.attributes.oneOf.1.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"customerContext.oneOf.0.attributes.oneOf.1.additionalProperties","typeLabel":"string | number | boolean"},"description":"Customer attributes","example":{"isAdmin":false},"uniqueKey":"customerContext.oneOf.0.attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerContext.oneOf.0.attributes","typeLabel":"object | null"},"segments":{"oneOf":[{"type":"array","description":"The segments to which the shopper or customer belong.","items":{"type":"object","description":"The segments to which the user belong.","example":[{"name":"category","value":["GOLD","YELLOW"]}],"properties":{"name":{"description":"The segment name.","type":"string","example":"category","uniqueKey":"customerContext.oneOf.0.segments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"type":"array","description":"The segment values.","items":{"type":"string","example":"GOLD","uniqueKey":"customerContext.oneOf.0.segments.oneOf.0.items.[INDEX].value.items.[INDEX]","typeLabel":"string"},"uniqueKey":"customerContext.oneOf.0.segments.oneOf.0.items.[INDEX].value","typeLabel":"string[]"}},"uniqueKey":"customerContext.oneOf.0.segments.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"customerContext.oneOf.0.segments.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"The segments to which the shopper or customer belong.","items":{"type":"object","description":"The segments to which the user belong.","example":[{"name":"category","value":["GOLD","YELLOW"]}],"properties":{"name":{"description":"The segment name.","type":"string","example":"category"},"value":{"type":"array","description":"The segment values.","items":{"type":"string","example":"GOLD"}}}},"uniqueKey":"customerContext.oneOf.0.segments.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerContext.oneOf.0.segments","typeLabel":"object[] | null"}},"uniqueKey":"customerContext.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"customerContext.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerContext","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"cart_it","description":"IT department cart","lineItems":[{"itemId":"\u003cunknown>","quantity":1,"sku":"16B2GS8LD5FDS","priceListId":100000,"attributes":{"productFamily":"Laptop computers"},"fulfillment":{"type":"WEB_SDD","networkCode":"ShipToHome","channelId":"12","inventoryType":"availableToPurchase"},"fees":[{"feeId":"73bc09d0-874a-4c3d-84d0-df1670d03578","name":"gift","type":"gift_wrap","amount":10.5,"attributes":{"from":"sam"}}]}],"configuration":{"allowAnonymousUser":true,"orderNumberSource":"CART_ID","isSoftReservationEnabled":false,"orderSequence":{"sequenceName":"ORDER_NUMBER","sequenceKey":"LOCATE"},"orderNumberGeneration":"NONE"},"customerContext":{"id":"d7e78a21-bee3-4448-bf1c-d5b5461dbda2","type":"EMPLOYEE","attributes":{"isAdmin":false},"segments":[[{"name":"category","value":["GOLD","YELLOW"]}]]}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"75cec2df-eb95-406b-9c76-6e9285fae7ac":{"description":"Created","headers":{"x-fabric-request-id":{"description":"Unique request ID","schema":{"type":"string"},"example":"263e731c-45c8-11ed-b878-0242ac120002","required":false}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"oneOf":[{"type":"string","description":"Unique cart identifier","example":"c695af14-5e33-402c-9d8d-71edcf4856a8","uniqueKey":"id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique cart identifier","example":"c695af14-5e33-402c-9d8d-71edcf4856a8","uniqueKey":"id.oneOf.1","typeLabel":"null"}],"uniqueKey":"id","typeLabel":"string | null"},"createdAt":{"type":"string","description":"Time cart was created","format":"date-time","example":"2022-09-06T14:07:17.000Z","uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","description":"Time cart was last updated","format":"date-time","example":"2022-09-06T14:07:17.000Z","uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"name":{"oneOf":[{"type":"string","description":"Cart name","example":"cart_it","uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Cart name","example":"cart_it","uniqueKey":"name.oneOf.1","typeLabel":"null"}],"uniqueKey":"name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Cart description","example":"IT department cart","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Cart description","example":"IT department cart","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"lineItems":{"type":"array","items":{"description":"Line item details","type":"object","properties":{"id":{"oneOf":[{"type":"string","description":"Line item ID","example":"12gved0f-7645-40cb-y7b0-167f8bggdb3z","uniqueKey":"lineItems.items.[INDEX].id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Line item ID","example":"12gved0f-7645-40cb-y7b0-167f8bggdb3z","uniqueKey":"lineItems.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].id","typeLabel":"string | null"},"itemId":{"type":"any","uniqueKey":"lineItems.items.[INDEX].itemId","typeLabel":"any"},"position":{"minimum":1,"type":"integer","description":"Line item position number (starts at 1)","format":"int32","example":1,"uniqueKey":"lineItems.items.[INDEX].position","typeLabel":"integer\u003cint32>"},"name":{"oneOf":[{"type":"string","description":"Line item name","example":"Varnet Garden Light Kit","uniqueKey":"lineItems.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Line item name","example":"Varnet Garden Light Kit","uniqueKey":"lineItems.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].name","typeLabel":"string | null"},"sku":{"type":"string","description":"Line item SKU","example":"16B2GS8LD5FDS","uniqueKey":"lineItems.items.[INDEX].sku","typeLabel":"string"},"productAttributes":{"oneOf":[{"description":"Additional line item options","type":"array","items":{"description":"Product attribute as defined within Product Catalog.","required":["value","name"],"type":"object","properties":{"name":{"type":"string","description":"Attribute name","example":"gift wrapping (small)","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"Attribute value","example":"true","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Attribute value","example":"true","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].value","typeLabel":"string | null"},"attributeId":{"type":"string","description":"Attribute ID","example":"60c2a358eb2ec30008ae70a1","uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].attributeId","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Attribute description","example":"Gift wrapping for a small package","uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Attribute description","example":"Gift wrapping for a small package","uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"mapping":{"oneOf":[{"type":"string","description":"Attribute mapping","example":"ITEM","uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].mapping.oneOf.0","typeLabel":"string"},{"type":"null","description":"Attribute mapping","example":"ITEM","uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].mapping.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].mapping","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"Attribute type","example":"GIFT","uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Attribute type","example":"GIFT","uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].type","typeLabel":"string | null"},"price":{"oneOf":[{"type":"number","format":"double","description":"Attribute price","example":10,"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Attribute price","example":10,"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].price.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].price","typeLabel":"number\u003cdouble> | null"},"level":{"oneOf":[{"type":"string","description":"Attribute level","example":"order","uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].level.oneOf.0","typeLabel":"string"},{"type":"null","description":"Attribute level","example":"order","uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].level.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX].level","typeLabel":"string | null"}},"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.0","typeLabel":"object[]"},{"description":"Additional line item options","type":"null","items":{"description":"Product attribute as defined within Product Catalog.","required":["value","name"],"type":"object","properties":{"attributeId":{"type":"string","description":"Attribute ID","example":"60c2a358eb2ec30008ae70a1"},"name":{"type":"string","description":"Attribute name","example":"gift wrapping (small)"},"description":{"oneOf":[{"type":"string","description":"Attribute description","example":"Gift wrapping for a small package"},{"type":"null","description":"Attribute description","example":"Gift wrapping for a small package"}]},"mapping":{"oneOf":[{"type":"string","description":"Attribute mapping","example":"ITEM"},{"type":"null","description":"Attribute mapping","example":"ITEM"}]},"type":{"oneOf":[{"type":"string","description":"Attribute type","example":"GIFT"},{"type":"null","description":"Attribute type","example":"GIFT"}]},"value":{"oneOf":[{"type":"string","description":"Attribute value","example":"true"},{"type":"null","description":"Attribute value","example":"true"}]},"price":{"oneOf":[{"type":"number","format":"double","description":"Attribute price","example":10},{"type":"null","format":"double","description":"Attribute price","example":10}]},"level":{"oneOf":[{"type":"string","description":"Attribute level","example":"order"},{"type":"null","description":"Attribute level","example":"order"}]}}},"uniqueKey":"lineItems.items.[INDEX].productAttributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].productAttributes","typeLabel":"object[] | null"},"createdAt":{"type":"string","description":"Time line item was created","format":"date-time","example":"2022-09-06T14:07:17.000Z","uniqueKey":"lineItems.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","description":"Time line item was last updated","format":"date-time","example":"2022-09-06T14:07:17.000Z","uniqueKey":"lineItems.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"},"quantity":{"type":"integer","format":"int32","description":"Line item quantity","example":15,"uniqueKey":"lineItems.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"priceListId":{"oneOf":[{"type":"integer","description":"Line item price list ID","format":"int32","example":108674,"uniqueKey":"lineItems.items.[INDEX].priceListId.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Line item price list ID","format":"int32","example":108674,"uniqueKey":"lineItems.items.[INDEX].priceListId.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].priceListId","typeLabel":"integer\u003cint32> | null"},"isActive":{"oneOf":[{"description":"true: Item is active\u003cbr />false: Item is inactive","type":"boolean","example":true,"uniqueKey":"lineItems.items.[INDEX].isActive.oneOf.0","typeLabel":"boolean"},{"description":"true: Item is active\u003cbr />false: Item is inactive","type":"null","example":true,"uniqueKey":"lineItems.items.[INDEX].isActive.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].isActive","typeLabel":"boolean | null"},"price":{"type":"any","description":"Individual line item price","uniqueKey":"lineItems.items.[INDEX].price","typeLabel":"any"},"discounts":{"description":"Individual line item discount","type":"array","items":{"type":"any","uniqueKey":"lineItems.items.[INDEX].discounts.items.[INDEX]","typeLabel":"any"},"uniqueKey":"lineItems.items.[INDEX].discounts","typeLabel":"any[]"},"groups":{"oneOf":[{"type":"array","items":{"type":"string","description":"Group or category ID to which line item belongs","example":"61d38e117162b7dba69c3d6d","uniqueKey":"lineItems.items.[INDEX].groups.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"lineItems.items.[INDEX].groups.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string","description":"Group or category ID to which line item belongs","example":"61d38e117162b7dba69c3d6d"},"uniqueKey":"lineItems.items.[INDEX].groups.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].groups","typeLabel":"string[] | null"},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"lineItems.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"lineItems.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"lineItems.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"lineItems.items.[INDEX].attributes.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"description":"Attributes passed by caller","example":{"productFamily":"Laptop computers"},"uniqueKey":"lineItems.items.[INDEX].attributes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"lineItems.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"lineItems.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"lineItems.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"lineItems.items.[INDEX].attributes.oneOf.1.additionalProperties","typeLabel":"string | number | boolean"},"description":"Attributes passed by caller","example":{"productFamily":"Laptop computers"},"uniqueKey":"lineItems.items.[INDEX].attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].attributes","typeLabel":"object | null"},"channel":{"description":"Sales channel","type":"string","example":"12","uniqueKey":"lineItems.items.[INDEX].channel","typeLabel":"string"},"isPickup":{"description":"true: Item is set for pickup\u003cbr />false: Item is set for delivery","type":"boolean","example":true,"uniqueKey":"lineItems.items.[INDEX].isPickup","typeLabel":"boolean"},"warehouseId":{"oneOf":[{"type":"string","description":"Warehouse ID","example":"XYZ-1234","uniqueKey":"lineItems.items.[INDEX].warehouseId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Warehouse ID","example":"XYZ-1234","uniqueKey":"lineItems.items.[INDEX].warehouseId.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].warehouseId","typeLabel":"string | null"},"shippingDetails":{"type":"object","description":"Shipping details","properties":{"id":{"type":"string","description":"Shipping details ID","example":"fef78121-bee3-4448-bf1c-d5b5461dbda2","uniqueKey":"lineItems.items.[INDEX].shippingDetails.id","typeLabel":"string"},"createdAt":{"type":"string","description":"Time shipping detail was created","format":"date-time","example":"2022-09-06T14:07:17.000Z","uniqueKey":"lineItems.items.[INDEX].shippingDetails.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","description":"Time shipping detail was last updated","format":"date-time","example":"2022-09-06T14:07:17.000Z","uniqueKey":"lineItems.items.[INDEX].shippingDetails.updatedAt","typeLabel":"string\u003cdate-time>"},"address":{"type":"object","description":"Shipping address","required":["city","country","region","addressLine1","postalCode"],"properties":{"addressLine1":{"type":"string","description":"Address line 1","example":"123 Main St.","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.addressLine1","typeLabel":"string"},"city":{"type":"string","description":"City","example":"Seattle","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.city","typeLabel":"string"},"region":{"type":"string","description":"Region or state","example":"WA","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.region","typeLabel":"string"},"country":{"description":"Country (can be full name, or ISO 3166-1 alpha-2 or alpha-3 code)","type":"string","example":"USA","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.country","typeLabel":"string"},"postalCode":{"type":"string","description":"Postal or ZIP code","example":"98121","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.postalCode","typeLabel":"string"},"addressLine2":{"oneOf":[{"type":"string","description":"Address line 2","example":"Suite 100","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.addressLine2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Address line 2","example":"Suite 100","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.addressLine2.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.addressLine2","typeLabel":"string | null"},"addressLine3":{"oneOf":[{"type":"string","description":"Address line 3","example":"Seventh floor","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.addressLine3.oneOf.0","typeLabel":"string"},{"type":"null","description":"Address line 3","example":"Seventh floor","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.addressLine3.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.addressLine3","typeLabel":"string | null"},"addressLine4":{"oneOf":[{"type":"string","description":"Address line 4","example":"Attention: Pat E. Kake","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.addressLine4.oneOf.0","typeLabel":"string"},{"type":"null","description":"Address line 4","example":"Attention: Pat E. Kake","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.addressLine4.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.addressLine4","typeLabel":"string | null"},"attention":{"oneOf":[{"type":"string","description":"Address recipient","example":"Billing manager","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.attention.oneOf.0","typeLabel":"string"},{"type":"null","description":"Address recipient","example":"Billing manager","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.attention.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.attention","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","description":"Receiver's email address","example":"test@example.com","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"Receiver's email address","example":"test@example.com","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.email","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"Address type","example":"shipping","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Address type","example":"shipping","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.type","typeLabel":"string | null"},"name":{"type":"string","description":"Recipient's name","example":"Pat E Kake","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.name","typeLabel":"string"},"phone":{"type":"object","description":"Recipient's phone number and type","required":["number"],"properties":{"number":{"type":"string","description":"Phone number","example":"123-456-7899","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.phone.number","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"Phone type","example":"MOBILE","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.phone.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone type","example":"MOBILE","uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.phone.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.phone.type","typeLabel":"string | null"}},"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address.phone","typeLabel":"object"}},"uniqueKey":"lineItems.items.[INDEX].shippingDetails.address","typeLabel":"object"},"type":{"type":"string","description":"Shipping type","example":"SHIP_TO_ADDRESS","uniqueKey":"lineItems.items.[INDEX].shippingDetails.type","typeLabel":"string"},"taxCode":{"oneOf":[{"type":"string","description":"Shipping tax code","example":"FR1000","uniqueKey":"lineItems.items.[INDEX].shippingDetails.taxCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Shipping tax code","example":"FR1000","uniqueKey":"lineItems.items.[INDEX].shippingDetails.taxCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.taxCode","typeLabel":"string | null"},"isPickup":{"description":"true: Item is set for pickup\u003cbr />false: Item is set for delivery","type":"boolean","example":true,"uniqueKey":"lineItems.items.[INDEX].shippingDetails.isPickup","typeLabel":"boolean"},"altPickupPerson":{"type":"object","description":"Alternative pickup person","properties":{"name":{"type":"string","description":"Person's full name","example":"Pat E Kake","uniqueKey":"lineItems.items.[INDEX].shippingDetails.altPickupPerson.name","typeLabel":"string"},"phone":{"type":"object","description":"Phone number details","required":["number"],"properties":{"number":{"type":"string","description":"Phone number","example":"123-456-7899","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].shippingDetails.altPickupPerson.phone.number","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"Phone type","example":"MOBILE","uniqueKey":"lineItems.items.[INDEX].shippingDetails.altPickupPerson.phone.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone type","example":"MOBILE","uniqueKey":"lineItems.items.[INDEX].shippingDetails.altPickupPerson.phone.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.altPickupPerson.phone.type","typeLabel":"string | null"}},"uniqueKey":"lineItems.items.[INDEX].shippingDetails.altPickupPerson.phone","typeLabel":"object"},"email":{"oneOf":[{"type":"string","description":"Receiver's email address","example":"test@example.com","uniqueKey":"lineItems.items.[INDEX].shippingDetails.altPickupPerson.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"Receiver's email address","example":"test@example.com","uniqueKey":"lineItems.items.[INDEX].shippingDetails.altPickupPerson.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.altPickupPerson.email","typeLabel":"string | null"}},"uniqueKey":"lineItems.items.[INDEX].shippingDetails.altPickupPerson","typeLabel":"object"},"pickupPerson":{"type":"object","description":"Designated pickup person","properties":{"name":{"type":"string","description":"Person's full name","example":"Pat E Kake","uniqueKey":"lineItems.items.[INDEX].shippingDetails.pickupPerson.name","typeLabel":"string"},"phone":{"type":"object","description":"Phone number details","required":["number"],"properties":{"number":{"type":"string","description":"Phone number","example":"123-456-7899","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].shippingDetails.pickupPerson.phone.number","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"Phone type","example":"MOBILE","uniqueKey":"lineItems.items.[INDEX].shippingDetails.pickupPerson.phone.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone type","example":"MOBILE","uniqueKey":"lineItems.items.[INDEX].shippingDetails.pickupPerson.phone.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.pickupPerson.phone.type","typeLabel":"string | null"}},"uniqueKey":"lineItems.items.[INDEX].shippingDetails.pickupPerson.phone","typeLabel":"object"},"email":{"oneOf":[{"type":"string","description":"Receiver's email address","example":"test@example.com","uniqueKey":"lineItems.items.[INDEX].shippingDetails.pickupPerson.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"Receiver's email address","example":"test@example.com","uniqueKey":"lineItems.items.[INDEX].shippingDetails.pickupPerson.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.pickupPerson.email","typeLabel":"string | null"}},"uniqueKey":"lineItems.items.[INDEX].shippingDetails.pickupPerson","typeLabel":"object"},"warehouseId":{"oneOf":[{"type":"string","description":"Warehouse ID","example":"XYZ-1234","uniqueKey":"lineItems.items.[INDEX].shippingDetails.warehouseId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Warehouse ID","example":"XYZ-1234","uniqueKey":"lineItems.items.[INDEX].shippingDetails.warehouseId.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.warehouseId","typeLabel":"string | null"},"storeId":{"oneOf":[{"type":"string","description":"Store ID","example":"ABC-123","uniqueKey":"lineItems.items.[INDEX].shippingDetails.storeId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Store ID","example":"ABC-123","uniqueKey":"lineItems.items.[INDEX].shippingDetails.storeId.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.storeId","typeLabel":"string | null"},"shippingCost":{"type":"number","format":"double","description":"Shipping cost","example":150.25,"uniqueKey":"lineItems.items.[INDEX].shippingDetails.shippingCost","typeLabel":"number\u003cdouble>"},"shippingMethodId":{"type":"string","description":"Shipping method ID","example":"dfsae-2d32113-32lpdd","uniqueKey":"lineItems.items.[INDEX].shippingDetails.shippingMethodId","typeLabel":"string"},"shippingDiscount":{"type":"number","format":"double","description":"Discount amount","example":150.25,"uniqueKey":"lineItems.items.[INDEX].shippingDetails.shippingDiscount","typeLabel":"number\u003cdouble>"},"shippingMethodName":{"oneOf":[{"type":"string","description":"Shipping method name","example":"Express Delivery","uniqueKey":"lineItems.items.[INDEX].shippingDetails.shippingMethodName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Shipping method name","example":"Express Delivery","uniqueKey":"lineItems.items.[INDEX].shippingDetails.shippingMethodName.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].shippingDetails.shippingMethodName","typeLabel":"string | null"}},"uniqueKey":"lineItems.items.[INDEX].shippingDetails","typeLabel":"object"},"fulfillment":{"oneOf":[{"type":"object","description":"The fulfillment details.","properties":{"type":{"oneOf":[{"type":"string","description":"Fulfillment type","example":"WEB_SDD","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Fulfillment type","example":"WEB_SDD","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.type","typeLabel":"string | null"},"networkCode":{"oneOf":[{"type":"string","description":"Inventory network code","example":"ShipToHome","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.networkCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Inventory network code","example":"ShipToHome","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.networkCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.networkCode","typeLabel":"string | null"},"channelId":{"description":"Sales channel","type":"string","example":"12","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.channelId","typeLabel":"string"},"inventoryType":{"type":"string","description":"Inventory type - a classifier attribute that provides flexibility to define inventory types","default":"availableToPurchase","example":"availableToPurchase","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventoryType","typeLabel":"string"},"inventory":{"oneOf":[{"description":"The inventory response.","type":"object","properties":{"inventoryId":{"type":"string","description":"System-generated inventory ID. This ID is generated during inventory creation.","example":"723910d81723","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.inventoryId","typeLabel":"string"},"sku":{"type":"string","description":"Product SKU (Stock Keeping Unit) identifier. It serves as the primary reference key for the inventory and provides uniqueness to the item.","example":"SKU1","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.sku","typeLabel":"string"},"itemId":{"type":"integer","description":"Merchant-defined item ID whose inventory is created or updated. If omitted, fabric Inventory service generates the `itemId`. If you choose to use the `itemId` in your environment, you must include it in all inventory *Write* requests.","format":"int32","example":12345,"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.itemId","typeLabel":"integer\u003cint32>"},"locationNumber":{"type":"integer","description":"Represents the warehouse or store location where the inventory is stored. It's recommended to link `locationNumber` to the corresponding value in the fabric Locations service.","format":"int32","example":12345,"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.locationNumber","typeLabel":"integer\u003cint32>"},"region":{"type":"string","description":"Region where inventory is managed","example":"North America","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.region","typeLabel":"string"},"channelId":{"type":"string","description":"x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.; identifies business operations location.","example":"channel_xyz","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.channelId","typeLabel":"string"},"vendorId":{"type":"string","description":"ID of the vendor who will replenish the inventory for the retailer","example":"vendor1","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.vendorId","typeLabel":"string"},"createdAt":{"type":"string","description":"Time of inventory creation","format":"date-time","example":"2022-08-01T18:03:28.483971941Z","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","description":"Time when inventory was last updated","format":"date-time","example":"2022-08-01T20:03:28.483971941Z","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"leadTime":{"type":"string","description":"Time between when an order is placed to replenish inventory and when the order is received at warehouse","example":"5 days","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.leadTime","typeLabel":"string"},"type":{"type":"string","description":"Inventory type - a classifier attribute that provides flexibility to define inventory types","example":"primary","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.type","typeLabel":"string"},"hasInfiniteInventory":{"type":"boolean","description":"Infinite inventory flag.\u003cbr />true: Inventory can be used any number of times and doesn't have any consumption limit.\u003cbr />false: Inventory can't be used infinitely, and has a consumption limit.","example":false,"default":false,"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.hasInfiniteInventory","typeLabel":"boolean"},"backorderShipmentAt":{"type":"string","description":"Time when backorder is shipped","format":"date-time","example":"2022-08-01T20:03:28.483971941Z","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.backorderShipmentAt","typeLabel":"string\u003cdate-time>"},"preorderShipmentAt":{"type":"string","description":"Time when preorder is shipped","format":"date-time","example":"2022-08-01T20:03:28.483971941Z","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.preorderShipmentAt","typeLabel":"string\u003cdate-time>"},"backorderLimit":{"type":"integer","description":"Maximum restock inventory quantity","format":"int32","example":50,"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.backorderLimit","typeLabel":"integer\u003cint32>"},"preorderLimit":{"type":"integer","description":"Maximum first-shipping inventory quantity","format":"int32","example":40,"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.preorderLimit","typeLabel":"integer\u003cint32>"},"safetyStock":{"type":"integer","description":"Reserved inventory quantity at the location","format":"int32","example":10,"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.safetyStock","typeLabel":"integer\u003cint32>"},"lowStock":{"type":"integer","description":"Inventory quantity below which consumer service wants to be alerted as low stock at the location","format":"int32","example":10,"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.lowStock","typeLabel":"integer\u003cint32>"},"networkCode":{"type":"string","description":"Code of the network to which the inventory belongs","example":"ShipToHome","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.networkCode","typeLabel":"string"},"counters":{"type":"object","additionalProperties":{"type":"integer","description":"Merchant-defined inventory counter (also known as inventory position)","format":"int32","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.counters.additionalProperties","typeLabel":"integer\u003cint32>"},"description":"Merchant-defined inventory counter (also known as inventory position)","example":{"onHand":100,"allocated":10,"shipped":20},"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.counters","typeLabel":"object"},"customAttributes":{"type":"object","additionalProperties":{"type":"string","description":"Placeholder for additional info","example":"{\"isBopis\":true}","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.customAttributes.additionalProperties","typeLabel":"string"},"description":"Placeholder for additional info","example":{"isBopis":true},"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.customAttributes","typeLabel":"object"},"networkCounters":{"type":"object","additionalProperties":{"type":"integer","description":"Indicates inventory positions at network","format":"int32","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.networkCounters.additionalProperties","typeLabel":"integer\u003cint32>"},"description":"Indicates inventory positions at network","example":{"softReserve":10},"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.networkCounters","typeLabel":"object"},"virtualCounters":{"type":"object","additionalProperties":{"type":"integer","format":"int32","description":"Virtual counters are calculated at run time from counters","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.virtualCounters.additionalProperties","typeLabel":"integer\u003cint32>"},"description":"Virtual counters are calculated at run time from counters","example":{"availableToPurchase":60},"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0.virtualCounters","typeLabel":"object"}},"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.0","typeLabel":"object"},{"description":"The inventory response.","type":"null","properties":{"inventoryId":{"type":"string","description":"System-generated inventory ID. This ID is generated during inventory creation.","example":"723910d81723"},"sku":{"type":"string","description":"Product SKU (Stock Keeping Unit) identifier. It serves as the primary reference key for the inventory and provides uniqueness to the item.","example":"SKU1"},"itemId":{"type":"integer","description":"Merchant-defined item ID whose inventory is created or updated. If omitted, fabric Inventory service generates the `itemId`. If you choose to use the `itemId` in your environment, you must include it in all inventory *Write* requests.","format":"int32","example":12345},"locationNumber":{"type":"integer","description":"Represents the warehouse or store location where the inventory is stored. It's recommended to link `locationNumber` to the corresponding value in the fabric Locations service.","format":"int32","example":12345},"region":{"type":"string","description":"Region where inventory is managed","example":"North America"},"channelId":{"type":"string","description":"x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.; identifies business operations location.","example":"channel_xyz"},"vendorId":{"type":"string","description":"ID of the vendor who will replenish the inventory for the retailer","example":"vendor1"},"createdAt":{"type":"string","description":"Time of inventory creation","format":"date-time","example":"2022-08-01T18:03:28.483971941Z"},"updatedAt":{"type":"string","description":"Time when inventory was last updated","format":"date-time","example":"2022-08-01T20:03:28.483971941Z"},"leadTime":{"type":"string","description":"Time between when an order is placed to replenish inventory and when the order is received at warehouse","example":"5 days"},"type":{"type":"string","description":"Inventory type - a classifier attribute that provides flexibility to define inventory types","example":"primary"},"hasInfiniteInventory":{"type":"boolean","description":"Infinite inventory flag.\u003cbr />true: Inventory can be used any number of times and doesn't have any consumption limit.\u003cbr />false: Inventory can't be used infinitely, and has a consumption limit.","example":false,"default":false},"backorderShipmentAt":{"type":"string","description":"Time when backorder is shipped","format":"date-time","example":"2022-08-01T20:03:28.483971941Z"},"preorderShipmentAt":{"type":"string","description":"Time when preorder is shipped","format":"date-time","example":"2022-08-01T20:03:28.483971941Z"},"backorderLimit":{"type":"integer","description":"Maximum restock inventory quantity","format":"int32","example":50},"preorderLimit":{"type":"integer","description":"Maximum first-shipping inventory quantity","format":"int32","example":40},"safetyStock":{"type":"integer","description":"Reserved inventory quantity at the location","format":"int32","example":10},"lowStock":{"type":"integer","description":"Inventory quantity below which consumer service wants to be alerted as low stock at the location","format":"int32","example":10},"networkCode":{"type":"string","description":"Code of the network to which the inventory belongs","example":"ShipToHome"},"counters":{"type":"object","additionalProperties":{"type":"integer","description":"Merchant-defined inventory counter (also known as inventory position)","format":"int32"},"description":"Merchant-defined inventory counter (also known as inventory position)","example":{"onHand":100,"allocated":10,"shipped":20}},"customAttributes":{"type":"object","additionalProperties":{"type":"string","description":"Placeholder for additional info","example":"{\"isBopis\":true}"},"description":"Placeholder for additional info","example":{"isBopis":true}},"networkCounters":{"type":"object","additionalProperties":{"type":"integer","description":"Indicates inventory positions at network","format":"int32"},"description":"Indicates inventory positions at network","example":{"softReserve":10}},"virtualCounters":{"type":"object","additionalProperties":{"type":"integer","format":"int32","description":"Virtual counters are calculated at run time from counters"},"description":"Virtual counters are calculated at run time from counters","example":{"availableToPurchase":60}}},"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0.inventory","typeLabel":"object | null"}},"uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"lineItems.items.[INDEX].fulfillment.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].fulfillment","typeLabel":"object | null"},"fees":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"feeId":{"type":"string","description":"System-generated fee ID, in UUID format. While creating a cart or line item with fee, fabric generates this ID for the specified fee.","example":"73bc09d0-874a-4c3d-84d0-df1670d03578","uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].feeId","typeLabel":"string"},"name":{"oneOf":[{"type":"string","description":"Attribute for which fee is applied","example":"gift","uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Attribute for which fee is applied","example":"gift","uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"Fee type","example":"gift_wrap","uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Fee type","example":"gift_wrap","uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].type","typeLabel":"string | null"},"amount":{"type":"number","format":"double","description":"Fee amount","default":0,"example":10.5,"uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].amount","typeLabel":"number\u003cdouble>"},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"},"uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties","typeLabel":"string | number | boolean"},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"},"uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX].attributes","typeLabel":"object | null"}},"uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.items.[INDEX].fees.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"feeId":{"type":"string","description":"System-generated fee ID, in UUID format. While creating a cart or line item with fee, fabric generates this ID for the specified fee.","example":"73bc09d0-874a-4c3d-84d0-df1670d03578"},"name":{"oneOf":[{"type":"string","description":"Attribute for which fee is applied","example":"gift"},{"type":"null","description":"Attribute for which fee is applied","example":"gift"}]},"type":{"oneOf":[{"type":"string","description":"Fee type","example":"gift_wrap"},{"type":"null","description":"Fee type","example":"gift_wrap"}]},"amount":{"type":"number","format":"double","description":"Fee amount","default":0,"example":10.5},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"}},{"type":"null","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"}}]}}},"uniqueKey":"lineItems.items.[INDEX].fees.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].fees","typeLabel":"object[] | null"},"adjustments":{"oneOf":[{"type":"array","items":{"description":"Price adjustment details for the specified line item or the specified cart","required":["id","amount","reason"],"type":"object","properties":{"id":{"type":"string","description":"Price adjustment ID; it identifies a single price adjustment object within the price adjustments array.","example":"c695af14-5e33-402c-9d8d-71edcf4856a8","nullable":false,"isRequired":true,"uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].id","typeLabel":"string"},"amount":{"type":"number","description":"Amount by which the line item's total amount or the specified cart's total amount is adjusted","format":"double","example":60.5,"isRequired":true,"uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].amount","typeLabel":"number\u003cdouble>"},"reason":{"type":"string","description":"Price adjustment reason","example":"CSR Adjustment","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"description":"Placeholder for additional information","example":{"productFamily":"Laptop computers"},"uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].attributes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties","typeLabel":"string | number | boolean"},"description":"Placeholder for additional information","example":{"productFamily":"Laptop computers"},"uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].attributes","typeLabel":"object | null"},"createdAt":{"type":"string","description":"Time cart was created","format":"date-time","example":"2022-09-06T14:07:17.000Z","uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","description":"Time cart was last updated","format":"date-time","example":"2022-09-06T14:07:17.000Z","uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"description":"Price adjustment details for the specified line item or the specified cart","required":["id","amount","reason"],"type":"object","properties":{"id":{"type":"string","description":"Price adjustment ID; it identifies a single price adjustment object within the price adjustments array.","example":"c695af14-5e33-402c-9d8d-71edcf4856a8","nullable":false},"amount":{"type":"number","description":"Amount by which the line item's total amount or the specified cart's total amount is adjusted","format":"double","example":60.5},"reason":{"type":"string","description":"Price adjustment reason","example":"CSR Adjustment"},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Placeholder for additional information","example":{"productFamily":"Laptop computers"}},{"type":"null","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Placeholder for additional information","example":{"productFamily":"Laptop computers"}}]},"createdAt":{"type":"string","description":"Time cart was created","format":"date-time","example":"2022-09-06T14:07:17.000Z"},"updatedAt":{"type":"string","description":"Time cart was last updated","format":"date-time","example":"2022-09-06T14:07:17.000Z"}}},"uniqueKey":"lineItems.items.[INDEX].adjustments.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].adjustments","typeLabel":"object[] | null"}},"uniqueKey":"lineItems.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems","typeLabel":"object[]"},"totalItems":{"oneOf":[{"type":"integer","description":"Number of line items in the cart","format":"int32","example":3,"uniqueKey":"totalItems.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Number of line items in the cart","format":"int32","example":3,"uniqueKey":"totalItems.oneOf.1","typeLabel":"null"}],"uniqueKey":"totalItems","typeLabel":"integer\u003cint32> | null"},"totalUniqueItems":{"oneOf":[{"type":"integer","description":"Number of different (unique) line items in the cart based on line item ID","format":"int32","example":2,"uniqueKey":"totalUniqueItems.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Number of different (unique) line items in the cart based on line item ID","format":"int32","example":2,"uniqueKey":"totalUniqueItems.oneOf.1","typeLabel":"null"}],"uniqueKey":"totalUniqueItems","typeLabel":"integer\u003cint32> | null"},"status":{"type":"string","description":"Cart status \u003cbr/> `PENDING` - Cart is in pending state \u003cbr/> `DELETED` - Cart is in deleted state","enum":["PENDING","DELETED"],"example":"PENDING","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"accountId":{"oneOf":[{"type":"string","description":"Customer account ID","example":"5f689caa4216e7000750d1ef","uniqueKey":"accountId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Customer account ID","example":"5f689caa4216e7000750d1ef","uniqueKey":"accountId.oneOf.1","typeLabel":"null"}],"uniqueKey":"accountId","typeLabel":"string | null"},"configuration":{"oneOf":[{"type":"object","description":"Cart configurations","properties":{"allowAnonymousUser":{"type":"boolean","default":true,"description":"true: Cart can be a guest cart, allowing users to configure a cart without logging in \u003cbr/> false: User must log in to configure a cart","uniqueKey":"configuration.oneOf.0.allowAnonymousUser","typeLabel":"boolean"},"orderNumberSource":{"oneOf":[{"type":"string","description":"Determines the order number \u003cbr/> CART_ID - Use `cartId` as `orderNumber` \u003cbr/> FABRIC - Represents the option of allowing the merchant to configure the order number by adding a prefix, sequenceKey, or other identifier to the fabric-generated order number. \u003cbr/> EXTERNAL - Represents the option of allowing the tenant or customer to provide a custom order number, which can align with their own internal systems or processes \u003cbr/> NONE - order number isn't required for checkout","default":"CART_ID","enum":["CART_ID","FABRIC","EXTERNAL","NONE"],"uniqueKey":"configuration.oneOf.0.orderNumberSource.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"configuration.oneOf.0.orderNumberSource.oneOf.1","typeLabel":"null"}],"uniqueKey":"configuration.oneOf.0.orderNumberSource","typeLabel":"enum\u003cstring> | null"},"isSoftReservationEnabled":{"type":"boolean","default":false,"description":"true: Soft reservation is enabled. When shoppers add items to cart, fabric reserves the items in inventory. \u003cbr/> false: fabric doesn't reserve the items when added to cart.","uniqueKey":"configuration.oneOf.0.isSoftReservationEnabled","typeLabel":"boolean"},"orderSequence":{"oneOf":[{"type":"object","required":["sequenceName"],"properties":{"sequenceName":{"type":"string","description":"Order Sequence module name","example":"ORDER_NUMBER","isRequired":true,"uniqueKey":"configuration.oneOf.0.orderSequence.oneOf.0.sequenceName","typeLabel":"string"},"sequenceKey":{"oneOf":[{"type":"string","description":"Order sequence format or variant","example":"LOCATE","uniqueKey":"configuration.oneOf.0.orderSequence.oneOf.0.sequenceKey.oneOf.0","typeLabel":"string"},{"type":"null","description":"Order sequence format or variant","example":"LOCATE","uniqueKey":"configuration.oneOf.0.orderSequence.oneOf.0.sequenceKey.oneOf.1","typeLabel":"null"}],"uniqueKey":"configuration.oneOf.0.orderSequence.oneOf.0.sequenceKey","typeLabel":"string | null"}},"uniqueKey":"configuration.oneOf.0.orderSequence.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"configuration.oneOf.0.orderSequence.oneOf.1","typeLabel":"null"}],"uniqueKey":"configuration.oneOf.0.orderSequence","typeLabel":"object | null"},"orderNumberGeneration":{"oneOf":[{"type":"string","description":"Determines the order number generation enum \u003cbr/> AUTO - Fabric will automatically generate an order number and use it during checkout \u003cbr/> MANUAL - order number is required to be passed in to the cart journey using addOrderNumber endpoint \u003cbr/> NONE - order number isn't required for checkout.","default":"NONE","enum":["AUTO","MANUAL","NONE"],"uniqueKey":"configuration.oneOf.0.orderNumberGeneration.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"configuration.oneOf.0.orderNumberGeneration.oneOf.1","typeLabel":"null"}],"uniqueKey":"configuration.oneOf.0.orderNumberGeneration","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"configuration.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"configuration.oneOf.1","typeLabel":"null"}],"uniqueKey":"configuration","typeLabel":"object | null"},"customerContext":{"oneOf":[{"type":"object","description":"Customer context","properties":{"id":{"oneOf":[{"type":"string","description":"Identifies a customer","example":"d7e78a21-bee3-4448-bf1c-d5b5461dbda2","uniqueKey":"customerContext.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifies a customer","example":"d7e78a21-bee3-4448-bf1c-d5b5461dbda2","uniqueKey":"customerContext.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerContext.oneOf.0.id","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"Customer type","example":"EMPLOYEE","uniqueKey":"customerContext.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Customer type","example":"EMPLOYEE","uniqueKey":"customerContext.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerContext.oneOf.0.type","typeLabel":"string | null"},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"customerContext.oneOf.0.attributes.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"customerContext.oneOf.0.attributes.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"customerContext.oneOf.0.attributes.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"customerContext.oneOf.0.attributes.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"description":"Customer attributes","example":{"isAdmin":false},"uniqueKey":"customerContext.oneOf.0.attributes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"customerContext.oneOf.0.attributes.oneOf.1.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"customerContext.oneOf.0.attributes.oneOf.1.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"customerContext.oneOf.0.attributes.oneOf.1.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"customerContext.oneOf.0.attributes.oneOf.1.additionalProperties","typeLabel":"string | number | boolean"},"description":"Customer attributes","example":{"isAdmin":false},"uniqueKey":"customerContext.oneOf.0.attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerContext.oneOf.0.attributes","typeLabel":"object | null"},"segments":{"oneOf":[{"type":"array","description":"The segments to which the shopper or customer belong.","items":{"type":"object","description":"The segments to which the user belong.","example":[{"name":"category","value":["GOLD","YELLOW"]}],"properties":{"name":{"description":"The segment name.","type":"string","example":"category","uniqueKey":"customerContext.oneOf.0.segments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"type":"array","description":"The segment values.","items":{"type":"string","example":"GOLD","uniqueKey":"customerContext.oneOf.0.segments.oneOf.0.items.[INDEX].value.items.[INDEX]","typeLabel":"string"},"uniqueKey":"customerContext.oneOf.0.segments.oneOf.0.items.[INDEX].value","typeLabel":"string[]"}},"uniqueKey":"customerContext.oneOf.0.segments.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"customerContext.oneOf.0.segments.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"The segments to which the shopper or customer belong.","items":{"type":"object","description":"The segments to which the user belong.","example":[{"name":"category","value":["GOLD","YELLOW"]}],"properties":{"name":{"description":"The segment name.","type":"string","example":"category"},"value":{"type":"array","description":"The segment values.","items":{"type":"string","example":"GOLD"}}}},"uniqueKey":"customerContext.oneOf.0.segments.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerContext.oneOf.0.segments","typeLabel":"object[] | null"}},"uniqueKey":"customerContext.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"customerContext.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerContext","typeLabel":"object | null"},"totalAmount":{"oneOf":[{"type":"number","description":"Total price of line items after discount, including shipping and shipping discount","format":"double","example":10,"uniqueKey":"totalAmount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Total price of line items after discount, including shipping and shipping discount","format":"double","example":10,"uniqueKey":"totalAmount.oneOf.1","typeLabel":"null"},{"type":"null","description":"Total price of line items after discount, including shipping and shipping discount","format":"double","example":10,"uniqueKey":"totalAmount.oneOf.2","typeLabel":"null"}],"uniqueKey":"totalAmount","typeLabel":"number\u003cdouble> · null · null"},"totalDiscount":{"oneOf":[{"type":"number","description":"Total discount applied to cart","format":"double","example":10,"uniqueKey":"totalDiscount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Total discount applied to cart","format":"double","example":10,"uniqueKey":"totalDiscount.oneOf.1","typeLabel":"null"},{"type":"null","description":"Total discount applied to cart","format":"double","example":10,"uniqueKey":"totalDiscount.oneOf.2","typeLabel":"null"}],"uniqueKey":"totalDiscount","typeLabel":"number\u003cdouble> · null · null"},"totalFees":{"oneOf":[{"type":"number","description":"Total fees applied to cart","format":"double","example":10,"uniqueKey":"totalFees.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Total fees applied to cart","format":"double","example":10,"uniqueKey":"totalFees.oneOf.1","typeLabel":"null"},{"type":"null","description":"Total fees applied to cart","format":"double","example":10,"uniqueKey":"totalFees.oneOf.2","typeLabel":"null"}],"uniqueKey":"totalFees","typeLabel":"number\u003cdouble> · null · null"},"subTotal":{"oneOf":[{"type":"number","description":"Total price of line items, including shipping, without discount","format":"double","example":10,"uniqueKey":"subTotal.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Total price of line items, including shipping, without discount","format":"double","example":10,"uniqueKey":"subTotal.oneOf.1","typeLabel":"null"},{"type":"null","description":"Total price of line items, including shipping, without discount","format":"double","example":10,"uniqueKey":"subTotal.oneOf.2","typeLabel":"null"}],"uniqueKey":"subTotal","typeLabel":"number\u003cdouble> · null · null"},"currency":{"type":"string","description":"Currency type","example":"USD","default":"USD","uniqueKey":"currency","typeLabel":"string"},"attributes":{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"attributes.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"attributes.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"attributes.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"attributes.additionalProperties","typeLabel":"string | number | boolean"},"description":"Cart attributes","example":{"approver":"620d8896058edb0009385311"},"uniqueKey":"attributes","typeLabel":"object"},"appliedDiscounts":{"description":"Applied discounts","type":"array","items":{"type":"object","description":"Discount details","example":{"promotionId":"6197ec46e836ff000952c665","promotionName":"Buy shoes get socks for free","couponCode":"SUPERCOUPON20","type":"COUPON","amount":105.15},"properties":{"promotionId":{"oneOf":[{"type":"string","description":"Promotion ID","example":"6197ec46e836ff000952c664","uniqueKey":"appliedDiscounts.items.[INDEX].promotionId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Promotion ID","example":"6197ec46e836ff000952c664","uniqueKey":"appliedDiscounts.items.[INDEX].promotionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"appliedDiscounts.items.[INDEX].promotionId","typeLabel":"string | null"},"couponCode":{"oneOf":[{"type":"string","description":"Coupon code","example":"SUPERCOUPON20","uniqueKey":"appliedDiscounts.items.[INDEX].couponCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Coupon code","example":"SUPERCOUPON20","uniqueKey":"appliedDiscounts.items.[INDEX].couponCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"appliedDiscounts.items.[INDEX].couponCode","typeLabel":"string | null"},"promotionName":{"oneOf":[{"type":"string","description":"Promotion name","example":"20% off","uniqueKey":"appliedDiscounts.items.[INDEX].promotionName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Promotion name","example":"20% off","uniqueKey":"appliedDiscounts.items.[INDEX].promotionName.oneOf.1","typeLabel":"null"}],"uniqueKey":"appliedDiscounts.items.[INDEX].promotionName","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"Promotion type","example":"COUPON","uniqueKey":"appliedDiscounts.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Promotion type","example":"COUPON","uniqueKey":"appliedDiscounts.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"appliedDiscounts.items.[INDEX].type","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"number","description":"Discount amount","format":"double","example":10.15,"uniqueKey":"appliedDiscounts.items.[INDEX].amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Discount amount","format":"double","example":10.15,"uniqueKey":"appliedDiscounts.items.[INDEX].amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"appliedDiscounts.items.[INDEX].amount","typeLabel":"number\u003cdouble> | null"}},"uniqueKey":"appliedDiscounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"appliedDiscounts","typeLabel":"object[]"},"fees":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"feeId":{"type":"string","description":"System-generated fee ID, in UUID format. While creating a cart or line item with fee, fabric generates this ID for the specified fee.","example":"73bc09d0-874a-4c3d-84d0-df1670d03578","uniqueKey":"fees.oneOf.0.items.[INDEX].feeId","typeLabel":"string"},"name":{"oneOf":[{"type":"string","description":"Attribute for which fee is applied","example":"gift","uniqueKey":"fees.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Attribute for which fee is applied","example":"gift","uniqueKey":"fees.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"Fee type","example":"gift_wrap","uniqueKey":"fees.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Fee type","example":"gift_wrap","uniqueKey":"fees.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.oneOf.0.items.[INDEX].type","typeLabel":"string | null"},"amount":{"type":"number","format":"double","description":"Fee amount","default":0,"example":10.5,"uniqueKey":"fees.oneOf.0.items.[INDEX].amount","typeLabel":"number\u003cdouble>"},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"fees.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"fees.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"fees.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"fees.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"},"uniqueKey":"fees.oneOf.0.items.[INDEX].attributes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"fees.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"fees.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"fees.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"fees.oneOf.0.items.[INDEX].attributes.oneOf.1.additionalProperties","typeLabel":"string | number | boolean"},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"},"uniqueKey":"fees.oneOf.0.items.[INDEX].attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.oneOf.0.items.[INDEX].attributes","typeLabel":"object | null"}},"uniqueKey":"fees.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fees.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"feeId":{"type":"string","description":"System-generated fee ID, in UUID format. While creating a cart or line item with fee, fabric generates this ID for the specified fee.","example":"73bc09d0-874a-4c3d-84d0-df1670d03578"},"name":{"oneOf":[{"type":"string","description":"Attribute for which fee is applied","example":"gift"},{"type":"null","description":"Attribute for which fee is applied","example":"gift"}]},"type":{"oneOf":[{"type":"string","description":"Fee type","example":"gift_wrap"},{"type":"null","description":"Fee type","example":"gift_wrap"}]},"amount":{"type":"number","format":"double","description":"Fee amount","default":0,"example":10.5},"attributes":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"}},{"type":"null","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Placeholder for additional information in `key:value` pairs","example":{"from":"sam"}}]}}},"uniqueKey":"fees.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees","typeLabel":"object[] | null"},"suggestedProducts":{"oneOf":[{"type":"array","description":"Suggested free products","items":{"type":"object","description":"Complimentary or free products offered to shoppers in the context of BuyGet and SpendGet promotions.","properties":{"promotionId":{"oneOf":[{"type":"string","description":"The promotion ID","example":"6197ec46e836ff000952c665","uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].promotionId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The promotion ID","example":"6197ec46e836ff000952c665","uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].promotionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].promotionId","typeLabel":"string | null"},"promotionName":{"oneOf":[{"type":"string","description":"The promotion name","example":"Buy shoes get socks for free","uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].promotionName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The promotion name","example":"Buy shoes get socks for free","uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].promotionName.oneOf.1","typeLabel":"null"}],"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].promotionName","typeLabel":"string | null"},"itemId":{"oneOf":[{"type":"integer","description":"The item ID of the free product","format":"int32","example":234343,"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].itemId.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"The item ID of the free product","format":"int32","example":234343,"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].itemId.oneOf.1","typeLabel":"null"}],"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].itemId","typeLabel":"integer\u003cint32> | null"},"itemIds":{"type":"array","description":"The suggested item IDs from which shoppers can choose one or more items based on the configuration of BuyGet promotion. Even if an item ID is already in the cart, they appear in the list of potential item IDs. This ensures visibility and enables shoppers to make informed decisions during the checkout process.","items":{"type":"integer","description":"The item ID of the free product.","format":"int32","example":500001,"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].itemIds.items.[INDEX]","typeLabel":"integer\u003cint32>"},"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].itemIds","typeLabel":"integer\u003cint32>[]"},"sku":{"type":"string","description":"The Stock Keeping Unit (SKU) of the free product.","example":"SHOE1234","uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].sku","typeLabel":"string"},"skus":{"type":"array","description":"The suggested SKUs from which shoppers can choose one or more items based on the configuration of BuyGet promotion. Even if an SKU is already in the cart, they appear in the list of potential SKUs. This ensures visibility and enables shoppers to make informed decisions during the checkout process.","items":{"type":"string","description":"The Stock Keeping Unit (SKU) of the free product.","example":"SHOE-4","uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].skus.items.[INDEX]","typeLabel":"string"},"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].skus","typeLabel":"string[]"},"eligiblePriceLists":{"type":"array","description":"The price list IDs eligible for promotion. When they're not specified, promotion applies to all price lists.","items":{"type":"integer","description":"The price list ID.","format":"int32","example":1000,"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].eligiblePriceLists.items.[INDEX]","typeLabel":"integer\u003cint32>"},"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].eligiblePriceLists","typeLabel":"integer\u003cint32>[]"},"quantity":{"type":"integer","description":"The number of complimentary items in the promotion.","format":"int32","example":2,"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"promotionQuantity":{"type":"integer","description":"The maximum limit of complimentary items available for the BuyGet promotion. For example, consider the `promotionQuantity` is 10 and promotion condition is Buy 1 pair of shoes and Get 1 pair of socks free. If a shopper purchases up to 10 pairs of shoes, they will get an equivalent number of socks for free. However, even if they buy more than 10 pairs of shoes, the maximum free pairs of socks will remain 10, as defined by the `promotionQuantity` parameter.","format":"int32","example":10,"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].promotionQuantity","typeLabel":"integer\u003cint32>"},"isFree":{"type":"boolean","description":"A flag indicating whether a free item is included as part of promotion. Set to `true` to indicate a free item is offered as promotion and `false` to indicate otherwise.","uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].isFree","typeLabel":"boolean"},"discountType":{"type":"string","description":"The type of discount.","example":"PERCENTAGE_OFF","uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].discountType","typeLabel":"string"},"amount":{"type":"number","description":"The discount amount.","format":"double","example":100.15,"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX].amount","typeLabel":"number\u003cdouble>"}},"uniqueKey":"suggestedProducts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"suggestedProducts.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Suggested free products","items":{"type":"object","description":"Complimentary or free products offered to shoppers in the context of BuyGet and SpendGet promotions.","properties":{"promotionId":{"oneOf":[{"type":"string","description":"The promotion ID","example":"6197ec46e836ff000952c665"},{"type":"null","description":"The promotion ID","example":"6197ec46e836ff000952c665"}]},"promotionName":{"oneOf":[{"type":"string","description":"The promotion name","example":"Buy shoes get socks for free"},{"type":"null","description":"The promotion name","example":"Buy shoes get socks for free"}]},"itemId":{"oneOf":[{"type":"integer","description":"The item ID of the free product","format":"int32","example":234343},{"type":"null","description":"The item ID of the free product","format":"int32","example":234343}]},"itemIds":{"type":"array","description":"The suggested item IDs from which shoppers can choose one or more items based on the configuration of BuyGet promotion. Even if an item ID is already in the cart, they appear in the list of potential item IDs. This ensures visibility and enables shoppers to make informed decisions during the checkout process.","items":{"type":"integer","description":"The item ID of the free product.","format":"int32","example":500001}},"sku":{"type":"string","description":"The Stock Keeping Unit (SKU) of the free product.","example":"SHOE1234"},"skus":{"type":"array","description":"The suggested SKUs from which shoppers can choose one or more items based on the configuration of BuyGet promotion. Even if an SKU is already in the cart, they appear in the list of potential SKUs. This ensures visibility and enables shoppers to make informed decisions during the checkout process.","items":{"type":"string","description":"The Stock Keeping Unit (SKU) of the free product.","example":"SHOE-4"}},"eligiblePriceLists":{"type":"array","description":"The price list IDs eligible for promotion. When they're not specified, promotion applies to all price lists.","items":{"type":"integer","description":"The price list ID.","format":"int32","example":1000}},"quantity":{"type":"integer","description":"The number of complimentary items in the promotion.","format":"int32","example":2},"promotionQuantity":{"type":"integer","description":"The maximum limit of complimentary items available for the BuyGet promotion. For example, consider the `promotionQuantity` is 10 and promotion condition is Buy 1 pair of shoes and Get 1 pair of socks free. If a shopper purchases up to 10 pairs of shoes, they will get an equivalent number of socks for free. However, even if they buy more than 10 pairs of shoes, the maximum free pairs of socks will remain 10, as defined by the `promotionQuantity` parameter.","format":"int32","example":10},"isFree":{"type":"boolean","description":"A flag indicating whether a free item is included as part of promotion. Set to `true` to indicate a free item is offered as promotion and `false` to indicate otherwise."},"discountType":{"type":"string","description":"The type of discount.","example":"PERCENTAGE_OFF"},"amount":{"type":"number","description":"The discount amount.","format":"double","example":100.15}}},"uniqueKey":"suggestedProducts.oneOf.1","typeLabel":"null"}],"uniqueKey":"suggestedProducts","typeLabel":"object[] | null"},"orderNumber":{"oneOf":[{"type":"string","description":"The order number","example":"121213","uniqueKey":"orderNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The order number","example":"121213","uniqueKey":"orderNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"orderNumber","typeLabel":"string | null"},"error":{"type":"object","description":"Errors in this cart","properties":{"prices":{"description":"Offers","type":"array","items":{"description":"Offer details","required":["channel","price"],"type":"object","properties":{"price":{"type":"object","description":"Calculated price details of line items","example":{"sale":1000.15,"cost":900.15,"base":2000.15,"unitPriceWithoutDiscounts":2000.15,"lineTotalWithoutDiscounts":2000.15,"lineTotalWithDiscounts":2000.15,"type":"BASE"},"properties":{"sale":{"oneOf":[{"type":"number","description":"Price at which the product is offered for sale","format":"double","example":1000.15,"uniqueKey":"error.prices.items.[INDEX].price.sale.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Price at which the product is offered for sale","format":"double","example":1000.15,"uniqueKey":"error.prices.items.[INDEX].price.sale.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.prices.items.[INDEX].price.sale","typeLabel":"number\u003cdouble> | null"},"cost":{"type":"number","description":"Cost of goods sold, from either producing or purchasing from other vendors","format":"double","example":900.15,"uniqueKey":"error.prices.items.[INDEX].price.cost","typeLabel":"number\u003cdouble>"},"base":{"type":"number","description":"Starting price of a single item","format":"double","example":2000.15,"uniqueKey":"error.prices.items.[INDEX].price.base","typeLabel":"number\u003cdouble>"},"unitPriceWithoutDiscounts":{"oneOf":[{"type":"number","description":"Price of a single item without discount. This price is either the `base` or `sale` price. The type used is noted in the `type` property.","format":"double","example":2000.15,"uniqueKey":"error.prices.items.[INDEX].price.unitPriceWithoutDiscounts.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Price of a single item without discount. This price is either the `base` or `sale` price. The type used is noted in the `type` property.","format":"double","example":2000.15,"uniqueKey":"error.prices.items.[INDEX].price.unitPriceWithoutDiscounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.prices.items.[INDEX].price.unitPriceWithoutDiscounts","typeLabel":"number\u003cdouble> | null"},"lineTotalWithoutDiscounts":{"oneOf":[{"type":"number","description":"Total price of all items without calculating discounts. This is the `unitPriceWithoutDiscounts` multiplied by the quantity.","format":"double","example":5000.15,"uniqueKey":"error.prices.items.[INDEX].price.lineTotalWithoutDiscounts.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Total price of all items without calculating discounts. This is the `unitPriceWithoutDiscounts` multiplied by the quantity.","format":"double","example":5000.15,"uniqueKey":"error.prices.items.[INDEX].price.lineTotalWithoutDiscounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.prices.items.[INDEX].price.lineTotalWithoutDiscounts","typeLabel":"number\u003cdouble> | null"},"lineTotalWithDiscounts":{"oneOf":[{"type":"number","description":"Total price of all items after all discounts. This is the unitPriceWithoutDiscounts multiplied by the quantity, less the promotion discounts.","format":"double","example":5000.15,"uniqueKey":"error.prices.items.[INDEX].price.lineTotalWithDiscounts.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Total price of all items after all discounts. This is the unitPriceWithoutDiscounts multiplied by the quantity, less the promotion discounts.","format":"double","example":5000.15,"uniqueKey":"error.prices.items.[INDEX].price.lineTotalWithDiscounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.prices.items.[INDEX].price.lineTotalWithDiscounts","typeLabel":"number\u003cdouble> | null"},"type":{"oneOf":[{"type":"string","description":"Price type","example":"BASE","uniqueKey":"error.prices.items.[INDEX].price.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Price type","example":"BASE","uniqueKey":"error.prices.items.[INDEX].price.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.prices.items.[INDEX].price.type","typeLabel":"string | null"},"currency":{"type":"string","description":"Currency string value","example":"USD","uniqueKey":"error.prices.items.[INDEX].price.currency","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error.prices.items.[INDEX].price","typeLabel":"object"},"channel":{"description":"Sales channel","type":"string","example":"12","isRequired":true,"uniqueKey":"error.prices.items.[INDEX].channel","typeLabel":"string"},"kind":{"oneOf":[{"description":"Offer type","type":"string","example":"PROMOTION","uniqueKey":"error.prices.items.[INDEX].kind.oneOf.0","typeLabel":"string"},{"description":"Offer type","type":"null","example":"PROMOTION","uniqueKey":"error.prices.items.[INDEX].kind.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.prices.items.[INDEX].kind","typeLabel":"string | null"},"position":{"minimum":1,"type":"integer","description":"Line item position number (starts at 1)","format":"int32","example":1,"uniqueKey":"error.prices.items.[INDEX].position","typeLabel":"integer\u003cint32>"},"discounts":{"oneOf":[{"description":"Discounts","type":"array","items":{"type":"object","description":"Promotion discount","example":{"amount":100.15,"quantity":1,"proratedAmount":100.15,"proratedQuantity":1,"application":1,"promotion":{"id":"6197ec46e836ff000952d668","value":2000.15,"groupId":"61a6354d0d70e30009415f16","level":1,"isStackable":true,"isAlwaysApplied":true,"name":"20% OFF","type":"Coupon","discountType":"AMOUNT_OFF"}},"properties":{"amount":{"type":"number","description":"Actual discount amount","format":"double","example":1000.15,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].amount","typeLabel":"number\u003cdouble>"},"quantity":{"type":"integer","description":"The number of items eligible for the promotional discount.","format":"int32","example":5,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"proratedAmount":{"type":"number","description":"The discount amount distributed proportionally among all the selected items. The distribution is determined based on each item's price relative to the total price of all participating items. Typically, `proratedAmount` matches the `amount`. However, there might be variations, particularly in the context of Buy-Get promotions.","format":"double","example":1000.15,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].proratedAmount","typeLabel":"number\u003cdouble>"},"proratedQuantity":{"type":"integer","description":"This is used in conjunction with `proratedAmount` to determine the discount portion allocated to the respective units of BuyGet promotions. This is applicable in partial return scenarios.","format":"int32","example":5,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].proratedQuantity","typeLabel":"integer\u003cint32>"},"application":{"oneOf":[{"type":"integer","description":"An identifier for an instance of the Buy-Get promotion that can be applied repeatedly. For example, consider a promotion - Buy 1 shirt and get 1 pant at a 20% off. If a shopper buys three shirts, 20% discount is individually applied to each shirt-pant pair. Each such discounted pair is assigned a unique `application` number for tracking purposes.","format":"int32","example":1,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].application.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"An identifier for an instance of the Buy-Get promotion that can be applied repeatedly. For example, consider a promotion - Buy 1 shirt and get 1 pant at a 20% off. If a shopper buys three shirts, 20% discount is individually applied to each shirt-pant pair. Each such discounted pair is assigned a unique `application` number for tracking purposes.","format":"int32","example":1,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].application.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].application","typeLabel":"integer\u003cint32> | null"},"promotion":{"type":"object","description":"The promotion details.","example":{"id":"6197ec46e836ff000952c668","value":2000.15,"groupId":"61a6354d0d70e30009415f16","level":1,"isStackable":true,"isAlwaysApplied":true,"name":"20% OFF","type":"Coupon","discountType":"AMOUNT_OFF"},"properties":{"id":{"type":"string","description":"A 24-character system-generated Promotion ID.","example":"6197ec46e836ff000952c667","uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.id","typeLabel":"string"},"value":{"type":"number","description":"The discount in percent or amount.","format":"double","example":2000.15,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.value","typeLabel":"number\u003cdouble>"},"groupId":{"oneOf":[{"type":"string","description":"ID of the group or category this product belongs to","example":"61a6354d0d70e30009415f16","uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.groupId.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the group or category this product belongs to","example":"61a6354d0d70e30009415f16","uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.groupId.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.groupId","typeLabel":"string | null"},"level":{"oneOf":[{"type":"integer","description":"The order in which the current promotion is executed.","format":"int32","example":1,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.level.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"The order in which the current promotion is executed.","format":"int32","example":1,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.level.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.level","typeLabel":"integer\u003cint32> | null"},"isStackable":{"oneOf":[{"type":"boolean","description":"A flag indicating whether the promotion is stackable. Set to `true` to combine the given promotion with other promotions. The discount of the current promotion is combined with other promotions, if applicable, to the item. Set to `false` if the promotion isn't stackable; the given promotion can't be combined with other promotions.","example":true,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.isStackable.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"A flag indicating whether the promotion is stackable. Set to `true` to combine the given promotion with other promotions. The discount of the current promotion is combined with other promotions, if applicable, to the item. Set to `false` if the promotion isn't stackable; the given promotion can't be combined with other promotions.","example":true,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.isStackable.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.isStackable","typeLabel":"boolean | null"},"isAlwaysApplied":{"oneOf":[{"type":"boolean","description":"A flag indicating whether the promotion is always applied regardless of any exclusive promotions on the same item. Set to `true` if the promotion is always applied and set to `false` if the promotion isn't applied on the item by default.","example":true,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.isAlwaysApplied.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"A flag indicating whether the promotion is always applied regardless of any exclusive promotions on the same item. Set to `true` if the promotion is always applied and set to `false` if the promotion isn't applied on the item by default.","example":true,"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.isAlwaysApplied.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.isAlwaysApplied","typeLabel":"boolean | null"},"name":{"type":"string","description":"The name of the promotion.","example":"20% off","uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.name","typeLabel":"string"},"type":{"type":"string","description":"The type of the promotion.","example":"COUPON","uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.type","typeLabel":"string"},"discountType":{"example":"PERCENTAGE_OFF","type":"string","description":"The type of discount.","enum":["PERCENTAGE_OFF","AMOUNT_OFF","FIXED_PRICE"],"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion.discountType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX].promotion","typeLabel":"object"}},"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.0","typeLabel":"object[]"},{"description":"Discounts","type":"null","items":{"type":"object","description":"Promotion discount","example":{"amount":100.15,"quantity":1,"proratedAmount":100.15,"proratedQuantity":1,"application":1,"promotion":{"id":"6197ec46e836ff000952d668","value":2000.15,"groupId":"61a6354d0d70e30009415f16","level":1,"isStackable":true,"isAlwaysApplied":true,"name":"20% OFF","type":"Coupon","discountType":"AMOUNT_OFF"}},"properties":{"amount":{"type":"number","description":"Actual discount amount","format":"double","example":1000.15},"quantity":{"type":"integer","description":"The number of items eligible for the promotional discount.","format":"int32","example":5},"proratedAmount":{"type":"number","description":"The discount amount distributed proportionally among all the selected items. The distribution is determined based on each item's price relative to the total price of all participating items. Typically, `proratedAmount` matches the `amount`. However, there might be variations, particularly in the context of Buy-Get promotions.","format":"double","example":1000.15},"proratedQuantity":{"type":"integer","description":"This is used in conjunction with `proratedAmount` to determine the discount portion allocated to the respective units of BuyGet promotions. This is applicable in partial return scenarios.","format":"int32","example":5},"application":{"oneOf":[{"type":"integer","description":"An identifier for an instance of the Buy-Get promotion that can be applied repeatedly. For example, consider a promotion - Buy 1 shirt and get 1 pant at a 20% off. If a shopper buys three shirts, 20% discount is individually applied to each shirt-pant pair. Each such discounted pair is assigned a unique `application` number for tracking purposes.","format":"int32","example":1},{"type":"null","description":"An identifier for an instance of the Buy-Get promotion that can be applied repeatedly. For example, consider a promotion - Buy 1 shirt and get 1 pant at a 20% off. If a shopper buys three shirts, 20% discount is individually applied to each shirt-pant pair. Each such discounted pair is assigned a unique `application` number for tracking purposes.","format":"int32","example":1}]},"promotion":{"type":"object","description":"The promotion details.","example":{"id":"6197ec46e836ff000952c668","value":2000.15,"groupId":"61a6354d0d70e30009415f16","level":1,"isStackable":true,"isAlwaysApplied":true,"name":"20% OFF","type":"Coupon","discountType":"AMOUNT_OFF"},"properties":{"id":{"type":"string","description":"A 24-character system-generated Promotion ID.","example":"6197ec46e836ff000952c667"},"value":{"type":"number","description":"The discount in percent or amount.","format":"double","example":2000.15},"groupId":{"oneOf":[{"type":"string","description":"ID of the group or category this product belongs to","example":"61a6354d0d70e30009415f16"},{"type":"null","description":"ID of the group or category this product belongs to","example":"61a6354d0d70e30009415f16"}]},"level":{"oneOf":[{"type":"integer","description":"The order in which the current promotion is executed.","format":"int32","example":1},{"type":"null","description":"The order in which the current promotion is executed.","format":"int32","example":1}]},"isStackable":{"oneOf":[{"type":"boolean","description":"A flag indicating whether the promotion is stackable. Set to `true` to combine the given promotion with other promotions. The discount of the current promotion is combined with other promotions, if applicable, to the item. Set to `false` if the promotion isn't stackable; the given promotion can't be combined with other promotions.","example":true},{"type":"null","description":"A flag indicating whether the promotion is stackable. Set to `true` to combine the given promotion with other promotions. The discount of the current promotion is combined with other promotions, if applicable, to the item. Set to `false` if the promotion isn't stackable; the given promotion can't be combined with other promotions.","example":true}]},"isAlwaysApplied":{"oneOf":[{"type":"boolean","description":"A flag indicating whether the promotion is always applied regardless of any exclusive promotions on the same item. Set to `true` if the promotion is always applied and set to `false` if the promotion isn't applied on the item by default.","example":true},{"type":"null","description":"A flag indicating whether the promotion is always applied regardless of any exclusive promotions on the same item. Set to `true` if the promotion is always applied and set to `false` if the promotion isn't applied on the item by default.","example":true}]},"name":{"type":"string","description":"The name of the promotion.","example":"20% off"},"type":{"type":"string","description":"The type of the promotion.","example":"COUPON"},"discountType":{"example":"PERCENTAGE_OFF","type":"string","description":"The type of discount.","enum":["PERCENTAGE_OFF","AMOUNT_OFF","FIXED_PRICE"]}}}}},"uniqueKey":"error.prices.items.[INDEX].discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.prices.items.[INDEX].discounts","typeLabel":"object[] | null"}},"uniqueKey":"error.prices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.prices","typeLabel":"object[]"},"promotionErrors":{"description":"Promotion exception details","type":"array","items":{"description":"Exception details","required":["code","detail"],"type":"object","properties":{"code":{"type":"string","description":"List of error codes","enum":["UNKNOWN_ERROR","BAD_REQUEST","INVALID_TOKEN","INVALID_ACCOUNT_ID","ACCOUNT_ID_ALREADY_EXISTS","DEPLOYMENT_IN_PROGRESS","INVALID_CART_ID","CART_NOT_FOUND","ITEM_NOT_FOUND","UNABLE_TO_GET_CART","UNABLE_TO_GET_INVENTORY","ITEM_OUT_OF_STOCK","UPDATE_CART_ERROR","DELETE_CART_ATTRIBUTE_ERROR","EMPTY_CART_ERROR","UNABLE_TO_GET_PRICE","UNABLE_TO_GET_PROMO","UNABLE_TO_GET_ITEM","PRICE_NOT_FOUND","PROMO_ALREADY_APPLIED_ERROR","CART_ALREADY_SHARED_ERROR","PROMO_NOT_FOUND_ERROR","PROMO_NOT_APPLICABLE_ERROR","USER_NOT_FOUND","ATTRIBUTE_NOT_FOUND","INCORRECT_ATTRIBUTE_LEVEL","INCORRECT_ATTRIBUTE_VALUE","ITEM_ATTRIBUTE_ALREADY_EXIST","LINE_ITEM_ID_NOT_FOUND","ITEM_ID_NOT_APPLICABLE","CART_STATUS_NOT_FOUND","CART_STATUS_CANNOT_BE_UPDATED","GUEST_CART_STATUS_CANNOT_BE_UPDATED","CART_STATUS_ALREADY_ASSIGNED","TOKEN_INTROSPECT_ERROR","MAX_CARTS_LIMIT_REACHED","INVALID_PENDING_COUNT","ITEM_SERVICE_NOT_CONFIGURED","ATTRIBUTE_SERVICE_NOT_CONFIGURED","SHIP_ID_NOT_FOUND","INVALID_DATE_RANGE","INVALID_DATE_FORMAT","INVALID_SEARCH_ATTRIBUTE","BAD_CONFIGURATION","SERVICE_NOT_ENABLED"],"example":"UNKNOWN_ERROR","isRequired":true,"uniqueKey":"error.promotionErrors.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"detail":{"description":"Error detail","type":"string","example":"Item is out of stock","isRequired":true,"uniqueKey":"error.promotionErrors.items.[INDEX].detail","typeLabel":"string"},"itemId":{"type":"integer","description":"Item ID obtained from Product Catalog.","format":"int32","example":1730902008,"uniqueKey":"error.promotionErrors.items.[INDEX].itemId","typeLabel":"integer\u003cint32>"},"sku":{"oneOf":[{"type":"string","description":"Item SKU to which the exception applies","example":"16B2GS8LD5FDS","uniqueKey":"error.promotionErrors.items.[INDEX].sku.oneOf.0","typeLabel":"string"},{"type":"null","description":"Item SKU to which the exception applies","example":"16B2GS8LD5FDS","uniqueKey":"error.promotionErrors.items.[INDEX].sku.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.promotionErrors.items.[INDEX].sku","typeLabel":"string | null"},"position":{"minimum":1,"type":"integer","description":"Line item position number (starts at 1)","format":"int32","example":1,"uniqueKey":"error.promotionErrors.items.[INDEX].position","typeLabel":"integer\u003cint32>"}},"uniqueKey":"error.promotionErrors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.promotionErrors","typeLabel":"object[]"},"inventoryErrors":{"description":"Inventory exception details","type":"array","items":{"description":"Exception details","required":["code","detail"],"type":"object","properties":{"code":{"type":"string","description":"List of error codes","enum":["UNKNOWN_ERROR","BAD_REQUEST","INVALID_TOKEN","INVALID_ACCOUNT_ID","ACCOUNT_ID_ALREADY_EXISTS","DEPLOYMENT_IN_PROGRESS","INVALID_CART_ID","CART_NOT_FOUND","ITEM_NOT_FOUND","UNABLE_TO_GET_CART","UNABLE_TO_GET_INVENTORY","ITEM_OUT_OF_STOCK","UPDATE_CART_ERROR","DELETE_CART_ATTRIBUTE_ERROR","EMPTY_CART_ERROR","UNABLE_TO_GET_PRICE","UNABLE_TO_GET_PROMO","UNABLE_TO_GET_ITEM","PRICE_NOT_FOUND","PROMO_ALREADY_APPLIED_ERROR","CART_ALREADY_SHARED_ERROR","PROMO_NOT_FOUND_ERROR","PROMO_NOT_APPLICABLE_ERROR","USER_NOT_FOUND","ATTRIBUTE_NOT_FOUND","INCORRECT_ATTRIBUTE_LEVEL","INCORRECT_ATTRIBUTE_VALUE","ITEM_ATTRIBUTE_ALREADY_EXIST","LINE_ITEM_ID_NOT_FOUND","ITEM_ID_NOT_APPLICABLE","CART_STATUS_NOT_FOUND","CART_STATUS_CANNOT_BE_UPDATED","GUEST_CART_STATUS_CANNOT_BE_UPDATED","CART_STATUS_ALREADY_ASSIGNED","TOKEN_INTROSPECT_ERROR","MAX_CARTS_LIMIT_REACHED","INVALID_PENDING_COUNT","ITEM_SERVICE_NOT_CONFIGURED","ATTRIBUTE_SERVICE_NOT_CONFIGURED","SHIP_ID_NOT_FOUND","INVALID_DATE_RANGE","INVALID_DATE_FORMAT","INVALID_SEARCH_ATTRIBUTE","BAD_CONFIGURATION","SERVICE_NOT_ENABLED"],"example":"UNKNOWN_ERROR","isRequired":true,"uniqueKey":"error.inventoryErrors.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"detail":{"description":"Error detail","type":"string","example":"Item is out of stock","isRequired":true,"uniqueKey":"error.inventoryErrors.items.[INDEX].detail","typeLabel":"string"},"itemId":{"type":"integer","description":"Item ID obtained from Product Catalog.","format":"int32","example":1730902008,"uniqueKey":"error.inventoryErrors.items.[INDEX].itemId","typeLabel":"integer\u003cint32>"},"sku":{"oneOf":[{"type":"string","description":"Item SKU to which the exception applies","example":"16B2GS8LD5FDS","uniqueKey":"error.inventoryErrors.items.[INDEX].sku.oneOf.0","typeLabel":"string"},{"type":"null","description":"Item SKU to which the exception applies","example":"16B2GS8LD5FDS","uniqueKey":"error.inventoryErrors.items.[INDEX].sku.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.inventoryErrors.items.[INDEX].sku","typeLabel":"string | null"},"position":{"minimum":1,"type":"integer","description":"Line item position number (starts at 1)","format":"int32","example":1,"uniqueKey":"error.inventoryErrors.items.[INDEX].position","typeLabel":"integer\u003cint32>"}},"uniqueKey":"error.inventoryErrors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.inventoryErrors","typeLabel":"object[]"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"c695af14-5e33-402c-9d8d-71edcf4856a8","createdAt":"2022-09-06T14:07:17.000Z","updatedAt":"2022-09-06T14:07:17.000Z","name":"cart_it","description":"IT department cart","lineItems":[{"id":"12gved0f-7645-40cb-y7b0-167f8bggdb3z","itemId":"\u003cunknown>","position":1,"name":"Varnet Garden Light Kit","sku":"16B2GS8LD5FDS","productAttributes":[{"name":"gift wrapping (small)","value":"true","attributeId":"60c2a358eb2ec30008ae70a1","description":"Gift wrapping for a small package","mapping":"ITEM","type":"GIFT","price":10,"level":"order"}],"createdAt":"2022-09-06T14:07:17.000Z","updatedAt":"2022-09-06T14:07:17.000Z","quantity":15,"priceListId":108674,"isActive":true,"price":"\u003cunknown>","discounts":["\u003cunknown>"],"groups":["61d38e117162b7dba69c3d6d"],"attributes":{"productFamily":"Laptop computers"},"channel":"12","isPickup":true,"warehouseId":"XYZ-1234","shippingDetails":{"id":"fef78121-bee3-4448-bf1c-d5b5461dbda2","createdAt":"2022-09-06T14:07:17.000Z","updatedAt":"2022-09-06T14:07:17.000Z","address":{"addressLine1":"123 Main St.","city":"Seattle","region":"WA","country":"USA","postalCode":"98121","addressLine2":"Suite 100","addressLine3":"Seventh floor","addressLine4":"Attention: Pat E. Kake","attention":"Billing manager","email":"test@example.com","type":"shipping","name":"Pat E Kake","phone":{"number":"123-456-7899","type":"MOBILE"}},"type":"SHIP_TO_ADDRESS","taxCode":"FR1000","isPickup":true,"altPickupPerson":{"name":"Pat E Kake","phone":{"number":"123-456-7899","type":"MOBILE"},"email":"test@example.com"},"pickupPerson":{"name":"Pat E Kake","phone":{"number":"123-456-7899","type":"MOBILE"},"email":"test@example.com"},"warehouseId":"XYZ-1234","storeId":"ABC-123","shippingCost":150.25,"shippingMethodId":"dfsae-2d32113-32lpdd","shippingDiscount":150.25,"shippingMethodName":"Express Delivery"},"fulfillment":{"type":"WEB_SDD","networkCode":"ShipToHome","channelId":"12","inventoryType":"availableToPurchase","inventory":{"inventoryId":"723910d81723","sku":"SKU1","itemId":12345,"locationNumber":12345,"region":"North America","channelId":"channel_xyz","vendorId":"vendor1","createdAt":"2022-08-01T18:03:28.483971941Z","updatedAt":"2022-08-01T20:03:28.483971941Z","leadTime":"5 days","type":"primary","hasInfiniteInventory":false,"backorderShipmentAt":"2022-08-01T20:03:28.483971941Z","preorderShipmentAt":"2022-08-01T20:03:28.483971941Z","backorderLimit":50,"preorderLimit":40,"safetyStock":10,"lowStock":10,"networkCode":"ShipToHome","counters":{"onHand":100,"allocated":10,"shipped":20},"customAttributes":{"isBopis":true},"networkCounters":{"softReserve":10},"virtualCounters":{"availableToPurchase":60}}},"fees":[{"feeId":"73bc09d0-874a-4c3d-84d0-df1670d03578","name":"gift","type":"gift_wrap","amount":10.5,"attributes":{"from":"sam"}}],"adjustments":[{"id":"c695af14-5e33-402c-9d8d-71edcf4856a8","amount":60.5,"reason":"CSR Adjustment","attributes":{"productFamily":"Laptop computers"},"createdAt":"2022-09-06T14:07:17.000Z","updatedAt":"2022-09-06T14:07:17.000Z"}]}],"totalItems":3,"totalUniqueItems":2,"status":"PENDING","accountId":"5f689caa4216e7000750d1ef","configuration":{"allowAnonymousUser":true,"orderNumberSource":"CART_ID","isSoftReservationEnabled":false,"orderSequence":{"sequenceName":"ORDER_NUMBER","sequenceKey":"LOCATE"},"orderNumberGeneration":"NONE"},"customerContext":{"id":"d7e78a21-bee3-4448-bf1c-d5b5461dbda2","type":"EMPLOYEE","attributes":{"isAdmin":false},"segments":[[{"name":"category","value":["GOLD","YELLOW"]}]]},"totalAmount":10,"totalDiscount":10,"totalFees":10,"subTotal":10,"currency":"USD","attributes":{"approver":"620d8896058edb0009385311"},"appliedDiscounts":[{"promotionId":"6197ec46e836ff000952c665","promotionName":"Buy shoes get socks for free","couponCode":"SUPERCOUPON20","type":"COUPON","amount":105.15}],"fees":[{"feeId":"73bc09d0-874a-4c3d-84d0-df1670d03578","name":"gift","type":"gift_wrap","amount":10.5,"attributes":{"from":"sam"}}],"suggestedProducts":[{"promotionId":"6197ec46e836ff000952c665","promotionName":"Buy shoes get socks for free","itemId":234343,"itemIds":[500001],"sku":"SHOE1234","skus":["SHOE-4"],"eligiblePriceLists":[1000],"quantity":2,"promotionQuantity":10,"isFree":true,"discountType":"PERCENTAGE_OFF","amount":100.15}],"orderNumber":"121213","error":{"prices":[{"price":{"sale":1000.15,"cost":900.15,"base":2000.15,"unitPriceWithoutDiscounts":2000.15,"lineTotalWithoutDiscounts":2000.15,"lineTotalWithDiscounts":2000.15,"type":"BASE"},"channel":"12","kind":"PROMOTION","position":1,"discounts":[{"amount":100.15,"quantity":1,"proratedAmount":100.15,"proratedQuantity":1,"application":1,"promotion":{"id":"6197ec46e836ff000952d668","value":2000.15,"groupId":"61a6354d0d70e30009415f16","level":1,"isStackable":true,"isAlwaysApplied":true,"name":"20% OFF","type":"Coupon","discountType":"AMOUNT_OFF"}}]}],"promotionErrors":[{"code":"UNKNOWN_ERROR","detail":"Item is out of stock","itemId":1730902008,"sku":"16B2GS8LD5FDS","position":1}],"inventoryErrors":[{"code":"UNKNOWN_ERROR","detail":"Item is out of stock","itemId":1730902008,"sku":"16B2GS8LD5FDS","position":1}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"47da7cd0-682c-47d5-aa15-d6b9dd84966d":{"description":"Client error","headers":{"x-fabric-request-id":{"description":"Unique request ID","schema":{"type":"string"},"example":"263e731c-45c8-11ed-b878-0242ac120002","required":false}},"content":{"application/json":{"schema":{"type":"object","description":"Bad request error","properties":{"type":{"description":"Error code","type":"string","example":"BAD_REQUEST","uniqueKey":"type","typeLabel":"string"},"message":{"description":"Error description","type":"string","example":"Bad Request","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"BAD_REQUEST","message":"Bad Request"}}},"exampleType":"generated"}},"exampleType":"generated"},"023bb2f3-2ff4-4c35-bb53-5060d4eecf44":{"description":"Unauthorized","headers":{"x-fabric-request-id":{"description":"Unique request ID","schema":{"type":"string"},"example":"263e731c-45c8-11ed-b878-0242ac120002","required":false}},"content":{"application/json":{"schema":{"type":"object","description":"Unauthorized","properties":{"type":{"description":"Error code","type":"string","example":"UNAUTHORIZED","uniqueKey":"type","typeLabel":"string"},"message":{"description":"Error description","type":"string","example":"Unauthorized User","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"UNAUTHORIZED","message":"Unauthorized User"}}},"exampleType":"generated"}},"exampleType":"generated"},"cc73bd79-476e-41be-9178-a730c6f9fb45":{"description":"Not found","headers":{"x-fabric-request-id":{"description":"Unique request ID","schema":{"type":"string"},"example":"263e731c-45c8-11ed-b878-0242ac120002","required":false}},"content":{"application/json":{"schema":{"type":"object","description":"Item not found error","properties":{"type":{"description":"Error code","type":"string","example":"NOT_FOUND","uniqueKey":"type","typeLabel":"string"},"message":{"description":"Error description","type":"string","example":"Item not found","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"NOT_FOUND","message":"Item not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"1ca57b8f-b2c4-41e1-b6da-fab9e0c4390e":{"description":"Internal server error","headers":{"x-fabric-request-id":{"description":"Unique request ID","schema":{"type":"string"},"example":"263e731c-45c8-11ed-b878-0242ac120002","required":false}},"content":{"application/json":{"schema":{"type":"object","description":"Internal server error","properties":{"type":{"description":"Error code","type":"string","example":"INTERNAL_SERVER_ERROR","uniqueKey":"type","typeLabel":"string"},"message":{"description":"Error description","type":"string","example":"Internal server error","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"INTERNAL_SERVER_ERROR","message":"Internal server error"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"20a1046e-051e-4f50-a3b7-5cf1d98fcf6e":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]}}},"servers":{"4c20c0c8-14bd-4f40-a735-21f60e043843":{"url":"https://api.fabric.inc/v3","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi/CnC/cart/v3/cart.openapi.yml"},"subdomain":"fabric-demo","siteName":"Fabric","title":"Create a cart - Fabric","navMaps":{"firstHrefInVersion":{"Product Agent":{"href":"/v3/api-reference/cart/carts/create-a-cart","matchLevel":0},"v3":{"href":"/v3/home","matchLevel":4},"v2":{"href":"/v2/home","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-01-22T21:06:39.720Z","originalFileLocation":"v3/api-reference/cart/carts/create-a-cart.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"system\"}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=\"Create a cart with items.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fabric\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fabric-demo/4aXl3Y2Jab1lmXrs/_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/fabric-demo/4aXl3Y2Jab1lmXrs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fabric-demo/4aXl3Y2Jab1lmXrs/_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/fabric-demo/4aXl3Y2Jab1lmXrs/_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/fabric-demo/4aXl3Y2Jab1lmXrs/_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/fabric-demo/4aXl3Y2Jab1lmXrs/_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/fabric-demo/4aXl3Y2Jab1lmXrs/_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/fabric-demo/4aXl3Y2Jab1lmXrs/_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/fabric-demo/4aXl3Y2Jab1lmXrs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a cart - Fabric\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a cart with items.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fabric\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.fabric.inc/v3/api-reference/cart/carts/create-a-cart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fabric-demo.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Create+a+cart\u0026amp;description=Create+a+cart+with+items.\u0026amp;theme=d21d2e5604bc479b7e92e42c\u0026amp;signature=146d477d15d1771e0c795be99b84ab033b1ec6638e47398ba7978b5a9f77c604\">\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=\"Create a cart - Fabric\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a cart with items.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fabric-demo.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Create+a+cart\u0026amp;description=Create+a+cart+with+items.\u0026amp;theme=d21d2e5604bc479b7e92e42c\u0026amp;signature=146d477d15d1771e0c795be99b84ab033b1ec6638e47398ba7978b5a9f77c604\">\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/fabric-demo/4aXl3Y2Jab1lmXrs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fabric\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff2ec1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.fabric.inc/v3/api-reference/cart/carts/create-a-cart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v3/api-reference/cart/carts/create-a-cart.md\">","siteName":"Fabric","nav":{"global":null,"versions":[{"version":"Product Agent","tabs":[{"tab":"Home","groups":[{"group":"Homepage","pages":[{"title":"Welcome to the fabric Knowledge Base","mode":"custom","sidebarTitle":"fabric Homepage","href":"/home"}]}]},{"tab":"Overview","groups":[{"group":"Product Agent","pages":[{"title":"Overview","href":"/product-agent/overview"}]}]},{"tab":"Monitor","groups":[{"group":"Monitor","pages":[{"title":"Visibility","href":"/product-agent/monitor/overview"},{"title":"Adding a Monitored Category","href":"/product-agent/monitor/add-a-monitored-category"},{"title":"Adding a Competitor for Monitoring","href":"/product-agent/monitor/add-a-competitor"},{"title":"Category Performance Report","sidebarTitle":"Category Performance Report","href":"/product-agent/monitor/category-performance-report"},{"title":"Prompts","href":"/product-agent/monitor/prompts"},{"title":"Adding a Prompt","href":"/product-agent/monitor/add-a-prompt"},{"title":"Recommendations","href":"/product-agent/monitor/recommendations"},{"title":"Experiment Performance","href":"/product-agent/monitor/experiment-performance"}]}]},{"tab":"Activate","groups":[{"group":"Activate","pages":[{"title":"Overview","href":"/product-agent/activate/overview"},{"group":"Product Activation","pages":[{"title":"Introduction","href":"/product-agent/activate/activating-products/introduction"},{"title":"Experiments","href":"/product-agent/activate/activating-products/experiments"},{"title":"Importing Products","href":"/product-agent/activate/activating-products/importing-products"}]},{"title":"Taxonomy Mapping","href":"/product-agent/activate/taxonomy-mapping"},{"title":"Enriching Products","href":"/product-agent/activate/enriching-products"},{"title":"Sampled Enrichment","href":"/product-agent/activate/sampled-enrichment"},{"title":"Enrich All \u0026 Review","href":"/product-agent/activate/enrich-all-review"},{"title":"Publishing Products","href":"/product-agent/activate/publishing-products"}]},{"group":"API Endpoints","pages":[{"title":"Product Import Developer Guide","href":"/product-agent/developer-guides/postman-import-csv-guide"},{"group":"Authentication","pages":[{"openapi":"product-agent.openapi post /platform/v1/auth/token","title":"Create Access Token","href":"/product-agent/api-reference/authorization/get-token"}]},{"group":"Attributes","pages":[{"openapi":"product-agent.openapi post /v2/attributes/import","title":"Import attributes from CSV","href":"/product-agent/api-reference/attributes/import-attributes"},{"openapi":"product-agent.openapi get /v2/attributes/import/{import_id}","title":"Get attribute import status","href":"/product-agent/api-reference/attributes/get-import-status"}]},{"group":"Categories","pages":[{"openapi":"product-agent.openapi post /v2/categories/import","title":"Bulk Import Categories","href":"/product-agent/api-reference/categories/import-categories"},{"openapi":"product-agent.openapi get /v2/categories/import/{import_id}","title":"Get category import status","href":"/product-agent/api-reference/categories/get-import-status"}]},{"group":"Artifacts","pages":[{"openapi":"product-agent.openapi post /v2/optimize/artifacts","title":"Upload a catalog artifact","href":"/product-agent/api-reference/artifacts/upload-artifact"},{"openapi":"product-agent.openapi get /v2/optimize/artifacts/{artifact_id}","title":"Retrieve artifact metadata and download URL","href":"/product-agent/api-reference/artifacts/get-artifact"}]},{"group":"Optimize","pages":[{"openapi":"product-agent.openapi post /v2/optimize/workflows","title":"Create an optimization workflow","href":"/product-agent/api-reference/optimize/create-workflow"},{"openapi":"product-agent.openapi get /v2/optimize/workflows/{workflow_id}","title":"Retrieve optimization workflow status","href":"/product-agent/api-reference/optimize/get-workflow"}]}]}]},{"tab":"Admin \u0026 Settings","groups":[{"group":"Admin","pages":[{"title":"Overview","href":"/product-agent/admin-settings/admin/overview"},{"title":"Users","href":"/product-agent/admin-settings/admin/users"},{"title":"Companies","href":"/product-agent/admin-settings/admin/companies"},{"title":"Brands","href":"/product-agent/admin-settings/admin/brands"}]},{"group":"Settings","pages":[{"title":"Monitor Tuning","href":"/product-agent/admin-settings/settings/monitor-tuning"},{"group":"Brand Configuration","pages":[{"title":"Overview","href":"/product-agent/admin-settings/settings/brand-config-overview"},{"title":"Brand Config Setup","href":"/product-agent/admin-settings/settings/brand-config-setup"}]},{"group":"Taxonomy","pages":[{"title":"Taxonomy Overview","href":"/product-agent/admin-settings/settings/taxonomy-overview"},{"title":"Creating Categories","href":"/product-agent/admin-settings/settings/creating-categories"},{"title":"Creating Attributes","href":"/product-agent/admin-settings/settings/creating-attributes"}]}]}]}]},{"version":"v3","pages":[{"title":"v3","href":"/v3/home"}]},{"version":"v2","pages":[{"title":"v2","href":"/v2/home"}]}]},"basePath":"","title":"Create a cart - Fabric","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}