Absolute SET of stock per (sku, location). Each item sets either onHand (the physical quantity) or available (the sellable quantity; the server persists onHand = available + committed). Requires the stock:write scope. Reservations (committed) are system-owned and never written here. The request is 200 when structurally valid; each row carries its own status in the results array.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Riqra","colors":{"primary":"#15803D","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/riqra-6746389f/Aa-uIMMYqqxhWO2d/logo/light.svg?fit=max\u0026auto=format\u0026n=Aa-uIMMYqqxhWO2d\u0026q=85\u0026s=08f5ba317750e9cffbfc4fe1c4a68e75","dark":"https://mintcdn.com/riqra-6746389f/Aa-uIMMYqqxhWO2d/logo/dark.svg?fit=max\u0026auto=format\u0026n=Aa-uIMMYqqxhWO2d\u0026q=85\u0026s=4fccb496dc355ca2e389a7c6ea163a42"},"favicon":"https://mintcdn.com/riqra-6746389f/Aa-uIMMYqqxhWO2d/favicon.svg?fit=max\u0026auto=format\u0026n=Aa-uIMMYqqxhWO2d\u0026q=85\u0026s=d6bf656cd9f5aae6bbe2358fa95e06bc","contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"es","href":""}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"riqra-6746389f","hasAudioNarration":false,"actualSubdomain":"riqra-6746389f","customDomains":["docs.riqra.com"],"gitSource":{"type":"github","owner":"riqra","repo":"bitubi","deployBranch":"main","contentDirectory":"platform/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ada8ab8ffa8949d4bb74ee6","collectionId":"7d6bc4c7-6f47-47c7-b7ef-7165c52d2f44","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ada8ab8ffa8949d4bb74ee6"},"entitlements":{},"buildId":"6ada8ab8ffa8949d4bb74ee6","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"es","tag":"Ecommerce","count":121},{"language":"es","tag":"API","count":115},{"language":"es","tag":"Referencia","count":106},{"language":"es","tag":"Plataforma","count":71},{"language":"es","tag":"Panel administrador","count":47},{"language":"es","tag":"Desarrolladores","count":35},{"language":"es","tag":"Aplicaciones","count":33},{"language":"es","tag":"Artículos de interés","count":17},{"language":"es","tag":"Herramientas de marketing digital","count":16},{"language":"es","tag":"Productos","count":14}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"editor-nav-generations","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":"editor-agent-model-picker","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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/stock/set-stock-for-many-skus","slug":"/api-reference/stock/set-stock-for-many-skus","pageMetadata":{"title":"Set stock for many SKUs","description":"Absolute SET of stock per (sku, location). Each item sets either `onHand` (the physical quantity) or `available` (the sellable quantity; the server persists `onHand = available + committed`). Requires the `stock:write` scope. Reservations (committed) are system-owned and never written here. The request is 200 when structurally valid; each row carries its own status in the results array.","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json post /stock/levels/set","href":"/api-reference/stock/set-stock-for-many-skus","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Absolute SET of stock per (sku, location). Each item sets either \", _jsx(_components.code, {\n children: \"onHand\"\n }), \" (the physical quantity) or \", _jsx(_components.code, {\n children: \"available\"\n }), \" (the sellable quantity; the server persists \", _jsx(_components.code, {\n children: \"onHand = available + committed\"\n }), \"). Requires the \", _jsx(_components.code, {\n children: \"stock:write\"\n }), \" scope. Reservations (committed) are system-owned and never written here. The request is 200 when structurally valid; each row carries its own status in the results array.\"]\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":{"title":"Set stock for many SKUs","description":"Absolute SET of stock per (sku, location). Each item sets either `onHand` (the physical quantity) or `available` (the sellable quantity; the server persists `onHand = available + committed`). Requires the `stock:write` scope. Reservations (committed) are system-owned and never written here. The request is 200 when structurally valid; each row carries its own status in the results array.","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json post /stock/levels/set","href":"/api-reference/stock/set-stock-for-many-skus","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Stock"],"summary":"Set stock for many SKUs","description":"Absolute SET of stock per (sku, location). Each item sets either `onHand` (the physical quantity) or `available` (the sellable quantity; the server persists `onHand = available + committed`). Requires the `stock:write` scope. Reservations (committed) are system-owned and never written here. The request is 200 when structurally valid; each row carries its own status in the results array.","security":["b863a9b7-2802-4e9a-ae47-ffaa78f3d397"],"requestBody":"c96bf645-a054-4ed3-b6c1-0754729cb7e4","responses":{"200":"43e0f6d4-77d5-44f4-a3fa-e91846bb4f08","400":"7a169827-9321-4aaf-9cbf-39b4f1080515","401":"c7a705a9-2c85-4e55-afab-edef314240cd","403":"8a6239f4-e9c7-42e4-b70e-936365d5d971"},"method":"post","type":"path","servers":["8e666894-3acd-42a8-ab6d-a0e3d39cef99"],"path":"/stock/levels/set","baseUrlOptions":["https://api-v2.riqra.com/public/v1"],"title":"Set stock for many SKUs","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"oneOf":[{"type":"object","required":["sku","locationId","onHand"],"properties":{"sku":{"type":"string","minLength":1,"maxLength":64,"example":"SKU-001","description":"SKU of the product variant to update.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.sku","typeLabel":"string"},"locationId":{"type":"string","format":"uuid","example":"0b2e9f5a-1c3d-4e6f-8a9b-0c1d2e3f4a5b","description":"Location to set stock at (UUID). List them via `GET /stock/locations`.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.locationId","typeLabel":"string\u003cuuid>"},"onHand":{"type":"integer","minimum":0,"example":42,"description":"Absolute on-hand quantity to set — a replacement value, not a delta. Each item takes exactly one of `onHand` or `available`.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.onHand","typeLabel":"integer"},"available":{"type":"integer","minimum":0,"example":42,"description":"Absolute available (sellable) quantity to set. The server persists `onHand = available + committed`, so this never fails with `STOCK_BELOW_COMMITTED`. Each item takes exactly one of `onHand` or `available`.","uniqueKey":"\\items.items.[INDEX].oneOf.0.available","typeLabel":"integer"}},"uniqueKey":"\\items.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["sku","locationId","available"],"properties":{"sku":{"type":"string","minLength":1,"maxLength":64,"example":"SKU-001","description":"SKU of the product variant to update.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.1.sku","typeLabel":"string"},"locationId":{"type":"string","format":"uuid","example":"0b2e9f5a-1c3d-4e6f-8a9b-0c1d2e3f4a5b","description":"Location to set stock at (UUID). List them via `GET /stock/locations`.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.1.locationId","typeLabel":"string\u003cuuid>"},"available":{"type":"integer","minimum":0,"example":42,"description":"Absolute available (sellable) quantity to set. The server persists `onHand = available + committed`, so this never fails with `STOCK_BELOW_COMMITTED`. Each item takes exactly one of `onHand` or `available`.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.1.available","typeLabel":"integer"},"onHand":{"type":"integer","minimum":0,"example":42,"description":"Absolute on-hand quantity to set — a replacement value, not a delta. Each item takes exactly one of `onHand` or `available`.","uniqueKey":"\\items.items.[INDEX].oneOf.1.onHand","typeLabel":"integer"}},"uniqueKey":"\\items.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"minItems":1,"maxItems":100,"isRequired":true,"uniqueKey":"\\items","typeLabel":"object[]"}},"required":["items"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"items":[{"sku":"SKU-001","locationId":"0b2e9f5a-1c3d-4e6f-8a9b-0c1d2e3f4a5b","onHand":42,"available":42}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"43e0f6d4-77d5-44f4-a3fa-e91846bb4f08":{"description":"Per-row results.","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"sku":{"type":"string","description":"Echoes the requested SKU.","isRequired":true,"uniqueKey":"results.items.[INDEX].sku","typeLabel":"string"},"locationId":{"type":"string","description":"Echoes the requested location, as a canonical lowercase UUID.","isRequired":true,"uniqueKey":"results.items.[INDEX].locationId","typeLabel":"string"},"status":{"type":"integer","description":"Per-row HTTP-style status: `200` on success, otherwise `404`, `409`, or `422`.","example":200,"isRequired":true,"uniqueKey":"results.items.[INDEX].status","typeLabel":"integer"},"onHand":{"type":"integer","description":"Resulting on-hand quantity (success only).","uniqueKey":"results.items.[INDEX].onHand","typeLabel":"integer"},"committed":{"type":"integer","description":"Units reserved by open orders, system-owned (success only).","uniqueKey":"results.items.[INDEX].committed","typeLabel":"integer"},"available":{"type":"integer","description":"`onHand` − `committed` (success only).","uniqueKey":"results.items.[INDEX].available","typeLabel":"integer"},"code":{"type":"string","description":"Error code (error rows only): `SKU_NOT_FOUND`, `LOCATION_NOT_FOUND`, `LOCATION_INACTIVE`, or `STOCK_BELOW_COMMITTED`.","uniqueKey":"results.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error detail (error rows only).","uniqueKey":"results.items.[INDEX].message","typeLabel":"string"}},"required":["sku","locationId","status"],"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"description":"One result per requested item, in request order.","isRequired":true,"uniqueKey":"results","typeLabel":"object[]"}},"required":["results"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"results":[{"sku":"\u003cstring>","locationId":"\u003cstring>","status":200,"onHand":123,"committed":123,"available":123,"code":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"7a169827-9321-4aaf-9cbf-39b4f1080515":{"description":"Invalid request body.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"}},"required":["code","message","requestId"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"c7a705a9-2c85-4e55-afab-edef314240cd":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"}},"required":["code","message","requestId"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"8a6239f4-e9c7-42e4-b70e-936365d5d971":{"description":"Missing required scope.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"}},"required":["code","message","requestId"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b863a9b7-2802-4e9a-ae47-ffaa78f3d397":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Public API key presented as `Authorization: Bearer rq_live_…`.","scopes":[]}}},"servers":{"8e666894-3acd-42a8-ab6d-a0e3d39cef99":{"url":"https://api-v2.riqra.com/public/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Public API key presented as `Authorization: Bearer rq_live_…`.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Public API key presented as `Authorization: Bearer rq_live_…`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"desarrolladores/api/openapi.json"},"subdomain":"riqra-6746389f","siteName":"Riqra","title":"Set stock for many SKUs - Riqra","navMaps":{"firstHrefInVersion":{"Nueva plataforma":{"href":"/api-reference/stock/set-stock-for-many-skus","matchLevel":0},"Legacy":{"href":"/api/authentication","matchLevel":4}},"firstHrefInLanguage":{"es":{"href":"/api-reference/stock/set-stock-for-many-skus","matchLevel":0}}},"lastModified":"2026-08-24T23:00:04.934Z","originalFileLocation":"api-reference/stock/set-stock-for-many-skus.mdx","locale":"es"},"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=\"Absolute SET of stock per (sku, location). Each item sets either onHand (the physical quantity) or available (the sellable quantity; the server persists onHand = available + committed). Requires the stock:write scope. Reservations (committed) are system-owned and never written here. The request is 200 when structurally valid; each row carries its own status in the results array.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Riqra\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/riqra-6746389f/pVXZGs-_v2RjJBKg/_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/riqra-6746389f/pVXZGs-_v2RjJBKg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/riqra-6746389f/pVXZGs-_v2RjJBKg/_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/riqra-6746389f/pVXZGs-_v2RjJBKg/_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/riqra-6746389f/pVXZGs-_v2RjJBKg/_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/riqra-6746389f/pVXZGs-_v2RjJBKg/_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/riqra-6746389f/pVXZGs-_v2RjJBKg/_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/riqra-6746389f/pVXZGs-_v2RjJBKg/_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/riqra-6746389f/pVXZGs-_v2RjJBKg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set stock for many SKUs - Riqra\">\u003cmeta data-mint-head property=\"og:description\" content=\"Absolute SET of stock per (sku, location). Each item sets either onHand (the physical quantity) or available (the sellable quantity; the server persists onHand = available + committed). Requires the stock:write scope. Reservations (committed) are system-owned and never written here. The request is 200 when structurally valid; each row carries its own status in the results array.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Riqra\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.riqra.com/api-reference/stock/set-stock-for-many-skus\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://riqra-6746389f.mintlify.app/_mintlify/api/og/v2?division=Stock\u0026amp;title=Set+stock+for+many+SKUs\u0026amp;description=Absolute+SET+of+stock+per+%28sku%2C+location%29.+Each+item+sets+either+%60onHand%60+%28the+physical+quantity%29+or+%60available%60+%28the+sellable+quantity%3B+the+server+persists+%60on\u0026amp;theme=43c3dbef77fc7da3a647b4dc\u0026amp;signature=3f2c4d85c8680722c013b1fb5840c3987898bc5747ae8227bf2c5d99b17b3f67\">\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=\"Set stock for many SKUs - Riqra\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Absolute SET of stock per (sku, location). Each item sets either onHand (the physical quantity) or available (the sellable quantity; the server persists onHand = available + committed). Requires the stock:write scope. Reservations (committed) are system-owned and never written here. The request is 200 when structurally valid; each row carries its own status in the results array.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://riqra-6746389f.mintlify.app/_mintlify/api/og/v2?division=Stock\u0026amp;title=Set+stock+for+many+SKUs\u0026amp;description=Absolute+SET+of+stock+per+%28sku%2C+location%29.+Each+item+sets+either+%60onHand%60+%28the+physical+quantity%29+or+%60available%60+%28the+sellable+quantity%3B+the+server+persists+%60on\u0026amp;theme=43c3dbef77fc7da3a647b4dc\u0026amp;signature=3f2c4d85c8680722c013b1fb5840c3987898bc5747ae8227bf2c5d99b17b3f67\">\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/riqra-6746389f/pVXZGs-_v2RjJBKg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Riqra\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#15803D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.riqra.com/api-reference/stock/set-stock-for-many-skus\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/stock/set-stock-for-many-skus.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.riqra.com/#organization\",\"name\":\"Riqra\",\"url\":\"https://docs.riqra.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/riqra-6746389f/Aa-uIMMYqqxhWO2d/logo/light.svg?fit=max\u0026auto=format\u0026n=Aa-uIMMYqqxhWO2d\u0026q=85\u0026s=08f5ba317750e9cffbfc4fe1c4a68e75\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.riqra.com#website\",\"name\":\"Riqra\",\"url\":\"https://docs.riqra.com\",\"publisher\":{\"@id\":\"https://docs.riqra.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.riqra.com/api-reference/stock/set-stock-for-many-skus#webpage\",\"url\":\"https://docs.riqra.com/api-reference/stock/set-stock-for-many-skus\",\"name\":\"Set stock for many SKUs\",\"description\":\"Absolute SET of stock per (sku, location). Each item sets either onHand (the physical quantity) or available (the sellable quantity; the server persists onHand = available + committed). Requires the stock:write scope. Reservations (committed) are system-owned and never written here. The request is 200 when structurally valid; each row carries its own status in the results array.\",\"dateModified\":\"2026-08-24T23:00:04.934Z\",\"isPartOf\":{\"@id\":\"https://docs.riqra.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.riqra.com/api-reference/stock/set-stock-for-many-skus#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.riqra.com/api-reference/stock/set-stock-for-many-skus#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API\",\"item\":\"https://docs.riqra.com/desarrolladores/api/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Referencia\",\"item\":\"https://docs.riqra.com/api-reference/identity/identify-the-authenticated-api-key\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Stock\",\"item\":\"https://docs.riqra.com/api-reference/stock/list-active-locations\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Set stock for many SKUs\",\"item\":\"https://docs.riqra.com/api-reference/stock/set-stock-for-many-skus\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.riqra.com/api-reference/stock/set-stock-for-many-skus#apireference\",\"headline\":\"Set stock for many SKUs\",\"name\":\"Set stock for many SKUs\",\"description\":\"Absolute SET of stock per (sku, location). Each item sets either onHand (the physical quantity) or available (the sellable quantity; the server persists onHand = available + committed). Requires the stock:write scope. Reservations (committed) are system-owned and never written here. The request is 200 when structurally valid; each row carries its own status in the results array.\",\"url\":\"https://docs.riqra.com/api-reference/stock/set-stock-for-many-skus\",\"mainEntityOfPage\":{\"@id\":\"https://docs.riqra.com/api-reference/stock/set-stock-for-many-skus#webpage\"},\"dateModified\":\"2026-08-24T23:00:04.934Z\",\"publisher\":{\"@id\":\"https://docs.riqra.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.riqra.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Riqra\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Riqra","nav":{"global":null,"languages":[{"language":"es","versions":[{"version":"Nueva plataforma","default":true,"tag":"Actual","tabs":[{"tab":"Plataforma","pages":[{"title":"Plataforma","href":""}]},{"tab":"Tienda online","pages":[{"title":"Tienda online","href":"/tienda-online/introduccion"}]},{"tab":"WhatsApp","pages":[{"title":"WhatsApp","href":"/whatsapp/introduccion"}]},{"tab":"PedidosIA","pages":[{"title":"PedidosIA","href":"/pedidos-ia/introduccion"}]},{"tab":"Desarrolladores","groups":[{"group":"Introducción","pages":[{"title":"Desarrolla sobre Riqra","sidebarTitle":"Introducción","href":"/desarrolladores/introduccion"}]},{"group":"API","pages":[{"title":"Introducción","href":"/desarrolladores/api/introduction"},{"title":"Inicio rápido","href":"/desarrolladores/api/quickstart"},{"title":"Autenticación","href":"/desarrolladores/api/authentication"},{"title":"Permisos","href":"/desarrolladores/api/scopes"},{"title":"Paginación","href":"/desarrolladores/api/pagination"},{"title":"Errores","href":"/desarrolladores/api/errors"},{"title":"Montos y moneda","href":"/desarrolladores/api/money"},{"title":"Versionado","href":"/desarrolladores/api/versioning"},{"group":"Guías","pages":[{"title":"Leer pedidos","href":"/desarrolladores/api/guides/reading-orders"},{"title":"Preparación y entrega","href":"/desarrolladores/api/guides/fulfillment"},{"title":"Cancelar pedidos","href":"/desarrolladores/api/guides/cancelling-orders"},{"title":"Sincronizar stock","href":"/desarrolladores/api/guides/stock"},{"title":"Sincronizar precios","href":"/desarrolladores/api/guides/prices"}]},{"group":"Referencia","pages":[{"group":"Identity","pages":[{"title":"Identify the authenticated API key","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json get /whoami","href":"/api-reference/identity/identify-the-authenticated-api-key"}]},{"group":"Stock","pages":[{"title":"List active locations","description":"Active (writable) locations, so an integration can resolve the locationId required by the stock-set payload. Requires the `stock:read` scope.","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json get /stock/locations","href":"/api-reference/stock/list-active-locations"},{"title":"Set stock for many SKUs","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json post /stock/levels/set","href":"/api-reference/stock/set-stock-for-many-skus"}]},{"group":"Prices","pages":[{"title":"List active price lists","description":"Active (writable) price lists, so an integration can resolve the priceListId required by the price-set payload. Requires the `prices:read` scope.","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json get /prices/lists","href":"/api-reference/prices/list-active-price-lists"},{"title":"Set prices for many SKUs","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json post /prices/set","href":"/api-reference/prices/set-prices-for-many-skus"}]},{"group":"Orders","pages":[{"title":"List orders","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json get /orders","href":"/api-reference/orders/list-orders"},{"title":"Get an order by id","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json get /orders/{id}","href":"/api-reference/orders/get-an-order-by-id"},{"title":"Cancel an order","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json post /orders/{id}/cancel","href":"/api-reference/orders/cancel-an-order"}]},{"group":"Fulfillment","pages":[{"title":"Start preparation","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json post /orders/{id}/fulfillment/start","href":"/api-reference/fulfillment/start-preparation"},{"title":"Fulfill (dispatch / mark ready)","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json post /orders/{id}/fulfillment/fulfill","href":"/api-reference/fulfillment/fulfill-dispatch-mark-ready"},{"title":"Update tracking","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json patch /orders/{id}/fulfillment/tracking","href":"/api-reference/fulfillment/update-tracking"},{"title":"Mark delivered (or picked up)","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json post /orders/{id}/fulfillment/deliver","href":"/api-reference/fulfillment/mark-delivered-or-picked-up"}]},{"group":"Invoicing","pages":[{"title":"Register the invoice of an order","deprecated":null,"version":null,"openapi":"/desarrolladores/api/openapi.json post /orders/{id}/invoice","href":"/api-reference/invoicing/register-the-invoice-of-an-order"}]}]}]},{"group":"Temas","pages":[{"title":"Introducción","href":"/desarrolladores/temas/introduccion"},{"title":"Primeros pasos","href":"/desarrolladores/temas/primeros-pasos"},{"title":"Ciclo de desarrollo","href":"/desarrolladores/temas/ciclo-de-desarrollo"},{"title":"Anatomía de un tema","href":"/desarrolladores/temas/anatomia-de-un-tema"},{"group":"Referencia","pages":[{"title":"Secciones y schema","href":"/desarrolladores/temas/secciones-y-schema"},{"title":"Carrito AJAX y secciones","href":"/desarrolladores/temas/cart-ajax-y-secciones"},{"title":"Viniendo de Shopify","href":"/desarrolladores/temas/viniendo-de-shopify"},{"title":"Referencia del CLI","href":"/desarrolladores/temas/referencia-cli"}]}]}]}]},{"version":"Legacy","tag":"Anterior","pages":[{"title":"Legacy","href":"/api/authentication"}]}]}]},"title":"Set stock for many SKUs - Riqra","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}