This is the authorization token used to authenticate the request. You must pass the access token generated from the system app. For more information, see the Making your first API request section.
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 through which the API request is being made; primarily for multichannel use cases. It is a required field. The default US channel is 12 while the default Canada channel is 11.
{"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.4021","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":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"workos-enabled","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/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data","slug":"/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data","pageMetadata":{"openapi":"modular-cart put /carts/{cartId}/inventory","title":"Replace inventory data","description":"Replaces inventory data associated with the corresponding cart.\n\nThe Cart ID from the [Create cart](/v3/cart-and-checkout/api-reference/carts-v3/carts/carts) endpoint is used in the path parameter.\n","href":"/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Replaces inventory data associated with the corresponding cart.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The Cart ID from the \", _jsx(_components.a, {\n href: \"/v3/cart-and-checkout/api-reference/carts-v3/carts/carts\",\n children: \"Create cart\"\n }), \" endpoint is used in the path parameter.\"]\n })]\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":"modular-cart put /carts/{cartId}/inventory","title":"Replace inventory data","description":"Replaces inventory data associated with the corresponding cart.\n\nThe Cart ID from the [Create cart](/v3/cart-and-checkout/api-reference/carts-v3/carts/carts) endpoint is used in the path parameter.\n","href":"/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data"}}},"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":["Validations"],"summary":"Replace inventory data","description":"Replaces inventory data associated with the corresponding cart.\n\nThe Cart ID from the [Create cart](/v3/cart-and-checkout/api-reference/carts-v3/carts/carts) endpoint is used in the path parameter.\n","operationId":"addInventory","parameters":["297ceb2a-b1cc-48c4-9b62-51780b13bebd","9357300d-b230-4e76-8e14-e8b8bf6362c2","fe64e18d-31e4-4f9b-9429-266791d37727","feb75f64-210f-4233-9140-aeefbaafa515"],"requestBody":"a57cfebd-ad30-4236-96c7-ed52417a0307","responses":{"200":"024fa954-4b39-4df0-be23-13fbdcf43cfa","400":"dd5b3ea5-d605-4b50-baee-71cfc64a954d","404":"7f4eff8d-74d4-46ee-88cc-ce1198edc32d"},"method":"put","type":"path","servers":["a0dc3117-659d-4ac2-b114-15c533225e9b"],"security":["d3a04c2b-1a03-43e5-b452-3f1bce5eb9f3"],"path":"/carts/{cartId}/inventory","baseUrlOptions":["https://api.fabric.inc/v3"],"title":"Replace inventory data","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"297ceb2a-b1cc-48c4-9b62-51780b13bebd":{"name":"cartId","in":"path","required":true,"schema":{"type":"string","description":"The 24-character system-generated Cart ID. This ID is generated using the [Create cart](/v3/cart-and-checkout/api-reference/carts-v3/carts/carts) endpoint.","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"9357300d-b230-4e76-8e14-e8b8bf6362c2":{"name":"x-fabric-tenant-id","in":"header","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. \n","required":true,"schema":{"type":"string","example":"617329dfd5288b0011332311","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. \n","uniqueKey":"","typeLabel":"string"}},"fe64e18d-31e4-4f9b-9429-266791d37727":{"name":"x-fabric-request-id","in":"header","description":" Unique request ID for tracking.","required":false,"schema":{"type":"string","example":"263e731c-45c8-11ed-b878-0242ac120002","isRequired":false,"description":" Unique request ID for tracking.","uniqueKey":"","typeLabel":"string"}},"feb75f64-210f-4233-9140-aeefbaafa515":{"name":"x-fabric-channel-id","in":"header","description":"x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is a required field. The default US channel is 12 while the default Canada channel is 11.","required":false,"schema":{"type":"string","example":"12","isRequired":false,"description":"x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is a required field. The default US channel is 12 while the default Canada channel is 11.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"required":["lineItems"],"type":"object","properties":{"lineItems":{"type":"array","items":{"required":["channels","counters","sku"],"type":"object","properties":{"sku":{"type":"string","description":"Sku of a line item","example":"SKU3","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].sku","typeLabel":"string"},"channels":{"type":"object","additionalProperties":{"type":"string","description":"The inventory channels associated with the item.","example":"{\"networkCode\":\"ShipToHome\"}","uniqueKey":"lineItems.items.[INDEX].channels.additionalProperties","typeLabel":"string"},"description":"The inventory channels associated with the item.","example":{"networkCode":"ShipToHome"},"isRequired":true,"uniqueKey":"lineItems.items.[INDEX].channels","typeLabel":"object"},"counters":{"type":"object","additionalProperties":{"type":"integer","description":"The inventory counters available for the item.","format":"int32","uniqueKey":"lineItems.items.[INDEX].counters.additionalProperties","typeLabel":"integer\u003cint32>"},"description":"The inventory counters available for the item.","example":{"backOrder":15,"preOrder":100},"isRequired":true,"uniqueKey":"lineItems.items.[INDEX].counters","typeLabel":"object"}},"description":"Inventory validation details","uniqueKey":"lineItems.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"lineItems","typeLabel":"object[]"}},"description":"Inventory Request","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"lineItems":[{"sku":"SKU3","channels":{"networkCode":"ShipToHome"},"counters":{"backOrder":15,"preOrder":100}}]}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"024fa954-4b39-4df0-be23-13fbdcf43cfa":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the cart, which is generated when the cart is created using the [Create an empty cart](/v3/cart-and-checkout/api-reference/carts-v3/carts/carts) endpoint.","example":"c86f777b-1885-4ddf-961d-542ba80a69b8","uniqueKey":"id","typeLabel":"string"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes used to describe the cart, such as a wishlist cart.","example":{"name":"wishlist"},"uniqueKey":"attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes used to describe the cart, such as a wishlist cart.","example":{"name":"wishlist"},"uniqueKey":"attributes","typeLabel":"object"},"configuration":{"type":"object","properties":{"order":{"type":"object","properties":{"validate":{"type":"object","properties":{"paymentsRemaining":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is BLOCK.\n","enum":["BLOCK","NONE"],"uniqueKey":"configuration.order.validate.paymentsRemaining","typeLabel":"enum\u003cstring>"},"taxRemaining":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is BLOCK.\n","enum":["BLOCK","NONE"],"uniqueKey":"configuration.order.validate.taxRemaining","typeLabel":"enum\u003cstring>"},"invalidItem":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is BLOCK.\n","enum":["BLOCK","NONE"],"uniqueKey":"configuration.order.validate.invalidItem","typeLabel":"enum\u003cstring>"},"itemOutOfStock":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is BLOCK.\n","enum":["BLOCK","NONE"],"uniqueKey":"configuration.order.validate.itemOutOfStock","typeLabel":"enum\u003cstring>"}},"description":"Order validate determines the blocking behavior when creating an order draft.","uniqueKey":"configuration.order.validate","typeLabel":"object"}},"description":"Configuration settings related to order validation and processing.","uniqueKey":"configuration.order","typeLabel":"object"},"product":{"type":"object","properties":{"cacheExpiry":{"type":"integer","description":"Duration in seconds until product validation data expires.","format":"int64","example":7776000,"uniqueKey":"configuration.product.cacheExpiry","typeLabel":"integer\u003cint64>"},"behaviors":{"type":"object","properties":{"add":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default setting is REJECT.\n","example":"REJECT","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.product.behaviors.add","typeLabel":"enum\u003cstring>"},"update":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is WARN.\n","example":"WARN","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.product.behaviors.update","typeLabel":"enum\u003cstring>"},"get":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is WARN.\n","example":"WARN","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.product.behaviors.get","typeLabel":"enum\u003cstring>"},"cacheExpiry":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is WARN.\n","example":"WARN","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.product.behaviors.cacheExpiry","typeLabel":"enum\u003cstring>"}},"description":"Behaviors related to inventory actions, such as adding the item or removing the item.","uniqueKey":"configuration.product.behaviors","typeLabel":"object"},"maxQuantity":{"type":"object","properties":{"limit":{"type":"integer","description":"Maximum quantity for an individual line item","format":"int32","example":100,"uniqueKey":"configuration.product.maxQuantity.limit","typeLabel":"integer\u003cint32>"},"behaviors":{"type":"object","properties":{"add":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default setting is REJECT.\n","example":"REJECT","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.product.maxQuantity.behaviors.add","typeLabel":"enum\u003cstring>"},"update":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is WARN.\n","example":"WARN","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.product.maxQuantity.behaviors.update","typeLabel":"enum\u003cstring>"},"get":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is WARN.\n","example":"WARN","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.product.maxQuantity.behaviors.get","typeLabel":"enum\u003cstring>"}},"description":"Max quantity behaviors","uniqueKey":"configuration.product.maxQuantity.behaviors","typeLabel":"object"}},"description":"Item max quantity configurations","uniqueKey":"configuration.product.maxQuantity","typeLabel":"object"}},"description":"Configuration settings related to product behavior and cache expiry.","uniqueKey":"configuration.product","typeLabel":"object"},"inventory":{"type":"object","properties":{"cacheExpiry":{"type":"integer","description":"Duration in seconds until inventory validation data expires.","format":"int64","example":7776000,"uniqueKey":"configuration.inventory.cacheExpiry","typeLabel":"integer\u003cint64>"},"behaviors":{"type":"object","properties":{"add":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default setting is REJECT.\n","example":"REJECT","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.inventory.behaviors.add","typeLabel":"enum\u003cstring>"},"update":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is WARN.\n","example":"WARN","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.inventory.behaviors.update","typeLabel":"enum\u003cstring>"},"get":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is WARN.\n","example":"WARN","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.inventory.behaviors.get","typeLabel":"enum\u003cstring>"},"cacheExpiry":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is WARN.\n","example":"WARN","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.inventory.behaviors.cacheExpiry","typeLabel":"enum\u003cstring>"}},"description":"Behaviors related to inventory actions, such as adding the item or removing the item.","uniqueKey":"configuration.inventory.behaviors","typeLabel":"object"},"check":{"type":"string","description":"This setting is used to determine how you check inventory. The options are SKU or LINE_ITEM.","example":"SKU","enum":["SKU","LINE_ITEM"],"uniqueKey":"configuration.inventory.check","typeLabel":"enum\u003cstring>"}},"description":"Configuration settings related to inventory management and checks.","uniqueKey":"configuration.inventory","typeLabel":"object"},"tax":{"type":"object","properties":{"cacheExpiry":{"type":"integer","description":"Duration in seconds until the tax data expires.","format":"int64","example":7776000,"uniqueKey":"configuration.tax.cacheExpiry","typeLabel":"integer\u003cint64>"},"behaviors":{"type":"object","properties":{"cacheExpiry":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is WARN.\n","example":"WARN","enum":["WARN","NONE"],"uniqueKey":"configuration.tax.behaviors.cacheExpiry","typeLabel":"enum\u003cstring>"}},"description":"tax behaviors","uniqueKey":"configuration.tax.behaviors","typeLabel":"object"}},"description":"Configuration settings for tax calculations and behaviors.","uniqueKey":"configuration.tax","typeLabel":"object"},"promotions":{"type":"object","properties":{"cacheExpiry":{"type":"integer","description":"Duration in seconds until promotion data expires.","format":"int64","example":7776000,"uniqueKey":"configuration.promotions.cacheExpiry","typeLabel":"integer\u003cint64>"},"behaviors":{"type":"object","properties":{"cacheExpiry":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is WARN.\n","example":"WARN","enum":["WARN","NONE"],"uniqueKey":"configuration.promotions.behaviors.cacheExpiry","typeLabel":"enum\u003cstring>"}},"description":"Promotion behaviors","uniqueKey":"configuration.promotions.behaviors","typeLabel":"object"}},"description":"Configuration settings related to promotions and their cache expiry.","uniqueKey":"configuration.promotions","typeLabel":"object"},"maxQuantity":{"type":"object","properties":{"limit":{"type":"integer","description":"The maximum quantity allowed across all items in the cart.","format":"int32","example":100,"uniqueKey":"configuration.maxQuantity.limit","typeLabel":"integer\u003cint32>"},"behaviors":{"type":"object","properties":{"add":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default setting is REJECT.\n","example":"REJECT","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.maxQuantity.behaviors.add","typeLabel":"enum\u003cstring>"},"update":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is WARN.\n","example":"WARN","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.maxQuantity.behaviors.update","typeLabel":"enum\u003cstring>"},"get":{"type":"string","description":"The behavior that is executed based on the selected configuration.\n\nThe default behavior is WARN.\n","example":"WARN","enum":["WARN","DROP","REJECT","NONE"],"uniqueKey":"configuration.maxQuantity.behaviors.get","typeLabel":"enum\u003cstring>"}},"description":"Max quantity behaviors","uniqueKey":"configuration.maxQuantity.behaviors","typeLabel":"object"}},"description":"Maximum quantity configurations to set when the cart reaches its limit.","uniqueKey":"configuration.maxQuantity","typeLabel":"object"}},"description":"Cart [configurations](/v3/cart-and-checkout/api-reference/carts-v3/configuration-behaviors) determine the behavior within the cart.","uniqueKey":"configuration","typeLabel":"object"},"customerContext":{"type":"object","properties":{"id":{"type":"string","description":"The Customer ID that was added to the customer attribute when using the [Update customer](/v3/cart-and-checkout/api-reference/carts-v3/customer/update-customer) endpoint.","example":"109840938","uniqueKey":"customerContext.id","typeLabel":"string"},"segments":{"type":"array","description":"An array containing segments of customer information.","items":{"type":"object","properties":{"name":{"type":"string","description":"Segment name","example":"membership","uniqueKey":"customerContext.segments.items.[INDEX].name","typeLabel":"string"},"value":{"type":"array","description":"Segment values","example":["gold","silver"],"items":{"type":"string","description":"Segment values","example":"[\"gold\",\"silver\"]","uniqueKey":"customerContext.segments.items.[INDEX].value.items.[INDEX]","typeLabel":"string"},"uniqueKey":"customerContext.segments.items.[INDEX].value","typeLabel":"string[]"}},"description":"Segment","uniqueKey":"customerContext.segments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"customerContext.segments","typeLabel":"object[]"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Customer attributes such as email.","example":{"email":"test@gmail.com"},"uniqueKey":"customerContext.attributes.additionalProperties","typeLabel":"object"},"description":"Customer attributes such as email.","example":{"email":"test@gmail.com"},"uniqueKey":"customerContext.attributes","typeLabel":"object"},"sessionId":{"type":"string","description":"Session ID of the customer.","example":"3a5fd2d3-5c96-4e57-b069-7ff2a88c1119","uniqueKey":"customerContext.sessionId","typeLabel":"string"}},"description":"Customer context object containing customer information.","uniqueKey":"customerContext","typeLabel":"object"},"status":{"type":"string","description":"The cart status indicates whether the cart is active or deleted.","example":"ACTIVE","enum":["ACTIVE","SOFT_DELETE"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"state":{"type":"array","description":"The resource state is stored in an array that holds information about the current status of the cart.","items":{"type":"object","properties":{"resource":{"type":"string","description":"The type of resource indicating its current state, such as a cart.","example":"CART","enum":["ITEM","CART","FULFILLMENT","PAYMENT","FEE","VALIDATION"],"uniqueKey":"state.items.[INDEX].resource","typeLabel":"enum\u003cstring>"},"resourceId":{"type":"string","description":"The ID used to reference the resource's state, such as a cart.","example":"c86f777b-1885-4ddf-961d-542ba80a69b8","uniqueKey":"state.items.[INDEX].resourceId","typeLabel":"string"},"key":{"type":"string","description":"The key used to map the state of the resource.","example":"MISSING_PAYMENT_DETAILS","uniqueKey":"state.items.[INDEX].key","typeLabel":"string"},"description":{"type":"string","description":"A detailed description of the resource's current state, such as the absence of payment details.","example":"No payment details have been added to this Cart","uniqueKey":"state.items.[INDEX].description","typeLabel":"string"}},"description":"Cart State","uniqueKey":"state.items.[INDEX]","typeLabel":"object"},"uniqueKey":"state","typeLabel":"object[]"},"price":{"type":"object","properties":{"total":{"type":"number","description":"The grand total, inclusive of all charges and discounts.","example":800,"uniqueKey":"price.total","typeLabel":"number"},"subtotal":{"type":"number","description":"The subtotal of all items amount.","example":750,"uniqueKey":"price.subtotal","typeLabel":"number"},"tax":{"type":"number","description":"The tax total amount.","example":20,"uniqueKey":"price.tax","typeLabel":"number"},"fulfillments":{"type":"number","description":"The fulfillments total amount.","example":25,"uniqueKey":"price.fulfillments","typeLabel":"number"},"discounts":{"type":"number","description":"The discounts total amount.","example":10,"uniqueKey":"price.discounts","typeLabel":"number"},"fees":{"type":"number","description":"The fees total amount.","example":5,"uniqueKey":"price.fees","typeLabel":"number"},"adjustments":{"type":"number","description":"The adjustments total amount.","example":10,"uniqueKey":"price.adjustments","typeLabel":"number"}},"description":"The sum of the total amount of the cart.","uniqueKey":"price","typeLabel":"object"},"promotions":{"type":"object","properties":{"total":{"type":"number","description":"The total value of all applied promotions.","example":32,"uniqueKey":"promotions.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing promotions in the collection.","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the promotion.","example":"542ba80a69b8","uniqueKey":"promotions.collection.items.[INDEX].id","typeLabel":"string"},"title":{"type":"string","description":"Promotion title","example":"15 Percent All Products","uniqueKey":"promotions.collection.items.[INDEX].title","typeLabel":"string"},"code":{"type":"string","description":"Coupon code","example":"15_PERCENT","uniqueKey":"promotions.collection.items.[INDEX].code","typeLabel":"string"},"type":{"type":"string","description":"The type of promotion, such as percentage or fixed value.","example":"PERCENTAGE","uniqueKey":"promotions.collection.items.[INDEX].type","typeLabel":"string"},"value":{"type":"number","description":"The value of the promotion, indicating the amount of the discount applied. This can be a fixed amount or a percentage.","example":15,"uniqueKey":"promotions.collection.items.[INDEX].value","typeLabel":"number"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes provide more context for the promotion.","example":{"source":"cart"},"uniqueKey":"promotions.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes provide more context for the promotion.","example":{"source":"cart"},"uniqueKey":"promotions.collection.items.[INDEX].attributes","typeLabel":"object"}},"description":"Promotions applied","uniqueKey":"promotions.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"promotions.collection","typeLabel":"object[]"}},"description":"A collection of promotions applied to the corresponding cart.","uniqueKey":"promotions","typeLabel":"object"},"fees":{"type":"object","properties":{"total":{"type":"number","description":"The total fees amount in the collection.","example":5,"uniqueKey":"fees.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing all fees and their details in a collection.","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the fee associated with the corresponding cart that was generated when making [Create fee](/v3/cart-and-checkout/api-reference/carts-v3/fees/create-fees) endpoint.","example":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","uniqueKey":"fees.collection.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Name of the fee","example":"Eco Fee","uniqueKey":"fees.collection.items.[INDEX].name","typeLabel":"string"},"price":{"required":["amount"],"type":"object","properties":{"amount":{"minimum":0,"exclusiveMinimum":false,"type":"number","description":"Total fees amount","example":12.99,"isRequired":true,"uniqueKey":"fees.collection.items.[INDEX].price.amount","typeLabel":"number"}},"description":"Price details","uniqueKey":"fees.collection.items.[INDEX].price","typeLabel":"object"},"taxable":{"type":"boolean","description":"A boolean value that determines whether a fee is taxable.","example":true,"uniqueKey":"fees.collection.items.[INDEX].taxable","typeLabel":"boolean"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes that provide more context for the fee, such as the source of the fee.","example":{"source":"eco"},"uniqueKey":"fees.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes that provide more context for the fee, such as the source of the fee.","example":{"source":"eco"},"uniqueKey":"fees.collection.items.[INDEX].attributes","typeLabel":"object"},"tax":{"type":"object","properties":{"total":{"type":"number","description":"Tax total in the collection.","example":3,"uniqueKey":"fees.collection.items.[INDEX].tax.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing taxes in a collection.","items":{"type":"object","properties":{"amount":{"type":"number","description":"Tax amount","example":3,"uniqueKey":"fees.collection.items.[INDEX].tax.collection.items.[INDEX].amount","typeLabel":"number"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes to provide more context to the tax, such as the rate and the type of tax.","example":{"rate":"5.0","type":"COUNTY"},"uniqueKey":"fees.collection.items.[INDEX].tax.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes to provide more context to the tax, such as the rate and the type of tax.","example":{"rate":"5.0","type":"COUNTY"},"uniqueKey":"fees.collection.items.[INDEX].tax.collection.items.[INDEX].attributes","typeLabel":"object"}},"description":"Tax","uniqueKey":"fees.collection.items.[INDEX].tax.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fees.collection.items.[INDEX].tax.collection","typeLabel":"object[]"}},"description":"A collection of taxes.","uniqueKey":"fees.collection.items.[INDEX].tax","typeLabel":"object"},"updatedAt":{"type":"string","description":"The date and time when the fee was last updated.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"fees.collection.items.[INDEX].updatedAt","typeLabel":"string"},"createdAt":{"type":"string","description":"The date and time when the fee was created.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"fees.collection.items.[INDEX].createdAt","typeLabel":"string"},"taxDetails":{"type":"object","properties":{"destinationAddress":{"type":"string","description":"The destination address where the item will be delivered.","example":"c86f777b-1885-4ddf-961d-542ba80a69b8","uniqueKey":"fees.collection.items.[INDEX].taxDetails.destinationAddress","typeLabel":"string"},"originAddress":{"type":"string","description":"The origin address from which the item will be fulfilled.","example":"c86f777b-1885-4ddf-961d-542ba80a69b8","uniqueKey":"fees.collection.items.[INDEX].taxDetails.originAddress","typeLabel":"string"}},"description":"Tax details used to determine tax for a cart fee.","uniqueKey":"fees.collection.items.[INDEX].taxDetails","typeLabel":"object"}},"description":"Fee","uniqueKey":"fees.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fees.collection","typeLabel":"object[]"}},"description":"A collection of fees associated with the corresponding cart.","uniqueKey":"fees","typeLabel":"object"},"adjustments":{"type":"object","properties":{"total":{"type":"number","description":"Adjustments total in a collection.","example":2,"uniqueKey":"adjustments.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing adjustments in the collection.","items":{"type":"object","properties":{"id":{"type":"string","description":"The Adjustment ID generated when an adjustment was created using the [Create adjustment](/v3/cart-and-checkout/api-reference/carts-v3/carts-adjustments/create-adjustments) endpoint.","example":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","uniqueKey":"adjustments.collection.items.[INDEX].id","typeLabel":"string"},"price":{"required":["amount"],"type":"object","properties":{"amount":{"minimum":0,"exclusiveMinimum":false,"type":"number","description":"Total fees amount","example":12.99,"isRequired":true,"uniqueKey":"adjustments.collection.items.[INDEX].price.amount","typeLabel":"number"}},"description":"Price details","uniqueKey":"adjustments.collection.items.[INDEX].price","typeLabel":"object"},"reason":{"type":"string","description":"The reason for the adjustment.","example":"Price adjustment from customer representative.","uniqueKey":"adjustments.collection.items.[INDEX].reason","typeLabel":"string"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes used for price adjustments.","example":{"source":"CSR"},"uniqueKey":"adjustments.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes used for price adjustments.","example":{"source":"CSR"},"uniqueKey":"adjustments.collection.items.[INDEX].attributes","typeLabel":"object"},"updatedAt":{"type":"string","description":"The date and time when the adjustment was last updated.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"adjustments.collection.items.[INDEX].updatedAt","typeLabel":"string"},"createdAt":{"type":"string","description":"The date and time when the adjustment was created.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"adjustments.collection.items.[INDEX].createdAt","typeLabel":"string"}},"description":"Adjustment","uniqueKey":"adjustments.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"adjustments.collection","typeLabel":"object[]"}},"description":"A collection of adjustments made to the corresponding cart.","uniqueKey":"adjustments","typeLabel":"object"},"addresses":{"type":"object","properties":{"a8577d7f0d4d4b228e857b4a2e90dc93":{"type":"object","properties":{"id":{"type":"string","description":"The Address ID generated when an address was created using the [Create address](/v3/cart-and-checkout/api-reference/carts-v3/addresses/create-addresses) endpoint.","example":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.id","typeLabel":"string"},"name":{"type":"object","properties":{"first":{"type":"string","description":"First name","example":"John","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.name.first","typeLabel":"string"},"middle":{"type":"string","description":"Middle name","example":"S","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.name.middle","typeLabel":"string"},"last":{"type":"string","description":"Last name","example":"Doe","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.name.last","typeLabel":"string"}},"description":"Name of the recipient of the order.","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.name","typeLabel":"object"},"email":{"type":"string","description":"Email","example":"john@test.com","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.email","typeLabel":"string"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Phone Number","example":"123-456-7890","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.phone.number","typeLabel":"string"},"type":{"type":"string","description":"Phone Number Type","example":"MOBILE","enum":["MOBILE","BUSINESS","HOME"],"uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.phone.type","typeLabel":"enum\u003cstring>"}},"description":"Phone","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.phone","typeLabel":"object"},"addressLine1":{"type":"string","description":"Address line 1","example":"123 Park Road","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.addressLine1","typeLabel":"string"},"addressLine2":{"type":"string","description":"Address line 2","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.addressLine2","typeLabel":"string"},"addressLine3":{"type":"string","description":"Address line 3","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.addressLine3","typeLabel":"string"},"addressLine4":{"type":"string","description":"Address line 4","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.addressLine4","typeLabel":"string"},"city":{"type":"string","description":"City","example":"Santa Cruz","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.city","typeLabel":"string"},"region":{"type":"string","description":"State, Province or Area","example":"California","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.region","typeLabel":"string"},"country":{"type":"string","description":"Country","example":"USA","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.country","typeLabel":"string"},"postalCode":{"type":"string","description":"Postal code or zip code","example":"12345","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.postalCode","typeLabel":"string"},"updatedAt":{"type":"string","description":"The date and time the address was last updated.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.updatedAt","typeLabel":"string"},"createdAt":{"type":"string","description":"The date and time the address was created.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93.createdAt","typeLabel":"string"}},"description":"Address","uniqueKey":"addresses.a8577d7f0d4d4b228e857b4a2e90dc93","typeLabel":"object"}},"description":"A map of addresses added to the corresponding cart.","uniqueKey":"addresses","typeLabel":"object"},"lineItems":{"type":"object","properties":{"total":{"type":"number","description":"Item total in a collection.","example":100,"uniqueKey":"lineItems.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing items in the collection.","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the item that was linked from making [Create item](/v3/cart-and-checkout/api-reference/carts-v3/items/items) endpoint","example":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","uniqueKey":"lineItems.collection.items.[INDEX].id","typeLabel":"string"},"sku":{"type":"string","description":"The Stock Keeping Unit (SKU) associated with the item, used for inventory tracking and management.","example":"SKU3","uniqueKey":"lineItems.collection.items.[INDEX].sku","typeLabel":"string"},"refId":{"type":"string","description":"An alternative identifier associated with the item, used for additional tracking or referencing.","example":"41","uniqueKey":"lineItems.collection.items.[INDEX].refId","typeLabel":"string"},"quantity":{"type":"integer","description":"Quantity of item","format":"int32","example":10,"uniqueKey":"lineItems.collection.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"priceListId":{"type":"string","description":"The unique identifier for a price list, used to reference and manage pricing information.","example":"10001","uniqueKey":"lineItems.collection.items.[INDEX].priceListId","typeLabel":"string"},"position":{"type":"integer","description":"Position of the item in the cart..","format":"int32","example":1,"uniqueKey":"lineItems.collection.items.[INDEX].position","typeLabel":"integer\u003cint32>"},"price":{"type":"object","properties":{"unit":{"type":"number","description":"The unit price of the item.","example":10,"uniqueKey":"lineItems.collection.items.[INDEX].price.unit","typeLabel":"number"},"amount":{"type":"number","description":"The total price of the item, inclusive of quantity.","example":100,"uniqueKey":"lineItems.collection.items.[INDEX].price.amount","typeLabel":"number"}},"description":"Item price","uniqueKey":"lineItems.collection.items.[INDEX].price","typeLabel":"object"},"fees":{"type":"object","properties":{"total":{"type":"number","description":"The total fees amount in the collection.","example":5,"uniqueKey":"lineItems.collection.items.[INDEX].fees.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing all fees and their details in a collection.","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the fee associated with the corresponding cart that was generated when making [Create fee](/v3/cart-and-checkout/api-reference/carts-v3/fees/create-fees) endpoint.","example":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Name of the fee","example":"Eco Fee","uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].name","typeLabel":"string"},"price":{"required":["amount"],"type":"object","properties":{"amount":{"minimum":0,"exclusiveMinimum":false,"type":"number","description":"Total fees amount","example":12.99,"isRequired":true,"uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].price.amount","typeLabel":"number"}},"description":"Price details","uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].price","typeLabel":"object"},"taxable":{"type":"boolean","description":"A boolean value that determines whether a fee is taxable.","example":true,"uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].taxable","typeLabel":"boolean"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes that provide more context for the fee, such as the source of the fee.","example":{"source":"eco"},"uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes that provide more context for the fee, such as the source of the fee.","example":{"source":"eco"},"uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].attributes","typeLabel":"object"},"tax":{"type":"object","properties":{"total":{"type":"number","description":"Tax total in the collection.","example":3,"uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].tax.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing taxes in a collection.","items":{"type":"object","properties":{"amount":{"type":"number","description":"Tax amount","example":3,"uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].tax.collection.items.[INDEX].amount","typeLabel":"number"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes to provide more context to the tax, such as the rate and the type of tax.","example":{"rate":"5.0","type":"COUNTY"},"uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].tax.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes to provide more context to the tax, such as the rate and the type of tax.","example":{"rate":"5.0","type":"COUNTY"},"uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].tax.collection.items.[INDEX].attributes","typeLabel":"object"}},"description":"Tax","uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].tax.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].tax.collection","typeLabel":"object[]"}},"description":"A collection of taxes.","uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].tax","typeLabel":"object"},"updatedAt":{"type":"string","description":"The date and time when the fee was last updated.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].updatedAt","typeLabel":"string"},"createdAt":{"type":"string","description":"The date and time when the fee was created.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].createdAt","typeLabel":"string"},"taxDetails":{"type":"object","properties":{"destinationAddress":{"type":"string","description":"The destination address where the item will be delivered.","example":"c86f777b-1885-4ddf-961d-542ba80a69b8","uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].taxDetails.destinationAddress","typeLabel":"string"},"originAddress":{"type":"string","description":"The origin address from which the item will be fulfilled.","example":"c86f777b-1885-4ddf-961d-542ba80a69b8","uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].taxDetails.originAddress","typeLabel":"string"}},"description":"Tax details used to determine tax for a cart fee.","uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX].taxDetails","typeLabel":"object"}},"description":"Fee","uniqueKey":"lineItems.collection.items.[INDEX].fees.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.collection.items.[INDEX].fees.collection","typeLabel":"object[]"}},"description":"A collection of fees associated with the corresponding cart.","uniqueKey":"lineItems.collection.items.[INDEX].fees","typeLabel":"object"},"promotions":{"type":"object","properties":{"total":{"type":"number","description":"Discount total in the collection.","example":2,"uniqueKey":"lineItems.collection.items.[INDEX].promotions.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing promotions in the collection.","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the promotion.","example":"bb44db95-6fbd-4eed-a1ed-4d99bc91250f","uniqueKey":"lineItems.collection.items.[INDEX].promotions.collection.items.[INDEX].id","typeLabel":"string"},"amount":{"type":"number","description":"The discount amount applied to the item, excluding quantity.","example":15,"uniqueKey":"lineItems.collection.items.[INDEX].promotions.collection.items.[INDEX].amount","typeLabel":"number"},"quantity":{"type":"integer","description":"The quantity of the item for which the discount is applicable.","format":"int32","example":3,"uniqueKey":"lineItems.collection.items.[INDEX].promotions.collection.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"proration":{"type":"object","properties":{"spread":{"type":"array","description":"An array containing details about adjustments made to charges based on partial usage. Each entry in the array represents a specific proration adjustment, including the amount.","items":{"type":"object","properties":{"amount":{"type":"number","description":"Proration amount for the item","example":5,"uniqueKey":"lineItems.collection.items.[INDEX].promotions.collection.items.[INDEX].proration.spread.items.[INDEX].amount","typeLabel":"number"},"quantity":{"type":"integer","description":"Proration quantity the amount is applicable for","format":"int32","example":3,"uniqueKey":"lineItems.collection.items.[INDEX].promotions.collection.items.[INDEX].proration.spread.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"}},"description":"Proration details of the item used for returns in an OMS system","uniqueKey":"lineItems.collection.items.[INDEX].promotions.collection.items.[INDEX].proration.spread.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.collection.items.[INDEX].promotions.collection.items.[INDEX].proration.spread","typeLabel":"object[]"}},"description":"Prorations","uniqueKey":"lineItems.collection.items.[INDEX].promotions.collection.items.[INDEX].proration","typeLabel":"object"}},"description":"Item Promotion","uniqueKey":"lineItems.collection.items.[INDEX].promotions.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.collection.items.[INDEX].promotions.collection","typeLabel":"object[]"}},"description":"Collection of item promotions.","uniqueKey":"lineItems.collection.items.[INDEX].promotions","typeLabel":"object"},"adjustments":{"type":"object","properties":{"total":{"type":"number","description":"Adjustments total in a collection.","example":2,"uniqueKey":"lineItems.collection.items.[INDEX].adjustments.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing adjustments in the collection.","items":{"type":"object","properties":{"id":{"type":"string","description":"The Adjustment ID generated when an adjustment was created using the [Create adjustment](/v3/cart-and-checkout/api-reference/carts-v3/carts-adjustments/create-adjustments) endpoint.","example":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","uniqueKey":"lineItems.collection.items.[INDEX].adjustments.collection.items.[INDEX].id","typeLabel":"string"},"price":{"required":["amount"],"type":"object","properties":{"amount":{"minimum":0,"exclusiveMinimum":false,"type":"number","description":"Total fees amount","example":12.99,"isRequired":true,"uniqueKey":"lineItems.collection.items.[INDEX].adjustments.collection.items.[INDEX].price.amount","typeLabel":"number"}},"description":"Price details","uniqueKey":"lineItems.collection.items.[INDEX].adjustments.collection.items.[INDEX].price","typeLabel":"object"},"reason":{"type":"string","description":"The reason for the adjustment.","example":"Price adjustment from customer representative.","uniqueKey":"lineItems.collection.items.[INDEX].adjustments.collection.items.[INDEX].reason","typeLabel":"string"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes used for price adjustments.","example":{"source":"CSR"},"uniqueKey":"lineItems.collection.items.[INDEX].adjustments.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes used for price adjustments.","example":{"source":"CSR"},"uniqueKey":"lineItems.collection.items.[INDEX].adjustments.collection.items.[INDEX].attributes","typeLabel":"object"},"updatedAt":{"type":"string","description":"The date and time when the adjustment was last updated.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"lineItems.collection.items.[INDEX].adjustments.collection.items.[INDEX].updatedAt","typeLabel":"string"},"createdAt":{"type":"string","description":"The date and time when the adjustment was created.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"lineItems.collection.items.[INDEX].adjustments.collection.items.[INDEX].createdAt","typeLabel":"string"}},"description":"Adjustment","uniqueKey":"lineItems.collection.items.[INDEX].adjustments.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.collection.items.[INDEX].adjustments.collection","typeLabel":"object[]"}},"description":"A collection of adjustments made to the corresponding cart.","uniqueKey":"lineItems.collection.items.[INDEX].adjustments","typeLabel":"object"},"fulfillment":{"type":"object","properties":{"id":{"type":"string","description":"The identifier of the fulfillment linked to the item.","example":"6d65755f-b1d9-4c9d-bb5b-118d317f8db4","uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.id","typeLabel":"string"},"price":{"required":["amount"],"type":"object","properties":{"amount":{"minimum":0,"exclusiveMinimum":false,"type":"number","description":"Total fees amount","example":12.99,"isRequired":true,"uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.price.amount","typeLabel":"number"}},"description":"Price details","uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.price","typeLabel":"object"},"inventory":{"type":"object","properties":{"type":{"type":"string","description":"The type used to determine which counter to compare the quantity against.","example":"backOrder","uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.inventory.type","typeLabel":"string"},"channels":{"type":"object","additionalProperties":{"type":"string","description":"The inventory channels associated with the item.","example":"{\"networkCode\":\"ShipToHome\"}","uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.inventory.channels.additionalProperties","typeLabel":"string"},"description":"The inventory channels associated with the item.","example":{"networkCode":"ShipToHome"},"uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.inventory.channels","typeLabel":"object"}},"description":"Inventory","uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.inventory","typeLabel":"object"},"tax":{"type":"object","properties":{"total":{"type":"number","description":"Tax total in the collection.","example":3,"uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.tax.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing taxes in a collection.","items":{"type":"object","properties":{"amount":{"type":"number","description":"Tax amount","example":3,"uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.tax.collection.items.[INDEX].amount","typeLabel":"number"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes to provide more context to the tax, such as the rate and the type of tax.","example":{"rate":"5.0","type":"COUNTY"},"uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.tax.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes to provide more context to the tax, such as the rate and the type of tax.","example":{"rate":"5.0","type":"COUNTY"},"uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.tax.collection.items.[INDEX].attributes","typeLabel":"object"}},"description":"Tax","uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.tax.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.tax.collection","typeLabel":"object[]"}},"description":"A collection of taxes.","uniqueKey":"lineItems.collection.items.[INDEX].fulfillment.tax","typeLabel":"object"}},"description":"Item Fulfillment","uniqueKey":"lineItems.collection.items.[INDEX].fulfillment","typeLabel":"object"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes","example":{"name":"item-custom"},"uniqueKey":"lineItems.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes","example":{"name":"item-custom"},"uniqueKey":"lineItems.collection.items.[INDEX].attributes","typeLabel":"object"},"tax":{"type":"object","properties":{"total":{"type":"number","description":"Tax total in the collection.","example":3,"uniqueKey":"lineItems.collection.items.[INDEX].tax.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing taxes in a collection.","items":{"type":"object","properties":{"amount":{"type":"number","description":"Tax amount","example":3,"uniqueKey":"lineItems.collection.items.[INDEX].tax.collection.items.[INDEX].amount","typeLabel":"number"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes to provide more context to the tax, such as the rate and the type of tax.","example":{"rate":"5.0","type":"COUNTY"},"uniqueKey":"lineItems.collection.items.[INDEX].tax.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes to provide more context to the tax, such as the rate and the type of tax.","example":{"rate":"5.0","type":"COUNTY"},"uniqueKey":"lineItems.collection.items.[INDEX].tax.collection.items.[INDEX].attributes","typeLabel":"object"}},"description":"Tax","uniqueKey":"lineItems.collection.items.[INDEX].tax.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.collection.items.[INDEX].tax.collection","typeLabel":"object[]"}},"description":"A collection of taxes.","uniqueKey":"lineItems.collection.items.[INDEX].tax","typeLabel":"object"},"taxCode":{"type":"string","description":"The code used to identify and apply tax rates for transactions.","example":"10001","uniqueKey":"lineItems.collection.items.[INDEX].taxCode","typeLabel":"string"},"updatedAt":{"type":"string","description":"The date and time the Item was last updated","example":"2024-06-13T16:50:00.682Z","uniqueKey":"lineItems.collection.items.[INDEX].updatedAt","typeLabel":"string"},"createdAt":{"type":"string","description":"The date and time a Item was created","example":"2024-06-13T16:50:00.682Z","uniqueKey":"lineItems.collection.items.[INDEX].createdAt","typeLabel":"string"}},"description":"Item Response","uniqueKey":"lineItems.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.collection","typeLabel":"object[]"}},"description":"A collection of items in the cart.","uniqueKey":"lineItems","typeLabel":"object"},"summary":{"type":"object","properties":{"totalItems":{"type":"integer","description":"The total number of items in the cart, inclusive of quantity.","format":"int32","example":1,"uniqueKey":"summary.totalItems","typeLabel":"integer\u003cint32>"},"totalUniqueItems":{"type":"integer","description":"The total number of unique items in the cart.","format":"int32","example":1,"uniqueKey":"summary.totalUniqueItems","typeLabel":"integer\u003cint32>"}},"description":"A summary of items in the cart.","uniqueKey":"summary","typeLabel":"object"},"fulfillments":{"type":"object","properties":{"d6229cdb0c5b4885b1b213b94d02488e":{"type":"object","properties":{"id":{"type":"string","description":"The Fulfillment ID generated when a fulfillment was created using the [Create fulfillment](/v3/cart-and-checkout/api-reference/carts-v3/fulfillment/create-fulfillments) endpoint.","example":"d6229cdb-0c5b-4885-b1b2-13b94d02488e","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.id","typeLabel":"string"},"type":{"type":"string","description":"Determines the type of fulfillment.","example":"SHIP_TO","enum":["SHIP_TO","BOPIS","ROPIS"],"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.type","typeLabel":"enum\u003cstring>"},"refId":{"type":"string","description":"An alternative identifier for fulfillments, used for additional tracking or referencing.","example":"398427903843","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.refId","typeLabel":"string"},"attributes":{"type":"object","description":"Custom attributes to provide more context to the fulfillment, such as where it was made.","additionalProperties":{"type":"object","description":"Custom attributes to provide more context to the fulfillment, such as where it was made.","example":{"source":"store"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.attributes.additionalProperties","typeLabel":"object"},"example":{"source":"store"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.attributes","typeLabel":"object"},"originAddress":{"type":"string","description":"The identifier of the address where the item is being fulfilled.","example":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.originAddress","typeLabel":"string"},"destinationAddress":{"type":"string","description":"The identifier of the address where the item is being shipped.","example":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.destinationAddress","typeLabel":"string"},"locationId":{"type":"string","description":"Unique identifier of the store.","example":"CA","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.locationId","typeLabel":"string"},"pickupPerson":{"type":"object","properties":{"primary":{"required":["name"],"type":"object","properties":{"name":{"type":"object","properties":{"first":{"type":"string","description":"First name","example":"John","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.primary.name.first","typeLabel":"string"},"middle":{"type":"string","description":"Middle name","example":"S","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.primary.name.middle","typeLabel":"string"},"last":{"type":"string","description":"Last name","example":"Doe","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.primary.name.last","typeLabel":"string"}},"description":"Name of the recipient of the order.","isRequired":true,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.primary.name","typeLabel":"object"},"email":{"type":"string","description":"Email of the pickup person.","example":"john@test.com","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.primary.email","typeLabel":"string"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Phone Number","example":"123-456-7890","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.primary.phone.number","typeLabel":"string"},"type":{"type":"string","description":"Phone Number Type","example":"MOBILE","enum":["MOBILE","BUSINESS","HOME"],"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.primary.phone.type","typeLabel":"enum\u003cstring>"}},"description":"Phone","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.primary.phone","typeLabel":"object"}},"description":"Name of the pickup person.","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.primary","typeLabel":"object"},"secondary":{"type":"array","description":"An array containing secondary people for pickup.","items":{"required":["name"],"type":"object","properties":{"name":{"type":"object","properties":{"first":{"type":"string","description":"First name","example":"John","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.secondary.items.[INDEX].name.first","typeLabel":"string"},"middle":{"type":"string","description":"Middle name","example":"S","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.secondary.items.[INDEX].name.middle","typeLabel":"string"},"last":{"type":"string","description":"Last name","example":"Doe","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.secondary.items.[INDEX].name.last","typeLabel":"string"}},"description":"Name of the recipient of the order.","isRequired":true,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.secondary.items.[INDEX].name","typeLabel":"object"},"email":{"type":"string","description":"Email of the pickup person.","example":"john@test.com","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.secondary.items.[INDEX].email","typeLabel":"string"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Phone Number","example":"123-456-7890","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.secondary.items.[INDEX].phone.number","typeLabel":"string"},"type":{"type":"string","description":"Phone Number Type","example":"MOBILE","enum":["MOBILE","BUSINESS","HOME"],"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.secondary.items.[INDEX].phone.type","typeLabel":"enum\u003cstring>"}},"description":"Phone","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.secondary.items.[INDEX].phone","typeLabel":"object"}},"description":"Name of the pickup person.","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.secondary.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson.secondary","typeLabel":"object[]"}},"description":"Pickup person details","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.pickupPerson","typeLabel":"object"},"price":{"required":["amount"],"type":"object","properties":{"amount":{"minimum":0,"exclusiveMinimum":false,"type":"number","description":"Total fees amount","example":12.99,"isRequired":true,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.price.amount","typeLabel":"number"}},"description":"Price details","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.price","typeLabel":"object"},"promotions":{"type":"object","properties":{"total":{"type":"number","description":"The total discount applied within a collection.","example":15,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.promotions.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing the promotions within a collection.","items":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of a promotion","example":"bb44db95-6fbd-4eed-a1ed-4d99bc91250f","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.promotions.collection.items.[INDEX].id","typeLabel":"string"},"amount":{"type":"number","description":"The discount amount applied to a fulfillment.","example":15,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.promotions.collection.items.[INDEX].amount","typeLabel":"number"}},"description":"Fulfillment Promotion","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.promotions.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.promotions.collection","typeLabel":"object[]"}},"description":"A collection of promotions applied to the fulfillment.","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.promotions","typeLabel":"object"},"fees":{"type":"object","properties":{"total":{"type":"number","description":"The total fees amount in the collection.","example":5,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing all fees and their details in a collection.","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the fee associated with the corresponding cart that was generated when making [Create fee](/v3/cart-and-checkout/api-reference/carts-v3/fees/create-fees) endpoint.","example":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Name of the fee","example":"Eco Fee","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].name","typeLabel":"string"},"price":{"required":["amount"],"type":"object","properties":{"amount":{"minimum":0,"exclusiveMinimum":false,"type":"number","description":"Total fees amount","example":12.99,"isRequired":true,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].price.amount","typeLabel":"number"}},"description":"Price details","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].price","typeLabel":"object"},"taxable":{"type":"boolean","description":"A boolean value that determines whether a fee is taxable.","example":true,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].taxable","typeLabel":"boolean"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes that provide more context for the fee, such as the source of the fee.","example":{"source":"eco"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes that provide more context for the fee, such as the source of the fee.","example":{"source":"eco"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].attributes","typeLabel":"object"},"tax":{"type":"object","properties":{"total":{"type":"number","description":"Tax total in the collection.","example":3,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].tax.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing taxes in a collection.","items":{"type":"object","properties":{"amount":{"type":"number","description":"Tax amount","example":3,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].tax.collection.items.[INDEX].amount","typeLabel":"number"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes to provide more context to the tax, such as the rate and the type of tax.","example":{"rate":"5.0","type":"COUNTY"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].tax.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes to provide more context to the tax, such as the rate and the type of tax.","example":{"rate":"5.0","type":"COUNTY"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].tax.collection.items.[INDEX].attributes","typeLabel":"object"}},"description":"Tax","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].tax.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].tax.collection","typeLabel":"object[]"}},"description":"A collection of taxes.","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].tax","typeLabel":"object"},"updatedAt":{"type":"string","description":"The date and time when the fee was last updated.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].updatedAt","typeLabel":"string"},"createdAt":{"type":"string","description":"The date and time when the fee was created.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].createdAt","typeLabel":"string"},"taxDetails":{"type":"object","properties":{"destinationAddress":{"type":"string","description":"The destination address where the item will be delivered.","example":"c86f777b-1885-4ddf-961d-542ba80a69b8","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].taxDetails.destinationAddress","typeLabel":"string"},"originAddress":{"type":"string","description":"The origin address from which the item will be fulfilled.","example":"c86f777b-1885-4ddf-961d-542ba80a69b8","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].taxDetails.originAddress","typeLabel":"string"}},"description":"Tax details used to determine tax for a cart fee.","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX].taxDetails","typeLabel":"object"}},"description":"Fee","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees.collection","typeLabel":"object[]"}},"description":"A collection of fees associated with the corresponding cart.","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.fees","typeLabel":"object"},"adjustments":{"type":"object","properties":{"total":{"type":"number","description":"Adjustments total in a collection.","example":2,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.adjustments.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing adjustments in the collection.","items":{"type":"object","properties":{"id":{"type":"string","description":"The Adjustment ID generated when an adjustment was created using the [Create adjustment](/v3/cart-and-checkout/api-reference/carts-v3/carts-adjustments/create-adjustments) endpoint.","example":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.adjustments.collection.items.[INDEX].id","typeLabel":"string"},"price":{"required":["amount"],"type":"object","properties":{"amount":{"minimum":0,"exclusiveMinimum":false,"type":"number","description":"Total fees amount","example":12.99,"isRequired":true,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.adjustments.collection.items.[INDEX].price.amount","typeLabel":"number"}},"description":"Price details","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.adjustments.collection.items.[INDEX].price","typeLabel":"object"},"reason":{"type":"string","description":"The reason for the adjustment.","example":"Price adjustment from customer representative.","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.adjustments.collection.items.[INDEX].reason","typeLabel":"string"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes used for price adjustments.","example":{"source":"CSR"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.adjustments.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes used for price adjustments.","example":{"source":"CSR"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.adjustments.collection.items.[INDEX].attributes","typeLabel":"object"},"updatedAt":{"type":"string","description":"The date and time when the adjustment was last updated.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.adjustments.collection.items.[INDEX].updatedAt","typeLabel":"string"},"createdAt":{"type":"string","description":"The date and time when the adjustment was created.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.adjustments.collection.items.[INDEX].createdAt","typeLabel":"string"}},"description":"Adjustment","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.adjustments.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.adjustments.collection","typeLabel":"object[]"}},"description":"A collection of adjustments made to the corresponding cart.","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.adjustments","typeLabel":"object"},"tax":{"type":"object","properties":{"total":{"type":"number","description":"Tax total in the collection.","example":3,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.tax.total","typeLabel":"number"},"collection":{"type":"array","description":"An array containing taxes in a collection.","items":{"type":"object","properties":{"amount":{"type":"number","description":"Tax amount","example":3,"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.tax.collection.items.[INDEX].amount","typeLabel":"number"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes to provide more context to the tax, such as the rate and the type of tax.","example":{"rate":"5.0","type":"COUNTY"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.tax.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes to provide more context to the tax, such as the rate and the type of tax.","example":{"rate":"5.0","type":"COUNTY"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.tax.collection.items.[INDEX].attributes","typeLabel":"object"}},"description":"Tax","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.tax.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.tax.collection","typeLabel":"object[]"}},"description":"A collection of taxes.","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e.tax","typeLabel":"object"}},"description":"A fulfillment object containing important fulfillment information.","uniqueKey":"fulfillments.d6229cdb0c5b4885b1b213b94d02488e","typeLabel":"object"}},"description":"A map of fulfillments added to the corresponding cart.","uniqueKey":"fulfillments","typeLabel":"object"},"coupons":{"type":"array","description":"An array containing all coupons added to the corresponding cart.","items":{"type":"object","properties":{"code":{"type":"string","description":"Coupon code","example":"VALID_COUPON","uniqueKey":"coupons.items.[INDEX].code","typeLabel":"string"},"updatedAt":{"type":"string","description":"The date when the coupon was added to the corresponding cart.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"coupons.items.[INDEX].updatedAt","typeLabel":"string"}},"description":"Coupon","uniqueKey":"coupons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"coupons","typeLabel":"object[]"},"appliedCoupons":{"type":"array","description":"An array containing all coupons applied to the cart.","items":{"type":"object","properties":{"code":{"type":"string","description":"Coupon code","example":"VALID_COUPON","uniqueKey":"appliedCoupons.items.[INDEX].code","typeLabel":"string"},"updatedAt":{"type":"string","description":"The date when the coupon was added to the corresponding cart.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"appliedCoupons.items.[INDEX].updatedAt","typeLabel":"string"}},"description":"Coupon","uniqueKey":"appliedCoupons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"appliedCoupons","typeLabel":"object[]"},"notAppliedCoupons":{"type":"array","description":"An array containing any coupons that were ineligible and not applied to the cart.","items":{"type":"object","properties":{"code":{"type":"string","description":"Coupon code","example":"VALID_COUPON","uniqueKey":"notAppliedCoupons.items.[INDEX].code","typeLabel":"string"},"updatedAt":{"type":"string","description":"The date when the coupon was added to the corresponding cart.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"notAppliedCoupons.items.[INDEX].updatedAt","typeLabel":"string"}},"description":"Coupon","uniqueKey":"notAppliedCoupons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"notAppliedCoupons","typeLabel":"object[]"},"validations":{"type":"object","properties":{"promotions":{"type":"object","properties":{"updatedAt":{"type":"string","description":"The latest date when promotions data was added to the corresponding cart.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"validations.promotions.updatedAt","typeLabel":"string"},"appliedCoupons":{"type":"array","description":"An array containing coupons that have been added to the corresponding cart.","example":["TEST_COUPON"],"items":{"type":"string","description":"Coupons that have been added to the corresponding cart.","example":"[\"TEST_COUPON\"]","uniqueKey":"validations.promotions.appliedCoupons.items.[INDEX]","typeLabel":"string"},"uniqueKey":"validations.promotions.appliedCoupons","typeLabel":"string[]"},"refreshRequired":{"type":"boolean","description":"A boolean value that determines whether promotions require a refresh.","example":false,"uniqueKey":"validations.promotions.refreshRequired","typeLabel":"boolean"}},"description":"An object that contains promotion validation data.","uniqueKey":"validations.promotions","typeLabel":"object"},"lineItems":{"type":"array","items":{"type":"object","properties":{"sku":{"type":"string","description":"The SKU of the item.","example":"SKU3","uniqueKey":"validations.lineItems.items.[INDEX].sku","typeLabel":"string"},"inventory":{"type":"object","properties":{"channels":{"type":"object","additionalProperties":{"type":"string","description":"The inventory channels associated with the item.","example":"{\"networkCode\":\"ShipToHome\"}","uniqueKey":"validations.lineItems.items.[INDEX].inventory.channels.additionalProperties","typeLabel":"string"},"description":"The inventory channels associated with the item.","example":{"networkCode":"ShipToHome"},"uniqueKey":"validations.lineItems.items.[INDEX].inventory.channels","typeLabel":"object"},"counters":{"type":"object","additionalProperties":{"type":"integer","description":"The inventory counters available for the item.","format":"int32","uniqueKey":"validations.lineItems.items.[INDEX].inventory.counters.additionalProperties","typeLabel":"integer\u003cint32>"},"description":"The inventory counters available for the item.","example":{"backOrder":15,"preOrder":100},"uniqueKey":"validations.lineItems.items.[INDEX].inventory.counters","typeLabel":"object"},"updatedAt":{"type":"string","description":"The latest date when inventory was added to the corresponding cart.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"validations.lineItems.items.[INDEX].inventory.updatedAt","typeLabel":"string"}},"description":"Inventory validation details","uniqueKey":"validations.lineItems.items.[INDEX].inventory","typeLabel":"object"}},"description":"An object that contains item validation data.","uniqueKey":"validations.lineItems.items.[INDEX]","typeLabel":"object"},"uniqueKey":"validations.lineItems","typeLabel":"object[]"},"product":{"type":"object","properties":{"availableSkus":{"type":"array","description":"An array containing product validation data.","items":{"type":"object","properties":{"sku":{"type":"string","description":"The SKU that exists within a Product Information Management (PIM) service.","example":"SKU3","uniqueKey":"validations.product.availableSkus.items.[INDEX].sku","typeLabel":"string"},"updatedAt":{"type":"string","description":"The latest date when product data was added to the corresponding cart.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"validations.product.availableSkus.items.[INDEX].updatedAt","typeLabel":"string"},"maxQuantity":{"type":"integer","description":"The maximum quantity allowed for a SKU.","format":"int32","example":100,"uniqueKey":"validations.product.availableSkus.items.[INDEX].maxQuantity","typeLabel":"integer\u003cint32>"}},"description":"Product validation data to determine product existence","uniqueKey":"validations.product.availableSkus.items.[INDEX]","typeLabel":"object"},"uniqueKey":"validations.product.availableSkus","typeLabel":"object[]"}},"description":"Product validation data","uniqueKey":"validations.product","typeLabel":"object"},"tax":{"type":"object","properties":{"updatedAt":{"type":"string","description":"Latest date the tax was added to the corresponding cart.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"validations.tax.updatedAt","typeLabel":"string"}},"description":"An object that contains tax validation data.","uniqueKey":"validations.tax","typeLabel":"object"}},"uniqueKey":"validations","typeLabel":"object"},"payments":{"type":"object","properties":{"authorized":{"type":"number","description":"The payments that have been authorized within the collection.","example":800,"uniqueKey":"payments.authorized","typeLabel":"number"},"collection":{"type":"array","description":"An array containing payments within the collection.","items":{"type":"object","properties":{"id":{"type":"string","description":"The Payment ID that was generated when a payment was created using the [Create payment](/v3/cart-and-checkout/api-reference/carts-v3/payments/create-payments) endpoint.","example":"6ef2067a-5d6b-4785-a090-96ea0078220d","uniqueKey":"payments.collection.items.[INDEX].id","typeLabel":"string"},"provider":{"type":"string","description":"The payment provider, such as Verifone, that offers functions like transaction processing, gateway management, and other financial services.","example":"verifone","uniqueKey":"payments.collection.items.[INDEX].provider","typeLabel":"string"},"processor":{"type":"string","description":"The payment processor, such as Stripe, responsible for handling and processing payment transactions by facilitating communication between the merchant and the issuing bank.","example":"stripe","uniqueKey":"payments.collection.items.[INDEX].processor","typeLabel":"string"},"method":{"type":"string","description":"Payment method, such as Apple Pay, used for processing transactions.","example":"apple pay","uniqueKey":"payments.collection.items.[INDEX].method","typeLabel":"string"},"methodType":{"type":"string","description":"Payment method type, such as a credit card.","example":"credit card","uniqueKey":"payments.collection.items.[INDEX].methodType","typeLabel":"string"},"state":{"type":"string","description":"Payment state indicates whether the payment has been successfully processed.","example":"PENDING","enum":["PENDING","AUTHORIZED","CAPTURED","FAILED"],"uniqueKey":"payments.collection.items.[INDEX].state","typeLabel":"enum\u003cstring>"},"authorization":{"required":["amount"],"type":"object","properties":{"amount":{"minimum":0,"exclusiveMinimum":true,"type":"number","description":"The amount for which the payment has been authorized.","example":8,"isRequired":true,"uniqueKey":"payments.collection.items.[INDEX].authorization.amount","typeLabel":"number"},"expiry":{"type":"string","description":"The date when the payment authorization expires.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"payments.collection.items.[INDEX].authorization.expiry","typeLabel":"string"},"verifier":{"type":"object","properties":{"type":{"type":"string","description":"The type of verification used, such as a token.","example":"TOKEN","uniqueKey":"payments.collection.items.[INDEX].authorization.verifier.type","typeLabel":"string"},"key":{"type":"string","description":"The key used for payment verification.","example":"CH39082K439R0","uniqueKey":"payments.collection.items.[INDEX].authorization.verifier.key","typeLabel":"string"}},"description":"Payment verifier","uniqueKey":"payments.collection.items.[INDEX].authorization.verifier","typeLabel":"object"}},"description":"Payment authorization","uniqueKey":"payments.collection.items.[INDEX].authorization","typeLabel":"object"},"billToAddress":{"type":"string","description":"The Address ID that was generated when an address was created using the [Create address](/v3/cart-and-checkout/api-reference/carts-v3/addresses/create-addresses) endpoint.","example":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","uniqueKey":"payments.collection.items.[INDEX].billToAddress","typeLabel":"string"},"cardDetails":{"type":"object","description":"Information about the card used for payment, such as gift card details.","additionalProperties":{"type":"object","description":"Information about the card used for payment, such as gift card details.","uniqueKey":"payments.collection.items.[INDEX].cardDetails.additionalProperties","typeLabel":"object"},"uniqueKey":"payments.collection.items.[INDEX].cardDetails","typeLabel":"object"},"attributes":{"type":"object","additionalProperties":{"type":"object","description":"Custom attributes associated with the transaction, such as the name of the gift card used.","example":{"gift-card-name":"custom name"},"uniqueKey":"payments.collection.items.[INDEX].attributes.additionalProperties","typeLabel":"object"},"description":"Custom attributes associated with the transaction, such as the name of the gift card used.","example":{"gift-card-name":"custom name"},"uniqueKey":"payments.collection.items.[INDEX].attributes","typeLabel":"object"}},"description":"Cart Payment","uniqueKey":"payments.collection.items.[INDEX]","typeLabel":"object"},"uniqueKey":"payments.collection","typeLabel":"object[]"}},"description":"An object containing a collection of payments added to the corresponding cart.","uniqueKey":"payments","typeLabel":"object"},"channelId":{"type":"string","description":"Channel ID","example":"12","uniqueKey":"channelId","typeLabel":"string"},"currency":{"type":"string","description":"The currency that the cart will use when an order is created.","example":"USD","uniqueKey":"currency","typeLabel":"string"},"updatedAt":{"type":"string","description":"The date and time in UTC when the cart was last updated.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"updatedAt","typeLabel":"string"},"createdAt":{"type":"string","description":"The date and time when the cart was created.","example":"2024-06-13T16:50:00.682Z","uniqueKey":"createdAt","typeLabel":"string"}},"description":"Cart Response","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"c86f777b-1885-4ddf-961d-542ba80a69b8","attributes":{"name":"wishlist"},"configuration":{"order":{"validate":{"paymentsRemaining":"BLOCK","taxRemaining":"BLOCK","invalidItem":"BLOCK","itemOutOfStock":"BLOCK"}},"product":{"cacheExpiry":7776000,"behaviors":{"add":"REJECT","update":"WARN","get":"WARN","cacheExpiry":"WARN"},"maxQuantity":{"limit":100,"behaviors":{"add":"REJECT","update":"WARN","get":"WARN"}}},"inventory":{"cacheExpiry":7776000,"behaviors":{"add":"REJECT","update":"WARN","get":"WARN","cacheExpiry":"WARN"},"check":"SKU"},"tax":{"cacheExpiry":7776000,"behaviors":{"cacheExpiry":"WARN"}},"promotions":{"cacheExpiry":7776000,"behaviors":{"cacheExpiry":"WARN"}},"maxQuantity":{"limit":100,"behaviors":{"add":"REJECT","update":"WARN","get":"WARN"}}},"customerContext":{"id":"109840938","segments":[{"name":"membership","value":["gold","silver"]}],"attributes":{"email":"test@gmail.com"},"sessionId":"3a5fd2d3-5c96-4e57-b069-7ff2a88c1119"},"status":"ACTIVE","state":[{"resource":"CART","resourceId":"c86f777b-1885-4ddf-961d-542ba80a69b8","key":"MISSING_PAYMENT_DETAILS","description":"No payment details have been added to this Cart"}],"price":{"total":800,"subtotal":750,"tax":20,"fulfillments":25,"discounts":10,"fees":5,"adjustments":10},"promotions":{"total":32,"collection":[{"id":"542ba80a69b8","title":"15 Percent All Products","code":"15_PERCENT","type":"PERCENTAGE","value":15,"attributes":{"source":"cart"}}]},"fees":{"total":5,"collection":[{"id":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","name":"Eco Fee","price":{"amount":12.99},"taxable":true,"attributes":{"source":"eco"},"tax":{"total":3,"collection":[{"amount":3,"attributes":{"rate":"5.0","type":"COUNTY"}}]},"updatedAt":"2024-06-13T16:50:00.682Z","createdAt":"2024-06-13T16:50:00.682Z","taxDetails":{"destinationAddress":"c86f777b-1885-4ddf-961d-542ba80a69b8","originAddress":"c86f777b-1885-4ddf-961d-542ba80a69b8"}}]},"adjustments":{"total":2,"collection":[{"id":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","price":{"amount":12.99},"reason":"Price adjustment from customer representative.","attributes":{"source":"CSR"},"updatedAt":"2024-06-13T16:50:00.682Z","createdAt":"2024-06-13T16:50:00.682Z"}]},"addresses":{"a8577d7f0d4d4b228e857b4a2e90dc93":{"id":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","name":{"first":"John","middle":"S","last":"Doe"},"email":"john@test.com","phone":{"number":"123-456-7890","type":"MOBILE"},"addressLine1":"123 Park Road","addressLine2":"\u003cstring>","addressLine3":"\u003cstring>","addressLine4":"\u003cstring>","city":"Santa Cruz","region":"California","country":"USA","postalCode":"12345","updatedAt":"2024-06-13T16:50:00.682Z","createdAt":"2024-06-13T16:50:00.682Z"}},"lineItems":{"total":100,"collection":[{"id":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","sku":"SKU3","refId":"41","quantity":10,"priceListId":"10001","position":1,"price":{"unit":10,"amount":100},"fees":{"total":5,"collection":[{"id":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","name":"Eco Fee","price":{"amount":12.99},"taxable":true,"attributes":{"source":"eco"},"tax":{"total":3,"collection":[{"amount":3,"attributes":{"rate":"5.0","type":"COUNTY"}}]},"updatedAt":"2024-06-13T16:50:00.682Z","createdAt":"2024-06-13T16:50:00.682Z","taxDetails":{"destinationAddress":"c86f777b-1885-4ddf-961d-542ba80a69b8","originAddress":"c86f777b-1885-4ddf-961d-542ba80a69b8"}}]},"promotions":{"total":2,"collection":[{"id":"bb44db95-6fbd-4eed-a1ed-4d99bc91250f","amount":15,"quantity":3,"proration":{"spread":[{"amount":5,"quantity":3}]}}]},"adjustments":{"total":2,"collection":[{"id":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","price":{"amount":12.99},"reason":"Price adjustment from customer representative.","attributes":{"source":"CSR"},"updatedAt":"2024-06-13T16:50:00.682Z","createdAt":"2024-06-13T16:50:00.682Z"}]},"fulfillment":{"id":"6d65755f-b1d9-4c9d-bb5b-118d317f8db4","price":{"amount":12.99},"inventory":{"type":"backOrder","channels":{"networkCode":"ShipToHome"}},"tax":{"total":3,"collection":[{"amount":3,"attributes":{"rate":"5.0","type":"COUNTY"}}]}},"attributes":{"name":"item-custom"},"tax":{"total":3,"collection":[{"amount":3,"attributes":{"rate":"5.0","type":"COUNTY"}}]},"taxCode":"10001","updatedAt":"2024-06-13T16:50:00.682Z","createdAt":"2024-06-13T16:50:00.682Z"}]},"summary":{"totalItems":1,"totalUniqueItems":1},"fulfillments":{"d6229cdb0c5b4885b1b213b94d02488e":{"id":"d6229cdb-0c5b-4885-b1b2-13b94d02488e","type":"SHIP_TO","refId":"398427903843","attributes":{"source":"store"},"originAddress":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","destinationAddress":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","locationId":"CA","pickupPerson":{"primary":{"name":{"first":"John","middle":"S","last":"Doe"},"email":"john@test.com","phone":{"number":"123-456-7890","type":"MOBILE"}},"secondary":[{"name":{"first":"John","middle":"S","last":"Doe"},"email":"john@test.com","phone":{"number":"123-456-7890","type":"MOBILE"}}]},"price":{"amount":12.99},"promotions":{"total":15,"collection":[{"id":"bb44db95-6fbd-4eed-a1ed-4d99bc91250f","amount":15}]},"fees":{"total":5,"collection":[{"id":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","name":"Eco Fee","price":{"amount":12.99},"taxable":true,"attributes":{"source":"eco"},"tax":{"total":3,"collection":[{"amount":3,"attributes":{"rate":"5.0","type":"COUNTY"}}]},"updatedAt":"2024-06-13T16:50:00.682Z","createdAt":"2024-06-13T16:50:00.682Z","taxDetails":{"destinationAddress":"c86f777b-1885-4ddf-961d-542ba80a69b8","originAddress":"c86f777b-1885-4ddf-961d-542ba80a69b8"}}]},"adjustments":{"total":2,"collection":[{"id":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","price":{"amount":12.99},"reason":"Price adjustment from customer representative.","attributes":{"source":"CSR"},"updatedAt":"2024-06-13T16:50:00.682Z","createdAt":"2024-06-13T16:50:00.682Z"}]},"tax":{"total":3,"collection":[{"amount":3,"attributes":{"rate":"5.0","type":"COUNTY"}}]}}},"coupons":[{"code":"VALID_COUPON","updatedAt":"2024-06-13T16:50:00.682Z"}],"appliedCoupons":[{"code":"VALID_COUPON","updatedAt":"2024-06-13T16:50:00.682Z"}],"notAppliedCoupons":[{"code":"VALID_COUPON","updatedAt":"2024-06-13T16:50:00.682Z"}],"validations":{"promotions":{"updatedAt":"2024-06-13T16:50:00.682Z","appliedCoupons":["TEST_COUPON"],"refreshRequired":false},"lineItems":[{"sku":"SKU3","inventory":{"channels":{"networkCode":"ShipToHome"},"counters":{"backOrder":15,"preOrder":100},"updatedAt":"2024-06-13T16:50:00.682Z"}}],"product":{"availableSkus":[{"sku":"SKU3","updatedAt":"2024-06-13T16:50:00.682Z","maxQuantity":100}]},"tax":{"updatedAt":"2024-06-13T16:50:00.682Z"}},"payments":{"authorized":800,"collection":[{"id":"6ef2067a-5d6b-4785-a090-96ea0078220d","provider":"verifone","processor":"stripe","method":"apple pay","methodType":"credit card","state":"PENDING","authorization":{"amount":8,"expiry":"2024-06-13T16:50:00.682Z","verifier":{"type":"TOKEN","key":"CH39082K439R0"}},"billToAddress":"a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93","cardDetails":{},"attributes":{"gift-card-name":"custom name"}}]},"channelId":"12","currency":"USD","updatedAt":"2024-06-13T16:50:00.682Z","createdAt":"2024-06-13T16:50:00.682Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"dd5b3ea5-d605-4b50-baee-71cfc64a954d":{"description":"Client error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","description":"Error code, meant for machine consumption","example":"BAD_REQUEST","uniqueKey":"type","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error description","example":"x-fabric-tenant-id is required","uniqueKey":"message","typeLabel":"string"}},"description":"Client error details","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"BAD_REQUEST","message":"x-fabric-tenant-id is required"}}},"exampleType":"generated"}},"exampleType":"generated"},"7f4eff8d-74d4-46ee-88cc-ce1198edc32d":{"description":"Cart not found","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","description":"Error code, meant for machine consumption","example":"CART_NOT_FOUND","uniqueKey":"type","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error description","example":"Cart not found","uniqueKey":"message","typeLabel":"string"}},"description":"Resource Not Found","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"CART_NOT_FOUND","message":"Cart not found"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d3a04c2b-1a03-43e5-b452-3f1bce5eb9f3":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"This is the authorization token used to authenticate the request. You must pass the access token generated from the system app. For more information, see the [Making your first API request](/v3/api-reference/getting-started/getting-started-with-fabric-apis#procedure) section.\n","scopes":[]}}},"servers":{"a0dc3117-659d-4ac2-b114-15c533225e9b":{"url":"https://api.fabric.inc/v3"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"This is the authorization token used to authenticate the request. You must pass the access token generated from the system app. For more information, see the [Making your first API request](/v3/api-reference/getting-started/getting-started-with-fabric-apis#procedure) section.\n","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"This is the authorization token used to authenticate the request. You must pass the access token generated from the system app. For more information, see the [Making your first API request](/v3/api-reference/getting-started/getting-started-with-fabric-apis#procedure) section.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"modular-cart.yaml"},"subdomain":"fabric-demo","siteName":"Fabric","title":"Replace inventory data - Fabric","navMaps":{"firstHrefInVersion":{"Product Agent":{"href":"/home","matchLevel":4},"v3":{"href":"/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data","matchLevel":0},"v2":{"href":"/v2/home","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-01-22T21:06:40.066Z","originalFileLocation":"v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data.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=\"Replaces inventory data associated with the corresponding cart. The Cart ID from the Create cart endpoint is used in the path parameter.\">\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=\"Replace inventory data - Fabric\">\u003cmeta data-mint-head property=\"og:description\" content=\"Replaces inventory data associated with the corresponding cart. The Cart ID from the Create cart endpoint is used in the path parameter.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fabric\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.fabric.inc/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data\">\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=Validations\u0026amp;title=Replace+inventory+data\u0026amp;description=Replaces+inventory+data+associated+with+the+corresponding+cart.%0A%0AThe+Cart+ID+from+the+%5BCreate+cart%5D%28%2Fv3%2Fcart-and-checkout%2Fapi-reference%2Fcarts-v3%2Fcarts%2Fcarts%29+en\u0026amp;theme=d21d2e5604bc479b7e92e42c\u0026amp;signature=fe6668bd49cdeb480b62216e3a0b676c5c70b0e30fb51b5e18b3719250da5fe5\">\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=\"Replace inventory data - Fabric\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Replaces inventory data associated with the corresponding cart. The Cart ID from the Create cart endpoint is used in the path parameter.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fabric-demo.mintlify.app/_mintlify/api/og/v2?division=Validations\u0026amp;title=Replace+inventory+data\u0026amp;description=Replaces+inventory+data+associated+with+the+corresponding+cart.%0A%0AThe+Cart+ID+from+the+%5BCreate+cart%5D%28%2Fv3%2Fcart-and-checkout%2Fapi-reference%2Fcarts-v3%2Fcarts%2Fcarts%29+en\u0026amp;theme=d21d2e5604bc479b7e92e42c\u0026amp;signature=fe6668bd49cdeb480b62216e3a0b676c5c70b0e30fb51b5e18b3719250da5fe5\">\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/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.fabric.inc/#organization\",\"name\":\"Fabric\",\"url\":\"https://developer.fabric.inc\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fabric-demo/OzlZxX-hOwze1Aen/logo/darkneon.png?fit=max\u0026auto=format\u0026n=OzlZxX-hOwze1Aen\u0026q=85\u0026s=332d2284d5f41dc42f5b9e0bcd473872\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.fabric.inc#website\",\"name\":\"Fabric\",\"url\":\"https://developer.fabric.inc\",\"publisher\":{\"@id\":\"https://developer.fabric.inc/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.fabric.inc/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data#webpage\",\"url\":\"https://developer.fabric.inc/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data\",\"name\":\"Replace inventory data\",\"description\":\"Replaces inventory data associated with the corresponding cart. The Cart ID from the Create cart endpoint is used in the path parameter.\",\"dateModified\":\"2026-01-22T21:06:40.066Z\",\"isPartOf\":{\"@id\":\"https://developer.fabric.inc#website\"},\"breadcrumb\":{\"@id\":\"https://developer.fabric.inc/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.fabric.inc/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Cart \u0026 Checkout API\",\"item\":\"https://developer.fabric.inc/v3/cart-and-checkout/api-reference/carts-v3/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Validations\",\"item\":\"https://developer.fabric.inc/v3/cart-and-checkout/api-reference/carts-v3/validations/add-tax\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Replace inventory data\",\"item\":\"https://developer.fabric.inc/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.fabric.inc/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data#apireference\",\"headline\":\"Replace inventory data\",\"name\":\"Replace inventory data\",\"description\":\"Replaces inventory data associated with the corresponding cart. The Cart ID from the Create cart endpoint is used in the path parameter.\",\"url\":\"https://developer.fabric.inc/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data\",\"mainEntityOfPage\":{\"@id\":\"https://developer.fabric.inc/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data#webpage\"},\"dateModified\":\"2026-01-22T21:06:40.066Z\",\"publisher\":{\"@id\":\"https://developer.fabric.inc/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.fabric.inc#website\"}}]}\u003c/script>","siteName":"Fabric","nav":{"global":null,"versions":[{"version":"Product Agent","pages":[{"title":"Product Agent","href":"/home"}]},{"version":"v3","tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/v3/home"}]},{"tab":"Getting Started","pages":[{"title":"Getting Started","href":"/v3/getting-started/overview"}]},{"tab":"Orders \u0026 Inventory","pages":[{"title":"Orders \u0026 Inventory","href":"/v3/orders-and-inventory/homepage"}]},{"tab":"Product Catalog","pages":[{"title":"Product Catalog","href":"/v3/product-catalog/getting-started"}]},{"tab":"Offers","pages":[{"title":"Offers","href":"/v3/offers/user-guides/offers/overview"}]},{"tab":"Dropship","pages":[{"title":"Dropship","href":"/v3/dropship/homepage"}]},{"tab":"Cart \u0026 Checkout","groups":[{"group":"Cart \u0026 Checkout API","pages":[{"title":"Overview","href":"/v3/cart-and-checkout/api-reference/carts-v3/overview"},{"group":"Developer Guides","pages":[{"title":"Getting Started with fabric Carts API","href":"/v3/cart-and-checkout/api-reference/carts-v3/developer-guide/getting-started"},{"title":"Configuring Fulfillment","href":"/v3/cart-and-checkout/api-reference/carts-v3/developer-guide/configuring-fulfillment"},{"title":"Configuring Fees","href":"/v3/cart-and-checkout/api-reference/carts-v3/developer-guide/configuring-fees"},{"title":"Configuring Adjustment","href":"/v3/cart-and-checkout/api-reference/carts-v3/developer-guide/configuring-adjustments"},{"title":"Configuring Split Line Items","href":"/v3/cart-and-checkout/api-reference/carts-v3/developer-guide/configuring-split-line-items"},{"title":"Configuring Taxes","href":"/v3/cart-and-checkout/api-reference/carts-v3/developer-guide/configuring-taxes"},{"title":"Configuring Payment","href":"/v3/cart-and-checkout/api-reference/carts-v3/developer-guide/configuring-payment"},{"title":"Configuring Order Drafts","href":"/v3/cart-and-checkout/api-reference/carts-v3/developer-guide/configuring-order-drafts"},{"title":"Configuring Search Cart","href":"/v3/cart-and-checkout/api-reference/carts-v3/developer-guide/configuring-search-cart"}]},{"group":"Carts","pages":[{"title":"Configuration Behaviors","href":"/v3/cart-and-checkout/api-reference/carts-v3/configuration-behaviors"},{"openapi":"modular-cart post /carts","title":"Create an empty cart","href":"/v3/cart-and-checkout/api-reference/carts-v3/carts/carts"},{"openapi":"modular-cart post /carts/{cartId}/sequence","title":"Sequence calling","href":"/v3/cart-and-checkout/api-reference/carts-v3/carts/sequence"},{"openapi":"modular-cart post /carts/search","title":"Search for multiple carts","href":"/v3/cart-and-checkout/api-reference/carts-v3/carts/search"},{"openapi":"modular-cart get /carts/{cartId}","title":"Get the provided cart","href":"/v3/cart-and-checkout/api-reference/carts-v3/carts/get-cart"},{"openapi":"modular-cart delete /carts/{cartId}","title":"Delete cart","href":"/v3/cart-and-checkout/api-reference/carts-v3/carts/delete-cart"},{"openapi":"modular-cart patch /carts/{cartId}","title":"Update cart","href":"/v3/cart-and-checkout/api-reference/carts-v3/carts/update-cart"},{"group":"Cart Fees","pages":[{"openapi":"modular-cart post /carts/{cartId}/fees","title":"Create fee","href":"/v3/cart-and-checkout/api-reference/carts-v3/fees/create-fees"},{"openapi":"modular-cart delete /carts/{cartId}/fees/{feeId}","title":"Delete fee","href":"/v3/cart-and-checkout/api-reference/carts-v3/fees/delete-fees"},{"openapi":"modular-cart patch /carts/{cartId}/fees/{feeId}","title":"Update fee","href":"/v3/cart-and-checkout/api-reference/carts-v3/fees/update-fees"}]},{"group":"Cart Adjustments","pages":[{"openapi":"modular-cart post /carts/{cartId}/adjustments","title":"Create adjustment","href":"/v3/cart-and-checkout/api-reference/carts-v3/carts-adjustments/create-adjustments"},{"openapi":"modular-cart delete /carts/{cartId}/adjustments/{adjustmentId}","title":"Remove adjustment","href":"/v3/cart-and-checkout/api-reference/carts-v3/carts-adjustments/delete-adjustments"},{"openapi":"modular-cart patch /carts/{cartId}/adjustments/{adjustmentId}","title":"Update adjustment","href":"/v3/cart-and-checkout/api-reference/carts-v3/carts-adjustments/update-adjustments"}]},{"group":"Cart Actions","pages":[{"title":"Merge Cart Behaviors","href":"/v3/cart-and-checkout/api-reference/carts-v3/merge-carts-behaviors"},{"openapi":"modular-cart post /carts/{cartId}/actions/merge","title":"Merge carts","href":"/v3/cart-and-checkout/api-reference/carts-v3/cart-actions/merge"},{"openapi":"modular-cart post /carts/{cartId}/actions/add-attributes","title":"Add cart attributes","href":"/v3/cart-and-checkout/api-reference/carts-v3/cart-actions/add-attributes"},{"openapi":"modular-cart post /carts/{cartId}/actions/delete-attributes","title":"Delete cart attributes","href":"/v3/cart-and-checkout/api-reference/carts-v3/cart-actions/delete-attributes"}]}]},{"group":"Order Draft","pages":[{"openapi":"modular-cart post /order-drafts","title":"Create an order draft","href":"/v3/cart-and-checkout/api-reference/carts-v3/order-drafts/create-order-drafts"},{"openapi":"modular-cart get /order-drafts/{orderDraftId}","title":"Get the order draft by the order draft ID","href":"/v3/cart-and-checkout/api-reference/carts-v3/order-drafts/get-order-drafts-draftid"},{"openapi":"modular-cart get /order-drafts/order-number/{orderNumber}","title":"Get the order draft by the order draft number","href":"/v3/cart-and-checkout/api-reference/carts-v3/order-drafts/get-order-drafts-number"},{"openapi":"modular-cart get /order-drafts/customer/{customerId}","title":"Get the order draft by the customer ID","href":"/v3/cart-and-checkout/api-reference/carts-v3/order-drafts/get-order-drafts-customerid"}]},{"group":"Items","pages":[{"openapi":"modular-cart post /carts/{cartId}/items","title":"Create item","href":"/v3/cart-and-checkout/api-reference/carts-v3/items/items"},{"openapi":"modular-cart get /carts/{cartId}/items/{itemId}","title":"Get item","href":"/v3/cart-and-checkout/api-reference/carts-v3/items/get-items"},{"openapi":"modular-cart patch /carts/{cartId}/items/{itemId}","title":"Update item","href":"/v3/cart-and-checkout/api-reference/carts-v3/items/update-items"},{"openapi":"modular-cart delete /carts/{cartId}/items/{itemId}","title":"Delete item","href":"/v3/cart-and-checkout/api-reference/carts-v3/items/delete-items"},{"group":"Item Fees","pages":[{"openapi":"modular-cart post /carts/{cartId}/items/{itemId}/fees","title":"Create item fee","href":"/v3/cart-and-checkout/api-reference/carts-v3/item-fees/create-item-fees"},{"openapi":"modular-cart delete /carts/{cartId}/items/{itemId}/fees/{feeId}","title":"Delete item fee","href":"/v3/cart-and-checkout/api-reference/carts-v3/item-fees/delete-item-fees"},{"openapi":"modular-cart patch /carts/{cartId}/items/{itemId}/fees/{feeId}","title":"Update item fee","href":"/v3/cart-and-checkout/api-reference/carts-v3/item-fees/update-item-fees"}]},{"group":"Item Adjustments","pages":[{"openapi":"modular-cart post /carts/{cartId}/items/{itemId}/adjustments","title":"Create item adjustment","href":"/v3/cart-and-checkout/api-reference/carts-v3/item-adjustments/create-item-adjustments"},{"openapi":"modular-cart delete /carts/{cartId}/items/{itemId}/adjustments/{adjustmentId}","title":"Delete item adjustment","href":"/v3/cart-and-checkout/api-reference/carts-v3/item-adjustments/delete-item-adjustments"},{"openapi":"modular-cart patch /carts/{cartId}/items/{itemId}/adjustments/{adjustmentId}","title":"Update item adjustment","href":"/v3/cart-and-checkout/api-reference/carts-v3/item-adjustments/update-item-adjustments"}]},{"group":"Item Actions","pages":[{"openapi":"modular-cart post /carts/{cartId}/items/{itemId}/actions/split","title":"Split line items","href":"/v3/cart-and-checkout/api-reference/carts-v3/item-actions/split"},{"openapi":"modular-cart post /carts/{cartId}/items/{itemId}/actions/add-attributes","title":"Update item attributes","href":"/v3/cart-and-checkout/api-reference/carts-v3/item-actions/add-item-attributes"},{"openapi":"modular-cart post /carts/{cartId}/items/{itemId}/actions/delete-attributes","title":"Delete item attributes","href":"/v3/cart-and-checkout/api-reference/carts-v3/item-actions/delete-item-attributes"}]}]},{"group":"Addresses","pages":[{"openapi":"modular-cart post /carts/{cartId}/addresses","title":"Create address","href":"/v3/cart-and-checkout/api-reference/carts-v3/addresses/create-addresses"},{"openapi":"modular-cart get /carts/{cartId}/addresses/{addressId}","title":"Get address","href":"/v3/cart-and-checkout/api-reference/carts-v3/addresses/get-addresses"},{"openapi":"modular-cart delete /carts/{cartId}/addresses/{addressId}","title":"Delete address","href":"/v3/cart-and-checkout/api-reference/carts-v3/addresses/delete-addresses"},{"openapi":"modular-cart patch /carts/{cartId}/addresses/{addressId}","title":"Update address","href":"/v3/cart-and-checkout/api-reference/carts-v3/addresses/update-addresses"}]},{"group":"Payments","pages":[{"openapi":"modular-cart post /carts/{cartId}/payments","title":"Create payment","href":"/v3/cart-and-checkout/api-reference/carts-v3/payments/create-payments"},{"openapi":"modular-cart post /carts/{cartId}/payments/{id}/actions/add-attributes","title":"Add payment attributes","href":"/v3/cart-and-checkout/api-reference/carts-v3/payments/add-payment-attributes"},{"openapi":"modular-cart post /carts/{cartId}/payments/{id}/actions/delete-attributes","title":"Delete payment attributes","href":"/v3/cart-and-checkout/api-reference/carts-v3/payments/delete-payment-attributes"},{"openapi":"modular-cart delete /carts/{cartId}/payments/{id}","title":"Delete payment","href":"/v3/cart-and-checkout/api-reference/carts-v3/payments/delete-payments"},{"openapi":"modular-cart patch /carts/{cartId}/payments/{id}","title":"Update payment","href":"/v3/cart-and-checkout/api-reference/carts-v3/payments/update-payments"}]},{"group":"Fulfillment","pages":[{"openapi":"modular-cart post /carts/{cartId}/fulfillments","title":"Create fulfillment","href":"/v3/cart-and-checkout/api-reference/carts-v3/fulfillment/create-fulfillments"},{"openapi":"modular-cart post /carts/{cartId}/fulfillments/{fulfillmentId}/actions/add-attributes","title":"Add fulfillment attributes","href":"/v3/cart-and-checkout/api-reference/carts-v3/fulfillment/add-fulfillments-attribute"},{"openapi":"modular-cart post /carts/{cartId}/fulfillments/{fulfillmentId}/actions/delete-attributes","title":"Delete fulfillment attributes","href":"/v3/cart-and-checkout/api-reference/carts-v3/fulfillment/delete-fulfillments-attribute"},{"openapi":"modular-cart get /carts/{cartId}/fulfillments/{fulfillmentId}","title":"Get fulfillment","href":"/v3/cart-and-checkout/api-reference/carts-v3/fulfillment/retrieve-fulfillments"},{"openapi":"modular-cart put /carts/{cartId}/fulfillments/{fulfillmentId}","title":"Update fulfillment","href":"/v3/cart-and-checkout/api-reference/carts-v3/fulfillment/update-fulfillments"},{"openapi":"modular-cart delete /carts/{cartId}/fulfillments/{fulfillmentId}","title":"Delete fulfillment","href":"/v3/cart-and-checkout/api-reference/carts-v3/fulfillment/delete-fulfillments"},{"group":"Fulfillment Fees","pages":[{"openapi":"modular-cart post /carts/{cartId}/fulfillments/{fulfillmentId}/fees","title":"Create fulfillment fee","href":"/v3/cart-and-checkout/api-reference/carts-v3/fulfillment-fees/add-fulfillment"},{"openapi":"modular-cart delete /carts/{cartId}/fulfillments/{fulfillmentId}/fees/{feeId}","title":"Delete fulfillment fee","href":"/v3/cart-and-checkout/api-reference/carts-v3/fulfillment-fees/delete-fulfillment"},{"openapi":"modular-cart patch /carts/{cartId}/fulfillments/{fulfillmentId}/fees/{feeId}","title":"Update fulfillment fee","href":"/v3/cart-and-checkout/api-reference/carts-v3/fulfillment-fees/update-fulfillment"}]},{"group":"Fulfillment Adjustments","pages":[{"openapi":"modular-cart post /carts/{cartId}/fulfillments/{fulfillmentId}/adjustments","title":"Create fulfillment adjustment","href":"/v3/cart-and-checkout/api-reference/carts-v3/fulfillment-adjustments/create-fulfillment-adjustments"},{"openapi":"modular-cart delete /carts/{cartId}/fulfillments/{fulfillmentId}/adjustments/{adjustmentId}","title":"Delete fulfillment adjustment","href":"/v3/cart-and-checkout/api-reference/carts-v3/fulfillment-adjustments/delete-fulfillment-adjustments"},{"openapi":"modular-cart patch /carts/{cartId}/fulfillments/{fulfillmentId}/adjustments/{adjustmentId}","title":"Update fulfillment adjustment","href":"/v3/cart-and-checkout/api-reference/carts-v3/fulfillment-adjustments/update-fulfillment-adjustments"}]}]},{"group":"Customer","pages":[{"openapi":"modular-cart post /carts/{cartId}/customer/actions/add-attributes","title":"Add customer attributes","href":"/v3/cart-and-checkout/api-reference/carts-v3/customer/add-customer-attributes"},{"openapi":"modular-cart post /carts/{cartId}/customer/actions/delete-attributes","title":"Delete customer attributes","href":"/v3/cart-and-checkout/api-reference/carts-v3/customer/delete-customer-attributes"},{"openapi":"modular-cart patch /carts/{cartId}/customer","title":"Update customer","href":"/v3/cart-and-checkout/api-reference/carts-v3/customer/update-customer"}]},{"group":"Coupons","pages":[{"openapi":"modular-cart post /carts/{cartId}/coupons/{couponId}","title":"Add Coupon","href":"/v3/cart-and-checkout/api-reference/carts-v3/coupons/add-coupons"},{"openapi":"modular-cart delete /carts/{cartId}/coupons/{couponId}","title":"Removes Coupon","href":"/v3/cart-and-checkout/api-reference/carts-v3/coupons/remove-coupons"}]},{"group":"Validations","pages":[{"openapi":"modular-cart put /carts/{cartId}/tax","title":"Replace tax data","href":"/v3/cart-and-checkout/api-reference/carts-v3/validations/add-tax"},{"openapi":"modular-cart put /carts/{cartId}/promotions","title":"Replace promotions","href":"/v3/cart-and-checkout/api-reference/carts-v3/validations/add-promotions"},{"openapi":"modular-cart put /carts/{cartId}/product","title":"Replace product data","href":"/v3/cart-and-checkout/api-reference/carts-v3/validations/add-product-data"},{"openapi":"modular-cart patch /carts/{cartId}/product","title":"Updates product data","description":"Partially updates product data associated with the corresponding cart.\n\nThe Cart ID from the [Create cart](/v3/cart-and-checkout/api-reference/carts-v3/carts/carts) endpoint is used in the path parameter.\n","href":"/v3/cart-and-checkout/api-reference/carts-v3/validations/updates-product-data"},{"openapi":"modular-cart put /carts/{cartId}/inventory","title":"Replace inventory data","href":"/v3/cart-and-checkout/api-reference/carts-v3/validations/add-inventory-data"},{"openapi":"modular-cart patch /carts/{cartId}/inventory","title":"Updates inventory data","description":"Partially updates inventory data associated with the corresponding cart.\n\nThe Cart ID from the [Create cart](/v3/cart-and-checkout/api-reference/carts-v3/carts/carts) endpoint is used in the path parameter.\n","href":"/v3/cart-and-checkout/api-reference/carts-v3/validations/updates-inventory-data"}]},{"group":"Cart Orchestrator","pages":[{"group":"Carts","pages":[{"openapi":"ShopperXP get /orchestrator/carts/{cartId}","title":"Get the cart","href":"/v3/cart-and-checkout/api-reference/carts-v3/orchestrator/carts/get-cart"},{"openapi":"ShopperXP delete /orchestrator/carts/{cartId}","title":"Delete cart","href":"/v3/cart-and-checkout/api-reference/carts-v3/orchestrator/carts/delete-cart"},{"openapi":"ShopperXP post /orchestrator/carts/{cartId}/coupons/{couponCode}","title":"Apply coupon","href":"/v3/cart-and-checkout/api-reference/carts-v3/orchestrator/carts/add-coupon"},{"openapi":"ShopperXP delete /orchestrator/carts/{cartId}/coupons/{couponCode}","title":"Removes coupon","href":"/v3/cart-and-checkout/api-reference/carts-v3/orchestrator/carts/delete-coupon"},{"openapi":"ShopperXP post /orchestrator/carts/{cartId}/order-drafts","title":"Create an order draft","href":"/v3/cart-and-checkout/api-reference/carts-v3/orchestrator/carts/order-drafts"}]},{"group":"Line Items","pages":[{"openapi":"ShopperXP post /orchestrator/carts/{cartId}/items","title":"Add items","href":"/v3/cart-and-checkout/api-reference/carts-v3/orchestrator/line-items/add-items"},{"openapi":"ShopperXP patch /orchestrator/carts/{cartId}/items","title":"Update items","href":"/v3/cart-and-checkout/api-reference/carts-v3/orchestrator/line-items/update-items"},{"openapi":"ShopperXP post /orchestrator/carts/{cartId}/items/{itemId}/actions/split","title":"Split line items","href":"/v3/cart-and-checkout/api-reference/carts-v3/orchestrator/line-items/split-items"},{"openapi":"ShopperXP delete /orchestrator/carts/{cartId}/items","title":"Delete items","href":"/v3/cart-and-checkout/api-reference/carts-v3/orchestrator/line-items/delete-items"}]},{"group":"Cart Payments","pages":[{"openapi":"ShopperXP post /orchestrator/carts/{cartId}/payments/actions/authorize","title":"Authorize payments","href":"/v3/cart-and-checkout/api-reference/carts-v3/orchestrator/payments/authorize"},{"openapi":"ShopperXP post /orchestrator/carts/{cartId}/payments/actions/void","title":"Void payments","href":"/v3/cart-and-checkout/api-reference/carts-v3/orchestrator/payments/void"}]}]}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/v3/integrations/overview"}]},{"tab":"Platform","pages":[{"title":"Platform","href":"/v3/platform/home/alerts/alerts-overview"}]},{"tab":"Store Fulfillment","pages":[{"title":"Store Fulfillment","href":"/v3/store-fulfillment/updating-store-location"}]},{"tab":"Release Notes","pages":[{"title":"Release Notes","href":"/v3/release-notes/july2025/release-summary"}]}]},{"version":"v2","pages":[{"title":"v2","href":"/v2/home"}]}]},"title":"Replace inventory data - Fabric","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}