OAuth scope:offer_writeAPI keys have full access to this endpoint.
This endpoint does not update inventory quantities. It only toggles product visibility on your storefront.
Setting available: true makes the product visible and purchasable
Setting available: false hides the product from your storefront
To manage actual inventory quantities (e.g., setting stock to 50 units), use the Fourthwall dashboard. The API currently does not support programmatic inventory quantity updates.
OAuth 2.0 access token, sent as Authorization: Bearer <token>. See https://docs.fourthwall.com/guides/oauth. The scopes an operation requires are listed in its x-fourthwall-scopes.
Digital files attached to this offer. Only present for digital offers.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Fourthwall Developer Docs","colors":{"primary":"#000000","light":"#4D4D4D","dark":"#000000"},"logo":{"light":"https://mintcdn.com/fourthwall/ll6NfYA7kbBxufP4/logo/light.svg?fit=max\u0026auto=format\u0026n=ll6NfYA7kbBxufP4\u0026q=85\u0026s=44d55b19c2c524eb8e4ee5a9de5c89e7","dark":"https://mintcdn.com/fourthwall/ll6NfYA7kbBxufP4/logo/dark.svg?fit=max\u0026auto=format\u0026n=ll6NfYA7kbBxufP4\u0026q=85\u0026s=6e05cd1920c11af37f6a6c8f6a894ab6"},"favicon":"https://mintcdn.com/fourthwall/ll6NfYA7kbBxufP4/favicon.svg?fit=max\u0026auto=format\u0026n=ll6NfYA7kbBxufP4\u0026q=85\u0026s=fe14d6128c59ded57a36fe3a5170ffed","api":{"openapi":["openapi/platform.json","openapi/storefront.json","openapi/membership.json","openapi/channel-api.json"],"playground":{"display":"interactive"},"examples":{"prefill":true}},"navbar":{"links":[{"href":"mailto:support@fourthwall.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://my-shop.fourthwall.com/admin/dashboard?redirect"}},"footer":{"socials":{"x":"https://x.com/fourthwall","github":"https://github.com/FourthwallHQ","discord":"https://discord.com/invite/kc6P68z3Uz"}},"integrations":{"gtm":{"tagId":"GTM-W4JTQQ9"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Fourthwall","icon":"globe","href":"https://fourthwall.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.com/invite/kc6P68z3Uz"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fourthwall","hasAudioNarration":false,"actualSubdomain":"fourthwall","customDomains":["docs.fourthwall.com"],"gitSource":{"type":"github","owner":"fourthwallhq","repo":"fourthwall-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af0b142a010522439eaf7d4","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Platform API","count":79},{"language":"default","tag":"Guides","count":57},{"language":"default","tag":"Memberships API","count":34},{"language":"default","tag":"Webhook Events","count":21},{"language":"default","tag":"Webhooks","count":16},{"language":"default","tag":"Posts","count":15},{"language":"default","tag":"HTML Sections","count":14},{"language":"default","tag":"Channel API","count":10},{"language":"default","tag":"Collections","count":10},{"language":"default","tag":"Products","count":10}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/platform/products/update-product-availability","slug":"/api-reference/platform/products/update-product-availability","pageMetadata":{"title":"Update Product Availability","description":"Toggle whether a product is visible and available for purchase on your storefront","openapi":"openapi/platform.json PUT /open-api/v1.0/products/{productId}/availability","href":"/api-reference/platform/products/update-product-availability"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Toggle whether a product is visible and available for purchase on your storefront\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Note,Warning}=_components;if(!Note)_missingMdxReference(`Note`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`OAuth scope:`}),` `,_jsx(_components.code,{children:`offer_write`})]}),_jsx(_components.p,{children:`API keys have full access to this endpoint.`})]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`This endpoint does not update inventory quantities.`}),` It only toggles product visibility on your storefront.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Setting `,_jsx(_components.code,{children:`available: true`}),` makes the product visible and purchasable`]}),`\n`,_jsxs(_components.li,{children:[`Setting `,_jsx(_components.code,{children:`available: false`}),` hides the product from your storefront`]}),`\n`]}),_jsxs(_components.p,{children:[`To manage actual inventory quantities (e.g., setting stock to 50 units), use the `,_jsx(_components.a,{href:`https://my.fourthwall.com`,children:`Fourthwall dashboard`}),`. The API currently does not support programmatic inventory quantity updates.`]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Product Availability","description":"Toggle whether a product is visible and available for purchase on your storefront","openapi":"openapi/platform.json PUT /open-api/v1.0/products/{productId}/availability","href":"/api-reference/platform/products/update-product-availability"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Products (offers)"],"summary":"Update product (offer) availability by id","description":"Toggle whether a product is visible and available for purchase on your storefront","externalDocs":{"url":"https://docs.fourthwall.com/api-reference/platform/products/update-product-availability"},"operationId":"update-product-availability","parameters":["c150a143-a011-45ec-8c5e-3c417148e858"],"requestBody":"8bac0db7-e8f3-49af-9399-09a9326d41b2","responses":{"200":"3c2c6635-3e5a-4910-9151-4c3aef153d3f","400":"108a4166-8146-46d2-a140-088d348e87da","404":"34b2a16f-1fe4-41ed-af9f-9b927a19dc83","409":"4c85f223-754c-49d5-ab7c-05d3091eead5","429":"be694fbc-5526-4396-84c0-312385bd8337"},"security":["c1fa04fd-e5f2-4fb7-8ec5-54ef6ddfb81d","5d343362-5d28-48ce-a66b-1811a97159f7"],"x-fourthwall-scopes":["offer_write"],"x-rate-limit":{"capacity":100,"periodSeconds":10,"dimension":"shopId","cacheName":"open-api-rate-limiter","applies":[{"cacheName":"open-api-rate-limiter","filterOrder":10,"capacity":100,"periodSeconds":10,"dimension":"shopId"}]},"x-mint":{"mcp":{"enabled":true}},"method":"put","type":"path","servers":["e4bf77bb-e587-4d84-a6ea-ebac5ee49d6c"],"path":"/open-api/v1.0/products/{productId}/availability","baseUrlOptions":["https://api.fourthwall.com"],"title":"Update product (offer) availability by id","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.available":true}]},"dependencies":{"parameters":{"c150a143-a011-45ec-8c5e-3c417148e858":{"name":"productId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"example":"00aa4abd-5778-4199-8161-0b49b2f212e5"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"available":{"type":"boolean","isRequired":true,"uniqueKey":"available","typeLabel":"boolean"}},"required":["available"],"title":"Update Offer Availability V1Request","uniqueKey":"","typeLabel":"Update Offer Availability V1Request · object"},"examples":{"Example":{"title":"Example","value":{"available":true}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"3c2c6635-3e5a-4910-9151-4c3aef153d3f":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"00aa4abd-5778-4199-8161-0b49b2f212e5","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","example":"My t-shirt","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"slug":{"type":"string","example":"my-t-shirt","isRequired":true,"uniqueKey":"slug","typeLabel":"string"},"description":{"type":"string","example":"My t-shirt description","isRequired":true,"uniqueKey":"description","typeLabel":"string"},"type":{"type":"string","enum":["STANDARD","GIFT_CARD","UNKNOWN"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"state":{"oneOf":[{"type":"object","title":"Available","required":["type"],"properties":{"type":{"type":"string","const":"AVAILABLE","isRequired":true,"uniqueKey":"state.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"state.oneOf.0","typeLabel":"Available · object"},{"type":"object","title":"Available","required":["type"],"properties":{"type":{"type":"string","const":"AVAILABLE","isRequired":true,"uniqueKey":"state.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"state.oneOf.1","typeLabel":"Available · object"},{"type":"object","title":"Sold Out","properties":{"type":{"type":"string","const":"SOLD_OUT","uniqueKey":"state.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"state.oneOf.2","typeLabel":"Sold Out · object"}],"isRequired":true,"uniqueKey":"state","typeLabel":"Available · object · Available · object · Sold Out · object"},"access":{"oneOf":[{"type":"object","title":"Archived","required":["type"],"properties":{"type":{"type":"string","const":"ARCHIVED","isRequired":true,"uniqueKey":"access.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"access.oneOf.0","typeLabel":"Archived · object"},{"type":"object","title":"Archived","required":["type"],"properties":{"type":{"type":"string","const":"ARCHIVED","isRequired":true,"uniqueKey":"access.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"access.oneOf.1","typeLabel":"Archived · object"},{"type":"object","title":"Archived","required":["type"],"properties":{"type":{"type":"string","const":"ARCHIVED","isRequired":true,"uniqueKey":"access.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"access.oneOf.2","typeLabel":"Archived · object"},{"type":"object","title":"Archived","required":["type"],"properties":{"type":{"type":"string","const":"ARCHIVED","isRequired":true,"uniqueKey":"access.oneOf.3.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"access.oneOf.3","typeLabel":"Archived · object"},{"type":"object","title":"Hidden","properties":{"type":{"type":"string","const":"HIDDEN","uniqueKey":"access.oneOf.4.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"access.oneOf.4","typeLabel":"Hidden · object"},{"type":"object","title":"Private","properties":{"type":{"type":"string","const":"PRIVATE","uniqueKey":"access.oneOf.5.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"access.oneOf.5","typeLabel":"Private · object"},{"type":"object","title":"Public","properties":{"type":{"type":"string","const":"PUBLIC","uniqueKey":"access.oneOf.6.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"access.oneOf.6","typeLabel":"Public · object"}],"isRequired":true,"uniqueKey":"access","typeLabel":"Archived · object · Archived · object · Archived · object · Archived · object · Hidden · object · Private · object · Public · object"},"images":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"00aa4abd-5778-4199-8161-0b49b2f212e5","isRequired":true,"uniqueKey":"images.items.[INDEX].id","typeLabel":"string"},"url":{"type":"string","example":"https://fourthwall.com/image.png","isRequired":true,"uniqueKey":"images.items.[INDEX].url","typeLabel":"string"},"width":{"type":"integer","format":"int32","description":"The original width of the image in pixels.","example":800,"isRequired":true,"uniqueKey":"images.items.[INDEX].width","typeLabel":"integer\u003cint32>"},"height":{"type":"integer","format":"int32","description":"The original height of the image in pixels.","example":600,"isRequired":true,"uniqueKey":"images.items.[INDEX].height","typeLabel":"integer\u003cint32>"},"transformedUrl":{"type":"string","description":"Transformed URL with applied image processing (e.g., resizing, optimization)","example":"https://fourthwall.com/image.png","isRequired":true,"uniqueKey":"images.items.[INDEX].transformedUrl","typeLabel":"string"}},"required":["height","id","transformedUrl","url","width"],"title":"Image","uniqueKey":"images.items.[INDEX]","typeLabel":"Image · object"},"isRequired":true,"uniqueKey":"images","typeLabel":"Image · object[]"},"variants":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"00aa4abd-5778-4199-8161-0b49b2f212e5","isRequired":true,"uniqueKey":"variants.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","example":"My t-shirt - Black, L","isRequired":true,"uniqueKey":"variants.items.[INDEX].name","typeLabel":"string"},"sku":{"type":"string","example":"WDEK-DRE200L","isRequired":true,"uniqueKey":"variants.items.[INDEX].sku","typeLabel":"string"},"unitPrice":{"type":"object","properties":{"value":{"type":"number","example":10,"minimum":0,"isRequired":true,"uniqueKey":"variants.items.[INDEX].unitPrice.value","typeLabel":"number"},"currency":{"type":"string","example":"USD","isRequired":true,"uniqueKey":"variants.items.[INDEX].unitPrice.currency","typeLabel":"string"}},"required":["currency","value"],"title":"Money","isRequired":true,"uniqueKey":"variants.items.[INDEX].unitPrice","typeLabel":"Money · object"},"attributes":{"type":"object","properties":{"description":{"type":"string","example":"Black, L","isRequired":true,"uniqueKey":"variants.items.[INDEX].attributes.description","typeLabel":"string"},"color":{"type":"object","properties":{"name":{"type":"string","example":"Black","isRequired":true,"uniqueKey":"variants.items.[INDEX].attributes.color.name","typeLabel":"string"},"swatch":{"type":"string","example":"#000000","isRequired":true,"uniqueKey":"variants.items.[INDEX].attributes.color.swatch","typeLabel":"string"}},"required":["name","swatch"],"title":"Color","uniqueKey":"variants.items.[INDEX].attributes.color","typeLabel":"Color · object"},"size":{"type":"object","properties":{"name":{"type":"string","example":"L","isRequired":true,"uniqueKey":"variants.items.[INDEX].attributes.size.name","typeLabel":"string"}},"required":["name"],"title":"Size","uniqueKey":"variants.items.[INDEX].attributes.size","typeLabel":"Size · object"}},"required":["description"],"title":"Attributes","isRequired":true,"uniqueKey":"variants.items.[INDEX].attributes","typeLabel":"Attributes · object"},"stock":{"oneOf":[{"type":"object","title":"Limited","required":["inStock","type"],"properties":{"type":{"type":"string","const":"LIMITED","isRequired":true,"uniqueKey":"variants.items.[INDEX].stock.oneOf.0.type","typeLabel":"string"},"inStock":{"type":"integer","format":"int32","example":5,"isRequired":true,"uniqueKey":"variants.items.[INDEX].stock.oneOf.0.inStock","typeLabel":"integer\u003cint32>"}},"isRequired":true,"uniqueKey":"variants.items.[INDEX].stock.oneOf.0","typeLabel":"Limited · object"},{"type":"object","title":"Limited","required":["inStock","type"],"properties":{"type":{"type":"string","const":"LIMITED","isRequired":true,"uniqueKey":"variants.items.[INDEX].stock.oneOf.1.type","typeLabel":"string"},"inStock":{"type":"integer","format":"int32","example":5,"isRequired":true,"uniqueKey":"variants.items.[INDEX].stock.oneOf.1.inStock","typeLabel":"integer\u003cint32>"}},"isRequired":true,"uniqueKey":"variants.items.[INDEX].stock.oneOf.1","typeLabel":"Limited · object"},{"type":"object","title":"Unlimited","properties":{"type":{"type":"string","const":"UNLIMITED","uniqueKey":"variants.items.[INDEX].stock.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"variants.items.[INDEX].stock.oneOf.2","typeLabel":"Unlimited · object"}],"isRequired":true,"uniqueKey":"variants.items.[INDEX].stock","typeLabel":"Limited · object · Limited · object · Unlimited · object"},"weight":{"type":"object","properties":{"value":{"type":"number","example":1,"isRequired":true,"uniqueKey":"variants.items.[INDEX].weight.value","typeLabel":"number"},"unit":{"type":"string","example":"kg","isRequired":true,"uniqueKey":"variants.items.[INDEX].weight.unit","typeLabel":"string"}},"required":["unit","value"],"title":"Weight","isRequired":true,"uniqueKey":"variants.items.[INDEX].weight","typeLabel":"Weight · object"},"dimensions":{"type":"object","properties":{"length":{"type":"number","example":1,"isRequired":true,"uniqueKey":"variants.items.[INDEX].dimensions.length","typeLabel":"number"},"width":{"type":"number","example":2,"isRequired":true,"uniqueKey":"variants.items.[INDEX].dimensions.width","typeLabel":"number"},"height":{"type":"number","example":3,"isRequired":true,"uniqueKey":"variants.items.[INDEX].dimensions.height","typeLabel":"number"},"unit":{"type":"string","example":"cm","isRequired":true,"uniqueKey":"variants.items.[INDEX].dimensions.unit","typeLabel":"string"}},"required":["height","length","unit","width"],"title":"Dimensions","isRequired":true,"uniqueKey":"variants.items.[INDEX].dimensions","typeLabel":"Dimensions · object"},"images":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"00aa4abd-5778-4199-8161-0b49b2f212e5","isRequired":true,"uniqueKey":"variants.items.[INDEX].images.items.[INDEX].id","typeLabel":"string"},"url":{"type":"string","example":"https://fourthwall.com/image.png","isRequired":true,"uniqueKey":"variants.items.[INDEX].images.items.[INDEX].url","typeLabel":"string"},"width":{"type":"integer","format":"int32","description":"The original width of the image in pixels.","example":800,"isRequired":true,"uniqueKey":"variants.items.[INDEX].images.items.[INDEX].width","typeLabel":"integer\u003cint32>"},"height":{"type":"integer","format":"int32","description":"The original height of the image in pixels.","example":600,"isRequired":true,"uniqueKey":"variants.items.[INDEX].images.items.[INDEX].height","typeLabel":"integer\u003cint32>"},"transformedUrl":{"type":"string","description":"Transformed URL with applied image processing (e.g., resizing, optimization)","example":"https://fourthwall.com/image.png","isRequired":true,"uniqueKey":"variants.items.[INDEX].images.items.[INDEX].transformedUrl","typeLabel":"string"}},"required":["height","id","transformedUrl","url","width"],"title":"Image","uniqueKey":"variants.items.[INDEX].images.items.[INDEX]","typeLabel":"Image · object"},"isRequired":true,"uniqueKey":"variants.items.[INDEX].images","typeLabel":"Image · object[]"},"compareAtPrice":{"type":"object","properties":{"value":{"type":"number","example":10,"minimum":0,"isRequired":true,"uniqueKey":"variants.items.[INDEX].compareAtPrice.value","typeLabel":"number"},"currency":{"type":"string","example":"USD","isRequired":true,"uniqueKey":"variants.items.[INDEX].compareAtPrice.currency","typeLabel":"string"}},"required":["currency","value"],"title":"Money","uniqueKey":"variants.items.[INDEX].compareAtPrice","typeLabel":"Money · object"},"unitCost":{"type":"object","properties":{"value":{"type":"number","example":10,"minimum":0,"isRequired":true,"uniqueKey":"variants.items.[INDEX].unitCost.value","typeLabel":"number"},"currency":{"type":"string","example":"USD","isRequired":true,"uniqueKey":"variants.items.[INDEX].unitCost.currency","typeLabel":"string"}},"required":["currency","value"],"title":"Money","uniqueKey":"variants.items.[INDEX].unitCost","typeLabel":"Money · object"},"creatorDeclaredCost":{"type":"object","properties":{"value":{"type":"number","example":10,"minimum":0,"isRequired":true,"uniqueKey":"variants.items.[INDEX].creatorDeclaredCost.value","typeLabel":"number"},"currency":{"type":"string","example":"USD","isRequired":true,"uniqueKey":"variants.items.[INDEX].creatorDeclaredCost.currency","typeLabel":"string"}},"required":["currency","value"],"title":"Money","description":"Product cost as declared by the creator. Null if not set.","uniqueKey":"variants.items.[INDEX].creatorDeclaredCost","typeLabel":"Money · object"},"thumbnailImage":{"type":"object","properties":{"id":{"type":"string","example":"00aa4abd-5778-4199-8161-0b49b2f212e5","isRequired":true,"uniqueKey":"variants.items.[INDEX].thumbnailImage.id","typeLabel":"string"},"url":{"type":"string","example":"https://fourthwall.com/image.png","isRequired":true,"uniqueKey":"variants.items.[INDEX].thumbnailImage.url","typeLabel":"string"},"width":{"type":"integer","format":"int32","description":"The original width of the image in pixels.","example":800,"isRequired":true,"uniqueKey":"variants.items.[INDEX].thumbnailImage.width","typeLabel":"integer\u003cint32>"},"height":{"type":"integer","format":"int32","description":"The original height of the image in pixels.","example":600,"isRequired":true,"uniqueKey":"variants.items.[INDEX].thumbnailImage.height","typeLabel":"integer\u003cint32>"},"transformedUrl":{"type":"string","description":"Transformed URL with applied image processing (e.g., resizing, optimization)","example":"https://fourthwall.com/image.png","isRequired":true,"uniqueKey":"variants.items.[INDEX].thumbnailImage.transformedUrl","typeLabel":"string"}},"required":["height","id","transformedUrl","url","width"],"title":"Image","uniqueKey":"variants.items.[INDEX].thumbnailImage","typeLabel":"Image · object"}},"required":["attributes","dimensions","id","images","name","sku","stock","unitPrice","weight"],"title":"Offer Variant","uniqueKey":"variants.items.[INDEX]","typeLabel":"Offer Variant · object"},"isRequired":true,"uniqueKey":"variants","typeLabel":"Offer Variant · object[]"},"createdAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"thumbnailImage":{"type":"object","properties":{"id":{"type":"string","example":"00aa4abd-5778-4199-8161-0b49b2f212e5","isRequired":true,"uniqueKey":"thumbnailImage.id","typeLabel":"string"},"url":{"type":"string","example":"https://fourthwall.com/image.png","isRequired":true,"uniqueKey":"thumbnailImage.url","typeLabel":"string"},"width":{"type":"integer","format":"int32","description":"The original width of the image in pixels.","example":800,"isRequired":true,"uniqueKey":"thumbnailImage.width","typeLabel":"integer\u003cint32>"},"height":{"type":"integer","format":"int32","description":"The original height of the image in pixels.","example":600,"isRequired":true,"uniqueKey":"thumbnailImage.height","typeLabel":"integer\u003cint32>"},"transformedUrl":{"type":"string","description":"Transformed URL with applied image processing (e.g., resizing, optimization)","example":"https://fourthwall.com/image.png","isRequired":true,"uniqueKey":"thumbnailImage.transformedUrl","typeLabel":"string"}},"required":["height","id","transformedUrl","url","width"],"title":"Image","uniqueKey":"thumbnailImage","typeLabel":"Image · object"},"additionalInformation":{"type":"object","properties":{"sizeAndFit":{"type":"string","uniqueKey":"additionalInformation.sizeAndFit","typeLabel":"string"},"guaranteeAndReturns":{"type":"string","uniqueKey":"additionalInformation.guaranteeAndReturns","typeLabel":"string"},"moreDetails":{"type":"string","uniqueKey":"additionalInformation.moreDetails","typeLabel":"string"}},"title":"Offer Additional Information","uniqueKey":"additionalInformation","typeLabel":"Offer Additional Information · object"},"sizeGuide":{"type":"object","properties":{"fitGuideUrls":{"type":"array","items":{"type":"string","uniqueKey":"sizeGuide.fitGuideUrls.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"sizeGuide.fitGuideUrls","typeLabel":"string[]"},"previewUrl":{"type":"string","uniqueKey":"sizeGuide.previewUrl","typeLabel":"string"},"fileUrl":{"type":"string","uniqueKey":"sizeGuide.fileUrl","typeLabel":"string"},"description":{"type":"string","uniqueKey":"sizeGuide.description","typeLabel":"string"},"fitGuideDescription":{"type":"string","uniqueKey":"sizeGuide.fitGuideDescription","typeLabel":"string"}},"required":["fitGuideUrls"],"title":"Offer Size Guide","uniqueKey":"sizeGuide","typeLabel":"Offer Size Guide · object"},"digitalFiles":{"type":"array","description":"Digital files attached to this offer. Only present for digital offers.","items":{"type":"object","description":"A digital file attached to an offer","properties":{"uri":{"type":"string","description":"The file URI","example":"https://storage.googleapis.com/bucket/shop/offer/file","isRequired":true,"uniqueKey":"digitalFiles.items.[INDEX].uri","typeLabel":"string"},"name":{"type":"string","description":"The file name","example":"my-ebook.pdf","isRequired":true,"uniqueKey":"digitalFiles.items.[INDEX].name","typeLabel":"string"},"fileSize":{"type":"string","description":"Human-readable file size","example":"15.4 MB","uniqueKey":"digitalFiles.items.[INDEX].fileSize","typeLabel":"string"},"mediaType":{"type":"string","description":"MIME type of the file","example":"application/pdf","uniqueKey":"digitalFiles.items.[INDEX].mediaType","typeLabel":"string"}},"required":["name","uri"],"title":"Digital File","uniqueKey":"digitalFiles.items.[INDEX]","typeLabel":"Digital File · object"},"uniqueKey":"digitalFiles","typeLabel":"Digital File · object[]"}},"required":["access","createdAt","description","id","images","name","slug","state","type","updatedAt","variants"],"title":"Offer Full","uniqueKey":"","typeLabel":"Offer Full · object"},"examples":{"Example":{"title":"Example","value":{"id":"00aa4abd-5778-4199-8161-0b49b2f212e5","name":"My t-shirt","slug":"my-t-shirt","description":"My t-shirt description","type":"STANDARD","state":{"type":"AVAILABLE"},"access":{"type":"ARCHIVED"},"images":[{"id":"00aa4abd-5778-4199-8161-0b49b2f212e5","url":"https://fourthwall.com/image.png","width":800,"height":600,"transformedUrl":"https://fourthwall.com/image.png"}],"variants":[{"id":"00aa4abd-5778-4199-8161-0b49b2f212e5","name":"My t-shirt - Black, L","sku":"WDEK-DRE200L","unitPrice":{"value":10,"currency":"USD"},"attributes":{"description":"Black, L","color":{"name":"Black","swatch":"#000000"},"size":{"name":"L"}},"stock":{"type":"LIMITED","inStock":5},"weight":{"value":1,"unit":"kg"},"dimensions":{"length":1,"width":2,"height":3,"unit":"cm"},"images":[{"id":"00aa4abd-5778-4199-8161-0b49b2f212e5","url":"https://fourthwall.com/image.png","width":800,"height":600,"transformedUrl":"https://fourthwall.com/image.png"}],"compareAtPrice":{"value":10,"currency":"USD"},"unitCost":{"value":10,"currency":"USD"},"creatorDeclaredCost":{"value":10,"currency":"USD"},"thumbnailImage":{"id":"00aa4abd-5778-4199-8161-0b49b2f212e5","url":"https://fourthwall.com/image.png","width":800,"height":600,"transformedUrl":"https://fourthwall.com/image.png"}}],"createdAt":"2020-08-13T09:05:36.939Z","updatedAt":"2020-08-13T09:05:36.939Z","thumbnailImage":{"id":"00aa4abd-5778-4199-8161-0b49b2f212e5","url":"https://fourthwall.com/image.png","width":800,"height":600,"transformedUrl":"https://fourthwall.com/image.png"},"additionalInformation":{"sizeAndFit":"\u003cstring>","guaranteeAndReturns":"\u003cstring>","moreDetails":"\u003cstring>"},"sizeGuide":{"fitGuideUrls":["\u003cstring>"],"previewUrl":"\u003cstring>","fileUrl":"\u003cstring>","description":"\u003cstring>","fitGuideDescription":"\u003cstring>"},"digitalFiles":[{"uri":"https://storage.googleapis.com/bucket/shop/offer/file","name":"my-ebook.pdf","fileSize":"15.4 MB","mediaType":"application/pdf"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"108a4166-8146-46d2-a140-088d348e87da":{"description":"Possible errors: `OFFER_MUST_HAVE_COSTS_ERROR`, `OFFER_NOT_BUYABLE_WHEN_A_DEMO_ERROR`","content":{"application/json":{"examples":{"offer-must-have-costs-error":{"title":"offer-must-have-costs-error","value":{"code":"OFFER_MUST_HAVE_COSTS_ERROR","offerId":"\u003cofferid>"}},"offer-not-buyable-when-a-demo-error":{"title":"offer-not-buyable-when-a-demo-error","value":{"code":"OFFER_NOT_BUYABLE_WHEN_A_DEMO_ERROR","offerId":"\u003cofferid>"}}},"exampleType":"examples"}},"exampleType":"examples"},"34b2a16f-1fe4-41ed-af9f-9b927a19dc83":{"description":"Possible errors: `OFFER_NOT_FOUND_BY_SHOP_ID_AND_ID_ERROR`","content":{"application/json":{"examples":{"offer-not-found-by-shop-id-and-id-error":{"title":"offer-not-found-by-shop-id-and-id-error","value":{"code":"OFFER_NOT_FOUND_BY_SHOP_ID_AND_ID_ERROR","shopId":"\u003cshopid>","offerId":"\u003cofferid>"}}},"exampleType":"examples"}},"exampleType":"examples"},"4c85f223-754c-49d5-ab7c-05d3091eead5":{"description":"Possible errors: `SQL_CONSTRAINTS_ERROR`","content":{"application/json":{"examples":{"sql-constraints-error":{"title":"sql-constraints-error","value":{"code":"SQL_CONSTRAINTS_ERROR","table":"\u003cstring?>","constraint":"\u003cstring?>","msg":"\u003cstring?>"}}},"exampleType":"examples"}},"exampleType":"examples"},"be694fbc-5526-4396-84c0-312385bd8337":{"description":"Rate limited: 100 requests / 10 seconds per shop.","content":{"application/json":{"examples":{"too-many-requests":{"title":"too-many-requests","value":{"code":"OPEN_API_TOO_MANY_REQUESTS","title":"Too many requests","status":429}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"c1fa04fd-e5f2-4fb7-8ec5-54ef6ddfb81d":{"bearerAuth":{"type":"http","scheme":"bearer","description":"OAuth 2.0 access token, sent as `Authorization: Bearer \u003ctoken>`. See https://docs.fourthwall.com/guides/oauth. The scopes an operation requires are listed in its `x-fourthwall-scopes`.","scopes":[],"schemeName":"bearerAuth"}},"5d343362-5d28-48ce-a66b-1811a97159f7":{"basicAuth":{"type":"http","scheme":"basic","scopes":[],"schemeName":"basicAuth"}}},"servers":{"e4bf77bb-e587-4d84-a6ea-ebac5ee49d6c":{"url":"https://api.fourthwall.com","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"OAuth 2.0 access token, sent as `Authorization: Bearer \u003ctoken>`. See https://docs.fourthwall.com/guides/oauth. The scopes an operation requires are listed in its `x-fourthwall-scopes`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"OAuth 2.0 access token, sent as `Authorization: Bearer \u003ctoken>`. See https://docs.fourthwall.com/guides/oauth. The scopes an operation requires are listed in its `x-fourthwall-scopes`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"http","scheme":"basic","scopes":[],"schemeName":"basicAuth"},"schema":{"title":"Basic Auth","type":"object","description":"Basic authentication header of the form `Basic \u003cencoded-value>`, where `\u003cencoded-value>` is the base64-encoded string `username:password`.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"basicAuth","name":"Authorization"}],"title":"basicAuth"}]},"originalFileLocation":"openapi/platform.json"},"subdomain":"fourthwall","siteName":"Fourthwall Developer Docs","title":"Update Product Availability - Fourthwall Developer Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-04T15:35:23.311Z","originalFileLocation":"api-reference/platform/products/update-product-availability.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=\"Toggle whether a product is visible and available for purchase on your storefront\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fourthwall Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Product Availability - Fourthwall Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Toggle whether a product is visible and available for purchase on your storefront\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fourthwall Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fourthwall.com/api-reference/platform/products/update-product-availability\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fourthwall.mintlify.site/_mintlify/api/og/v2?division=Products\u0026amp;title=Update+Product+Availability\u0026amp;description=Toggle+whether+a+product+is+visible+and+available+for+purchase+on+your+storefront\u0026amp;theme=8cdf96ad8403fabe9e5e041f\u0026amp;signature=84ab35fd048a3001a998fd432324441d6c9087358d30affb97e1badf2de7b06f\">\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=\"Update Product Availability - Fourthwall Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Toggle whether a product is visible and available for purchase on your storefront\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fourthwall.mintlify.site/_mintlify/api/og/v2?division=Products\u0026amp;title=Update+Product+Availability\u0026amp;description=Toggle+whether+a+product+is+visible+and+available+for+purchase+on+your+storefront\u0026amp;theme=8cdf96ad8403fabe9e5e041f\u0026amp;signature=84ab35fd048a3001a998fd432324441d6c9087358d30affb97e1badf2de7b06f\">\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/fourthwall/t-Pr9lNT9Pm8i5rs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fourthwall Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fourthwall.com/api-reference/platform/products/update-product-availability\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/platform/products/update-product-availability.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fourthwall.com/#organization\",\"name\":\"Fourthwall Developer Docs\",\"url\":\"https://docs.fourthwall.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fourthwall/ll6NfYA7kbBxufP4/logo/light.svg?fit=max\u0026auto=format\u0026n=ll6NfYA7kbBxufP4\u0026q=85\u0026s=44d55b19c2c524eb8e4ee5a9de5c89e7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fourthwall.com#website\",\"name\":\"Fourthwall Developer Docs\",\"url\":\"https://docs.fourthwall.com\",\"publisher\":{\"@id\":\"https://docs.fourthwall.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fourthwall.com/api-reference/platform/products/update-product-availability#webpage\",\"url\":\"https://docs.fourthwall.com/api-reference/platform/products/update-product-availability\",\"name\":\"Update Product Availability\",\"description\":\"Toggle whether a product is visible and available for purchase on your storefront\",\"dateModified\":\"2026-03-04T15:35:23.311Z\",\"isPartOf\":{\"@id\":\"https://docs.fourthwall.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fourthwall.com/api-reference/platform/products/update-product-availability#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fourthwall.com/api-reference/platform/products/update-product-availability#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Products\",\"item\":\"https://docs.fourthwall.com/api-reference/platform/products/list-products\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Product Availability\",\"item\":\"https://docs.fourthwall.com/api-reference/platform/products/update-product-availability\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fourthwall.com/api-reference/platform/products/update-product-availability#apireference\",\"headline\":\"Update Product Availability\",\"name\":\"Update Product Availability\",\"description\":\"Toggle whether a product is visible and available for purchase on your storefront\",\"url\":\"https://docs.fourthwall.com/api-reference/platform/products/update-product-availability\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fourthwall.com/api-reference/platform/products/update-product-availability#webpage\"},\"dateModified\":\"2026-03-04T15:35:23.311Z\",\"publisher\":{\"@id\":\"https://docs.fourthwall.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fourthwall.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fourthwall Developer Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Fourthwall Developer Docs","nav":{"global":{"anchors":[{"anchor":"Fourthwall","icon":"globe","href":"https://fourthwall.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.com/invite/kc6P68z3Uz"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Platform API","groups":[{"group":"Shop","pages":[{"title":"Get Current Shop","openapi":"openapi/platform.json GET /open-api/v1.0/shops/current","href":"/api-reference/platform/shop/get-current-shop"},{"title":"Get Shop Contact Info","openapi":"openapi/platform.json GET /open-api/v1.0/shops/current/contact-info","href":"/api-reference/platform/shop/get-shop-contact-info"},{"title":"Get or Create Public Token","openapi":"openapi/platform.json PUT /open-api/v1.0/public-token","href":"/api-reference/platform/shop/get-public-token"}]},{"group":"Products","pages":[{"title":"List Products","openapi":"openapi/platform.json GET /open-api/v1.0/products","href":"/api-reference/platform/products/list-products"},{"title":"Create a product","openapi":"openapi/platform.json POST /open-api/v1.0/products","href":"/api-reference/platform/products/create-product"},{"title":"Get Product","openapi":"openapi/platform.json GET /open-api/v1.0/products/{productId}","href":"/api-reference/platform/products/get-product"},{"title":"Get Product Inventory","openapi":"openapi/platform.json GET /open-api/v1.0/products/{productId}/inventory","description":"*Rate limit: 100 requests / 10 seconds per shop. See [Rate limiting](/guides/rate-limiting).*\n\nReturns product (offer) inventory by id","href":"/api-reference/platform/products/get-product-inventory"},{"title":"Update Product Availability","openapi":"openapi/platform.json PUT /open-api/v1.0/products/{productId}/availability","href":"/api-reference/platform/products/update-product-availability"},{"title":"Update product (offer) lifecycle state","openapi":"openapi/platform.json PUT /open-api/v1.0/products/{productId}/state","description":"*Rate limit: 100 requests / 10 seconds per shop. See [Rate limiting](/guides/rate-limiting).*\n\nTransitions the product between `PUBLIC` and `HIDDEN`. Use `DELETE /products/{productId}` to archive — `ARCHIVED` is not reachable here. The sold-out (`available`) flag is preserved; flip it via `PUT /products/{productId}/availability`. Idempotent: no-op if the product is already in the requested state.","href":"/api-reference/platform/products-(offers)/update-product-state"},{"title":"Archive a product (offer)","openapi":"openapi/platform.json DELETE /open-api/v1.0/products/{productId}","href":"/api-reference/platform/products-(offers)/archive-product"}]},{"group":"Product Templates","pages":[{"title":"List product templates (specific page)","openapi":"openapi/platform.json GET /open-api/v1.0/product-templates/page/{page}","href":"/api-reference/platform/product-templates/list-product-templates-paged"},{"title":"Get product template details","openapi":"openapi/platform.json GET /open-api/v1.0/product-templates/{productId}","href":"/api-reference/platform/product-templates/get-product-template"}]},{"group":"Customization","pages":[{"title":"Create a new customization","openapi":"openapi/platform.json POST /open-api/v1.0/customizations","href":"/api-reference/platform/customization/create-customization"}]},{"group":"Media library","pages":[{"title":"List media library images","openapi":"openapi/platform.json GET /open-api/v1.0/media/images","href":"/api-reference/platform/media-library/list-media-images"},{"title":"Request a pre-signed upload URL","openapi":"openapi/platform.json POST /open-api/v1.0/media/upload-url","href":"/api-reference/platform/media-library/request-media-upload-url"},{"title":"Save an uploaded image to the media library","openapi":"openapi/platform.json POST /open-api/v1.0/media/images","href":"/api-reference/platform/media-library/save-media-image"}]},{"group":"Orders","pages":[{"title":"List Orders","openapi":"openapi/platform.json GET /open-api/v1.0/order","href":"/api-reference/platform/orders/list-orders"},{"title":"Get Order","openapi":"openapi/platform.json GET /open-api/v1.0/order/{orderId}","href":"/api-reference/platform/orders/get-order"},{"title":"Get Order by Friendly ID","openapi":"openapi/platform.json GET /open-api/v1.0/order/by-friendly-id/{friendlyId}","href":"/api-reference/platform/orders/get-order-by-friendly-id"},{"title":"Mark Digital Download Complete","openapi":"openapi/platform.json PUT /open-api/v1.0/order/{orderId}/downloaded","href":"/api-reference/platform/orders/mark-download-complete"},{"title":"Mark Digital Download Complete by Friendly ID","openapi":"openapi/platform.json PUT /open-api/v1.0/order/by-friendly-id/{friendlyId}/downloaded","href":"/api-reference/platform/orders/mark-download-complete-by-friendly-id"}]},{"group":"Fulfillment","pages":[{"title":"Create Fulfillment","openapi":"openapi/platform.json POST /open-api/v1.0/fulfillments","href":"/api-reference/platform/fulfillment/create-fulfillment"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","openapi":"openapi/platform.json GET /open-api/v1.0/webhooks","href":"/api-reference/platform/webhooks/list-webhooks"},{"title":"Create Webhook","openapi":"openapi/platform.json POST /open-api/v1.0/webhooks","href":"/api-reference/platform/webhooks/create-webhook"},{"title":"Get Webhook","openapi":"openapi/platform.json GET /open-api/v1.0/webhooks/{webhookConfigurationId}","href":"/api-reference/platform/webhooks/get-webhook"},{"title":"Update Webhook","openapi":"openapi/platform.json PUT /open-api/v1.0/webhooks/{webhookConfigurationId}","href":"/api-reference/platform/webhooks/update-webhook"},{"title":"Delete Webhook","openapi":"openapi/platform.json DELETE /open-api/v1.0/webhooks/{webhookConfigurationId}","href":"/api-reference/platform/webhooks/delete-webhook"},{"title":"List Webhook Events","openapi":"openapi/platform.json GET /open-api/v1.0/webhook-events","href":"/api-reference/platform/webhooks/list-webhook-events"},{"title":"Get Webhook Event","openapi":"openapi/platform.json GET /open-api/v1.0/webhook-events/{webhookEventId}","href":"/api-reference/platform/webhooks/get-webhook-event"}]},{"group":"Promotions","pages":[{"title":"List Promotions","openapi":"openapi/platform.json GET /open-api/v1.0/promotions","href":"/api-reference/platform/promotions/list-promotions"},{"title":"Create Promotion","openapi":"openapi/platform.json POST /open-api/v1.0/promotions","href":"/api-reference/platform/promotions/create-promotion"},{"title":"Get Promotion","openapi":"openapi/platform.json GET /open-api/v1.0/promotions/{promotionId}","href":"/api-reference/platform/promotions/get-promotion"}]},{"group":"Memberships","pages":[{"title":"List Membership Tiers","openapi":"openapi/platform.json GET /open-api/v1.0/memberships/tiers","href":"/api-reference/platform/memberships/list-tiers"},{"title":"List Members","openapi":"openapi/platform.json GET /open-api/v1.0/memberships/members","href":"/api-reference/platform/memberships/list-members"},{"title":"Get Member","openapi":"openapi/platform.json GET /open-api/v1.0/memberships/members/{id}","href":"/api-reference/platform/memberships/get-member"}]},{"group":"Donations","pages":[{"title":"List Donations","openapi":"openapi/platform.json GET /open-api/v1.0/donations","href":"/api-reference/platform/donations/list-donations"},{"title":"Get Donation","openapi":"openapi/platform.json GET /open-api/v1.0/donations/{donationId}","href":"/api-reference/platform/donations/get-donation"}]},{"group":"Mailing Lists","pages":[{"title":"List Mailing List Entries","openapi":"openapi/platform.json GET /open-api/v1.0/mailing-list-entries","href":"/api-reference/platform/mailing-lists/list-entries"}]},{"group":"Streaming","pages":[{"title":"Get Streaming Status","openapi":"openapi/platform.json GET /open-api/v1.0/streaming","href":"/api-reference/platform/streaming/get-streaming-status"},{"title":"Start Streaming","openapi":"openapi/platform.json PUT /open-api/v1.0/streaming/start","href":"/api-reference/platform/streaming/start-streaming"},{"title":"End Streaming","openapi":"openapi/platform.json PUT /open-api/v1.0/streaming/end","href":"/api-reference/platform/streaming/end-streaming"}]},{"group":"Gifting","pages":[{"title":"Get Draw","openapi":"openapi/platform.json GET /open-api/v1.0/gifting/draw/{id}","href":"/api-reference/platform/gifting/get-draw"},{"title":"Finish Draw","openapi":"openapi/platform.json PUT /open-api/v1.0/gifting/draw/{id}/finish","href":"/api-reference/platform/gifting/finish-draw"},{"title":"Get Gift Purchase","openapi":"openapi/platform.json GET /open-api/v1.0/gift-purchase/{giftPurchaseId}","href":"/api-reference/platform/gift-purchases/get-gift-purchase"}]},{"group":"Giveaway Links","pages":[{"title":"List Giveaway Packages","openapi":"openapi/platform.json GET /open-api/v1.0/giveaway-links/packages","href":"/api-reference/platform/giveaway-links/list-packages"},{"title":"Get Giveaway Package","openapi":"openapi/platform.json GET /open-api/v1.0/giveaway-links/packages/{packageId}","href":"/api-reference/platform/giveaway-links/get-package"},{"title":"Create Giveaway Links","openapi":"openapi/platform.json POST /open-api/v1.0/giveaway-links","href":"/api-reference/platform/giveaway-links/create-giveaway-links"}]},{"group":"Collections","pages":[{"title":"List Collections","openapi":"openapi/platform.json GET /open-api/v1.0/collections","href":"/api-reference/platform/collections/list-collections"},{"title":"Create a new collection","openapi":"openapi/platform.json POST /open-api/v1.0/collections","href":"/api-reference/platform/collections/create-collection"},{"title":"Get collection by ID or slug","openapi":"openapi/platform.json GET /open-api/v1.0/collections/{collectionIdOrSlug}","href":"/api-reference/platform/collections/get-collection"},{"title":"Get products in a collection","openapi":"openapi/platform.json GET /open-api/v1.0/collections/{collectionId}/products","href":"/api-reference/platform/collections/get-collection-products"},{"title":"Update a collection","openapi":"openapi/platform.json PUT /open-api/v1.0/collections/{collectionId}","href":"/api-reference/platform/collections/update-collection"},{"title":"Update collection availability","openapi":"openapi/platform.json PUT /open-api/v1.0/collections/{collectionId}/availability","href":"/api-reference/platform/collections/update-collection-availability"},{"title":"Set collection products","openapi":"openapi/platform.json PUT /open-api/v1.0/collections/{collectionId}/products","href":"/api-reference/platform/collections/update-collection-products"}]},{"group":"Thank Yous","pages":[{"title":"Get Thank You","openapi":"openapi/platform.json GET /open-api/v1.0/thank-yous/{thankYouId}","href":"/api-reference/platform/thank-yous/get-thank-you"},{"title":"List Contributions Awaiting Thank You","openapi":"openapi/platform.json GET /open-api/v1.0/thank-you-contributions","href":"/api-reference/platform/thank-yous/list-contributions"},{"title":"Create Thank You","openapi":"openapi/platform.json POST /open-api/v1.0/thank-you-contributions/{id}","href":"/api-reference/platform/thank-yous/create-thank-you"}]},{"group":"Platform Token","pages":[{"title":"Exchange Token","openapi":"openapi/platform.json POST /open-api/v1.0/platform/token","href":"/api-reference/platform/platform-token/exchange-token"}]},{"group":"Webhook Events","pages":[{"title":"Order placed","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook ORDER_PLACED","href":"/api-reference/order-events/order-placed"},{"title":"Order updated","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook ORDER_UPDATED","href":"/api-reference/order-events/order-updated"},{"title":"Gift purchase","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook GIFT_PURCHASE","href":"/api-reference/order-events/gift-purchase"},{"title":"Product created","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PRODUCT_CREATED","href":"/api-reference/product-events/product-created"},{"title":"Product updated","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PRODUCT_UPDATED","href":"/api-reference/product-events/product-updated"},{"title":"Donation","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook DONATION","href":"/api-reference/order-events/donation"},{"title":"Subscription purchased","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook SUBSCRIPTION_PURCHASED","href":"/api-reference/membership-events/subscription-purchased"},{"title":"Subscription expired","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook SUBSCRIPTION_EXPIRED","href":"/api-reference/membership-events/subscription-expired"},{"title":"Subscription changed","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook SUBSCRIPTION_CHANGED","href":"/api-reference/membership-events/subscription-changed"},{"title":"Newsletter subscribed","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook NEWSLETTER_SUBSCRIBED","href":"/api-reference/newsletter-events/newsletter-subscribed"},{"title":"Thank you sent","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook THANK_YOU_SENT","href":"/api-reference/thank-you-events/thank-you-sent"},{"title":"Gift draw started","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook GIFT_DRAW_STARTED","href":"/api-reference/giveaway-events/gift-draw-started"},{"title":"Gift draw ended","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook GIFT_DRAW_ENDED","href":"/api-reference/giveaway-events/gift-draw-ended"},{"title":"Promotion created","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PROMOTION_CREATED","href":"/api-reference/promotion-events/promotion-created"},{"title":"Promotion updated","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PROMOTION_UPDATED","href":"/api-reference/promotion-events/promotion-updated"},{"title":"Promotion status changed","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PROMOTION_STATUS_CHANGED","href":"/api-reference/promotion-events/promotion-status-changed"},{"title":"Platform app disconnected","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PLATFORM_APP_DISCONNECTED","href":"/api-reference/platform-events/platform-app-disconnected"},{"title":"Collection updated","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook COLLECTION_UPDATED","href":"/api-reference/collection-events/collection-updated"},{"title":"Cart abandoned 1 hour","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook CART_ABANDONED_1H","href":"/api-reference/cart-events/cart-abandoned-1-hour"},{"title":"Cart abandoned 24 hours","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook CART_ABANDONED_24H","href":"/api-reference/cart-events/cart-abandoned-24-hours"},{"title":"Cart abandoned 72 hours","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook CART_ABANDONED_72H","href":"/api-reference/cart-events/cart-abandoned-72-hours"}]}]},{"tab":"Storefront API","pages":[{"title":"Storefront API","href":"/api-reference/storefront/shop/get-shop"}]},{"tab":"Memberships API","hidden":false,"pages":[{"title":"Memberships API","href":"/api-reference/membership/getting-started-images"}]},{"tab":"Channel API","pages":[{"title":"Channel API","href":"/channel-api/authentication"}]}]},"basePath":"","title":"Update Product Availability - Fourthwall Developer Docs","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}