The purchaseable options of this product. This endpoint will update/delete/create ALL of the options for this product. For that reason, any existing options you would like to keep must have the id property submitted. Any existing options, which are not submitted with this endpoint will be deleted.
The amount of the underlying unit of this product. When inventoryType is set to product, this will be how much inventory is taken out for each quantity of this option purchased. When inventoryType is set to option, this value is only used to describe the product on the menu. For example, 3.5 for an Eighth or 1 for a single vape cartridge.
The optional name for this option. When name is not specified, it will show up on the menu as "1 item" or "3.5 grams" using the amount of the option and the unit of the product.
The amount of cannabis content this option has based on the cannabisType field from the product category. Based on the cannabisType this value should be sent as a numeric string based on the following unit:
non-concentrated - grams (g)
concentrated - milligrams (mg)
mi-infused-solids - ounces (oz)
mi-infused-fluids - fluid ounces (fl oz)
edibles - milligrams (mg)
immature-plant - plants (i.e. # of plants)
When the category's cannabisType is set to none, you do not need to send a value. For all other types, the values must be greater than 0.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Meadow API","colors":{"primary":"#8019e4","light":"#63dde8","dark":"#8019e4"},"logo":{"light":"https://mintcdn.com/meadow/A0jpawTy4WMsQxOO/images/logo-purple.png?fit=max\u0026auto=format\u0026n=A0jpawTy4WMsQxOO\u0026q=85\u0026s=26b8bb6925801507b6d0261692862020","dark":"https://mintcdn.com/meadow/A0jpawTy4WMsQxOO/images/logo-white.png?fit=max\u0026auto=format\u0026n=A0jpawTy4WMsQxOO\u0026q=85\u0026s=eb8877f4f190be7b8d47933a5c7d63df"},"favicon":"https://mintcdn.com/meadow/molh9Q4nZYYp5-8-/images/favicon.svg?fit=max\u0026auto=format\u0026n=molh9Q4nZYYp5-8-\u0026q=85\u0026s=26b57b66d963938e507d084a5943cd02","api":{"params":{"expanded":"all"}},"footer":{"socials":{"github":"https://github.com/meadow","website":"https://getmeadow.com"}},"styling":{"codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"meadow","hasAudioNarration":false,"actualSubdomain":"meadow","customDomains":["api-docs.getmeadow.com"],"gitSource":{"type":"github","owner":"meadow","repo":"open-api-documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4d17d7d6c6138a24d0322","collectionId":"a9998361-20d4-45cb-b1f2-37e63f7fc94a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4d17d7d6c6138a24d0322"},"entitlements":{},"buildId":"6ae4d17d7d6c6138a24d0322","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Endpoints: Analytics","count":11},{"language":"default","tag":"Endpoints: Products \u0026 Inventory","count":8},{"language":"default","tag":"Using the API","count":7},{"language":"default","tag":"Endpoints: Customers","count":6},{"language":"default","tag":"Endpoints: Create Orders","count":6},{"language":"default","tag":"Endpoints: Menu","count":2},{"language":"default","tag":"Guides","count":1}]},"assistantConfig":{},"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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"endpoints/products/update-product-options","slug":"/endpoints/products/update-product-options","pageMetadata":{"title":"Update product options","openapi":"PUT /api/v1/products/{productId}/options","description":null,"href":"/endpoints/products/update-product-options"},"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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Update product options","openapi":"PUT /api/v1/products/{productId}/options","description":null,"href":"/endpoints/products/update-product-options"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"parameters":["30fdae71-a155-47de-bc74-3822d419ca1a"],"requestBody":"ab1e5dbe-41e6-4f98-91a9-0432812278a2","responses":{"201":"4294a002-24e2-48f5-b811-e4efa6b2ccd9","4XX":"e12e7d1a-732b-46c6-be50-589ec137614f"},"method":"put","type":"path","servers":["51c520a1-a658-421f-927a-7fcae986ba8c","5091d89b-c8ff-49bd-ac28-f40b834142b1"],"security":["1c0263ad-f012-431c-98fb-cf88e02a4593"],"path":"/api/v1/products/{productId}/options","baseUrlOptions":["https://api-staging.getmeadow.com","https://api.getmeadow.com"],"title":"","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"30fdae71-a155-47de-bc74-3822d419ca1a":{"name":"productId","in":"path","description":"ID of the product to update","required":true,"schema":{"type":"integer","format":"int64","isRequired":true,"description":"ID of the product to update","uniqueKey":"","typeLabel":"integer\u003cint64>"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"options":{"type":"array","description":"The purchaseable options of this product. This endpoint will update/delete/create ALL of the options for this product. For that reason, any existing options you would like to keep must have the `id` property submitted. Any existing options, which are not submitted with this endpoint will be deleted.","items":{"type":"object","required":["amount","price"],"properties":{"amount":{"type":"number","description":"The amount of the underlying unit of this product. When `inventoryType` is set to `product`, this will be how much inventory is taken out for each quantity of this option purchased. When `inventoryType` is set to `option`, this value is only used to describe the product on the menu. For example, 3.5 for an Eighth or 1 for a single vape cartridge.","isRequired":true,"uniqueKey":"options.items.[INDEX].amount","typeLabel":"number"},"price":{"type":"number","description":"The price of this option in cents.","isRequired":true,"uniqueKey":"options.items.[INDEX].price","typeLabel":"number"},"id":{"type":"number","description":"The ID of an existing option","uniqueKey":"options.items.[INDEX].id","typeLabel":"number"},"name":{"type":"string","description":"The optional name for this option. When name is not specified, it will show up on the menu as \"1 item\" or \"3.5 grams\" using the `amount` of the option and the `unit` of the product.","uniqueKey":"options.items.[INDEX].name","typeLabel":"string"},"salesPrice":{"type":"number","description":"The discounted sales price of this option in cents if one exists.","uniqueKey":"options.items.[INDEX].salesPrice","typeLabel":"number"},"content":{"type":"string","description":"The amount of cannabis content this option has based on the `cannabisType` field from the product category. Based on the `cannabisType` this value should be sent as a numeric string based on the following unit:\n\n- `non-concentrated` - grams (g) \n- `concentrated` - milligrams (mg) \n - `mi-infused-solids` - ounces (oz) \n - `mi-infused-fluids` - fluid ounces (fl oz) \n - `edibles` - milligrams (mg) \n - `immature-plant` - plants (i.e. # of plants)\n\nWhen the category's `cannabisType` is set to `none`, you do not need to send a value. For all other types, the values must be greater than 0.","uniqueKey":"options.items.[INDEX].content","typeLabel":"string"},"upc":{"type":"string","description":"A UPC code for this option","uniqueKey":"options.items.[INDEX].upc","typeLabel":"string"}},"uniqueKey":"options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"options","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"options":[{"id":15472,"name":"Eighth","amount":3.5,"price":4700},{"amount":7,"price":8500,"content":"7"}]},"examples":{"Example":{"title":"Example","value":{"options":[{"id":15472,"name":"Eighth","amount":3.5,"price":4700},{"amount":7,"price":8500,"content":"7"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"4294a002-24e2-48f5-b811-e4efa6b2ccd9":{"description":"Update product response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the new product","uniqueKey":"id","typeLabel":"string"},"organizationId":{"type":"string","description":"The client organization's ID","uniqueKey":"organizationId","typeLabel":"string"},"name":{"type":"string","description":"The name of the product","uniqueKey":"name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"The description of the product","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description of the product","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"unit":{"type":"string","description":"Either `gram` or `item`","uniqueKey":"unit","typeLabel":"string"},"isActive":{"type":"boolean","description":"Whether this product is shown on the menu.","uniqueKey":"isActive","typeLabel":"boolean"},"isFeatured":{"type":"boolean","description":"Whether this product is shown as featured.","uniqueKey":"isFeatured","typeLabel":"boolean"},"brand":{"oneOf":[{"type":"object","description":"The brand of this product","properties":{"name":{"type":"string","description":"The name of the brand","uniqueKey":"brand.oneOf.0.name","typeLabel":"string"}},"uniqueKey":"brand.oneOf.0","typeLabel":"object"},{"type":"null","description":"The brand of this product","properties":{"name":{"type":"string","description":"The name of the brand"}},"uniqueKey":"brand.oneOf.1","typeLabel":"null"}],"uniqueKey":"brand","typeLabel":"object | null"},"primaryCategory":{"type":"object","description":"The category of this product","properties":{"name":{"type":"string","description":"The name of the category","uniqueKey":"primaryCategory.name","typeLabel":"string"},"cannabisType":{"type":"string","description":"The cannabis type of the products in this category used for purchase order calculations.","enum":["non-concentrated","concentrated","mi-infused-solids","mi-infused-fluids","edibles","immature-plant","none"],"uniqueKey":"primaryCategory.cannabisType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"primaryCategory","typeLabel":"object"},"subCategories":{"type":"array","description":"The names of all the sub-categories of this product (may be empty `[]`)","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the sub-category","uniqueKey":"subCategories.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"subCategories.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subCategories","typeLabel":"object[]"},"photos":{"type":"array","description":"Photo URLs submitted in the request","items":{"type":"string","uniqueKey":"photos.items.[INDEX]","typeLabel":"string"},"uniqueKey":"photos","typeLabel":"string[]"},"options":{"type":"array","description":"The purchaseable options for this product","items":{"type":"object","properties":{"id":{"type":"number","description":"The ID of this option","uniqueKey":"options.items.[INDEX].id","typeLabel":"number"},"name":{"oneOf":[{"type":"string","description":"The name of this option","uniqueKey":"options.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of this option","uniqueKey":"options.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"options.items.[INDEX].name","typeLabel":"string | null"},"price":{"type":"number","description":"The price of this option in cents","uniqueKey":"options.items.[INDEX].price","typeLabel":"number"},"salesPrice":{"oneOf":[{"type":"number","description":"The sales price of this option in cents","uniqueKey":"options.items.[INDEX].salesPrice.oneOf.0","typeLabel":"number"},{"type":"null","description":"The sales price of this option in cents","uniqueKey":"options.items.[INDEX].salesPrice.oneOf.1","typeLabel":"null"}],"uniqueKey":"options.items.[INDEX].salesPrice","typeLabel":"number | null"},"content":{"type":"string","description":"The cannabis content of this option","uniqueKey":"options.items.[INDEX].content","typeLabel":"string"},"upc":{"oneOf":[{"type":"string","description":"The UPC for this option","uniqueKey":"options.items.[INDEX].upc.oneOf.0","typeLabel":"string"},{"type":"null","description":"The UPC for this option","uniqueKey":"options.items.[INDEX].upc.oneOf.1","typeLabel":"null"}],"uniqueKey":"options.items.[INDEX].upc","typeLabel":"string | null"}},"uniqueKey":"options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"options","typeLabel":"object[]"},"thcAmount":{"oneOf":[{"type":"string","description":"The total amount of THC present in this product","uniqueKey":"thcAmount.oneOf.0","typeLabel":"string"},{"type":"null","description":"The total amount of THC present in this product","uniqueKey":"thcAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"thcAmount","typeLabel":"string | null"},"thcAmountEach":{"oneOf":[{"type":"string","description":"The amount of THC per each unit of the product (i.e. 10mg per pre-roll in a pack of 15 pre-rolls)","uniqueKey":"thcAmountEach.oneOf.0","typeLabel":"string"},{"type":"null","description":"The amount of THC per each unit of the product (i.e. 10mg per pre-roll in a pack of 15 pre-rolls)","uniqueKey":"thcAmountEach.oneOf.1","typeLabel":"null"}],"uniqueKey":"thcAmountEach","typeLabel":"string | null"},"thcAmountRangeLow":{"oneOf":[{"type":"string","description":"The low value of a range if this product has a range of THC value.","uniqueKey":"thcAmountRangeLow.oneOf.0","typeLabel":"string"},{"type":"null","description":"The low value of a range if this product has a range of THC value.","uniqueKey":"thcAmountRangeLow.oneOf.1","typeLabel":"null"}],"uniqueKey":"thcAmountRangeLow","typeLabel":"string | null"},"thcAmountRangeHigh":{"oneOf":[{"type":"string","description":"The high value of a range if this product has a range of THC value.","uniqueKey":"thcAmountRangeHigh.oneOf.0","typeLabel":"string"},{"type":"null","description":"The high value of a range if this product has a range of THC value.","uniqueKey":"thcAmountRangeHigh.oneOf.1","typeLabel":"null"}],"uniqueKey":"thcAmountRangeHigh","typeLabel":"string | null"},"thcUnit":{"oneOf":[{"type":"string","description":"The unit for the THC values submitted.","enum":["%","mg"],"uniqueKey":"thcUnit.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The unit for the THC values submitted.","enum":["%","mg"],"uniqueKey":"thcUnit.oneOf.1","typeLabel":"null"}],"uniqueKey":"thcUnit","typeLabel":"enum\u003cstring> | null"},"cbdAmount":{"oneOf":[{"type":"string","description":"The total amount of CBD present in this product","uniqueKey":"cbdAmount.oneOf.0","typeLabel":"string"},{"type":"null","description":"The total amount of CBD present in this product","uniqueKey":"cbdAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"cbdAmount","typeLabel":"string | null"},"cbdAmountEach":{"oneOf":[{"type":"string","description":"The amount of CBD per each unit of the product (i.e. 10mg per pre-roll in a pack of 15 pre-rolls)","uniqueKey":"cbdAmountEach.oneOf.0","typeLabel":"string"},{"type":"null","description":"The amount of CBD per each unit of the product (i.e. 10mg per pre-roll in a pack of 15 pre-rolls)","uniqueKey":"cbdAmountEach.oneOf.1","typeLabel":"null"}],"uniqueKey":"cbdAmountEach","typeLabel":"string | null"},"cbdAmountRangeLow":{"oneOf":[{"type":"string","description":"The low value of a range if this product has a range of CBD value.","uniqueKey":"cbdAmountRangeLow.oneOf.0","typeLabel":"string"},{"type":"null","description":"The low value of a range if this product has a range of CBD value.","uniqueKey":"cbdAmountRangeLow.oneOf.1","typeLabel":"null"}],"uniqueKey":"cbdAmountRangeLow","typeLabel":"string | null"},"cbdAmountRangeHigh":{"oneOf":[{"type":"string","description":"The high value of a range if this product has a range of CBD value.","uniqueKey":"cbdAmountRangeHigh.oneOf.0","typeLabel":"string"},{"type":"null","description":"The high value of a range if this product has a range of CBD value.","uniqueKey":"cbdAmountRangeHigh.oneOf.1","typeLabel":"null"}],"uniqueKey":"cbdAmountRangeHigh","typeLabel":"string | null"},"cbdUnit":{"oneOf":[{"type":"string","description":"The unit for the CBD values submitted.","enum":["%","mg"],"uniqueKey":"cbdUnit.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The unit for the CBD values submitted.","enum":["%","mg"],"uniqueKey":"cbdUnit.oneOf.1","typeLabel":"null"}],"uniqueKey":"cbdUnit","typeLabel":"enum\u003cstring> | null"}},"example":{"data":{"id":11867,"organizationId":25,"brand":{"id":2238,"name":"Awesome Cannabis","createdAt":"2024-12-12T03:08:58.012Z","updatedAt":"2024-12-12T03:08:58.012Z","description":null},"subCategories":[{"id":30325,"organizationId":25,"name":"Top Shelf","createdAt":"2024-12-12T03:01:11.823Z","updatedAt":"2024-12-12T03:01:11.823Z"}],"inventoryType":"option","createdAt":"2024-12-12T04:08:00.429Z","updatedAt":"2024-12-12T04:08:00.429Z","isActive":false,"isFeatured":false,"photos":["https://meadow.imgix.net/2024/10/1aef02cf-9150-481e-9625-760693b4186b.jpeg","https://meadow.imgix.net/2022/11/67de83f8-1d72-4713-991a-87c3b29d4e93.jpeg"],"name":"Blue Dream","strainType":"hybrid-sativa","isCompliant":true,"unit":"gram","primaryCategory":{"id":286,"name":"Flower","createdAt":"2023-12-16T02:51:28.738Z","updatedAt":"2023-12-16T02:51:28.738Z","cannabisType":"non-concentrated"},"options":[{"id":15472,"name":"Eighth","amount":3.5,"price":4500,"salesPrice":null,"createdAt":"2024-12-12T04:08:00.433Z","updatedAt":"2024-12-12T04:08:00.433Z","upc":null,"content":"3.5"}],"thcAmount":"12","thcAmountEach":"12","thcAmountRangeLow":null,"thcAmountRangeHigh":null,"thcUnit":"mg","cbdAmount":null,"cbdAmountEach":null,"cbdAmountRangeLow":null,"cbdAmountRangeHigh":null,"cbdUnit":null}},"uniqueKey":"","typeLabel":"object"},"example":{"data":{"id":11867,"organizationId":25,"brand":{"id":2238,"name":"Awesome Cannabis","createdAt":"2024-12-12T03:08:58.012Z","updatedAt":"2024-12-12T03:08:58.012Z","description":null},"subCategories":[{"id":30325,"organizationId":25,"name":"Top Shelf","createdAt":"2024-12-12T03:01:11.823Z","updatedAt":"2024-12-12T03:01:11.823Z"}],"inventoryType":"option","createdAt":"2024-12-12T04:08:00.429Z","updatedAt":"2024-12-12T05:06:35.447Z","deletedAt":null,"description":null,"isActive":false,"isFeatured":false,"photos":["https://meadow.imgix.net/2022/11/67de83f8-1d72-4713-991a-87c3b29d4e93.jpeg","https://meadow.imgix.net/2024/10/1aef02cf-9150-481e-9625-760693b4186b.jpeg"],"name":"Blue Dream","strainType":"hybrid-sativa","isCompliant":false,"unit":"gram","primaryCategory":{"id":286,"name":"Flower","createdAt":"2023-12-16T02:51:28.738Z","updatedAt":"2023-12-16T02:51:28.738Z","cannabisType":"non-concentrated"},"options":[{"id":15472,"name":"Eighth","amount":3.5,"price":4700,"salesPrice":null,"createdAt":"2024-12-12T04:08:00.433Z","updatedAt":"2024-12-12T07:09:11.770Z","upc":null,"content":"3.5"},{"id":15475,"name":null,"amount":7,"price":8500,"salesPrice":null,"createdAt":"2024-12-12T07:12:48.923Z","updatedAt":"2024-12-12T07:12:48.923Z","upc":null,"content":"7"}]}},"examples":{"Example":{"title":"Example","value":{"data":{"id":11867,"organizationId":25,"brand":{"id":2238,"name":"Awesome Cannabis","createdAt":"2024-12-12T03:08:58.012Z","updatedAt":"2024-12-12T03:08:58.012Z","description":null},"subCategories":[{"id":30325,"organizationId":25,"name":"Top Shelf","createdAt":"2024-12-12T03:01:11.823Z","updatedAt":"2024-12-12T03:01:11.823Z"}],"inventoryType":"option","createdAt":"2024-12-12T04:08:00.429Z","updatedAt":"2024-12-12T05:06:35.447Z","deletedAt":null,"description":null,"isActive":false,"isFeatured":false,"photos":["https://meadow.imgix.net/2022/11/67de83f8-1d72-4713-991a-87c3b29d4e93.jpeg","https://meadow.imgix.net/2024/10/1aef02cf-9150-481e-9625-760693b4186b.jpeg"],"name":"Blue Dream","strainType":"hybrid-sativa","isCompliant":false,"unit":"gram","primaryCategory":{"id":286,"name":"Flower","createdAt":"2023-12-16T02:51:28.738Z","updatedAt":"2023-12-16T02:51:28.738Z","cannabisType":"non-concentrated"},"options":[{"id":15472,"name":"Eighth","amount":3.5,"price":4700,"salesPrice":null,"createdAt":"2024-12-12T04:08:00.433Z","updatedAt":"2024-12-12T07:09:11.770Z","upc":null,"content":"3.5"},{"id":15475,"name":null,"amount":7,"price":8500,"salesPrice":null,"createdAt":"2024-12-12T07:12:48.923Z","updatedAt":"2024-12-12T07:12:48.923Z","upc":null,"content":"7"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"e12e7d1a-732b-46c6-be50-589ec137614f":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","example":"A description of the error code","uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","example":"CODE_OF_ERROR_WILL_BE_HERE","uniqueKey":"error.code","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"A description of the error code","code":"CODE_OF_ERROR_WILL_BE_HERE"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1c0263ad-f012-431c-98fb-cf88e02a4593":{"meadowConsumer":{"type":"apiKey","name":"X-Consumer-Key","description":"The key assigned to your company and provided via Meadow","in":"header","scopes":[],"schemeName":"meadowConsumer"},"meadowClient":{"type":"apiKey","name":"X-Client-Key","description":"The key generated and provided by our mutual client","in":"header","scopes":[],"schemeName":"meadowClient"}}},"servers":{"51c520a1-a658-421f-927a-7fcae986ba8c":{"url":"https://api-staging.getmeadow.com"},"5091d89b-c8ff-49bd-ac28-f40b834142b1":{"url":"https://api.getmeadow.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"X-Consumer-Key","description":"The key assigned to your company and provided via Meadow","in":"header","scopes":[],"schemeName":"meadowConsumer"},"schema":{"title":"X-Consumer-Key","type":"string","description":"The key assigned to your company and provided via Meadow","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"meadowConsumer","name":"X-Consumer-Key"},{"scheme":{"type":"apiKey","name":"X-Client-Key","description":"The key generated and provided by our mutual client","in":"header","scopes":[],"schemeName":"meadowClient"},"schema":{"title":"X-Client-Key","type":"string","description":"The key generated and provided by our mutual client","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"meadowClient","name":"X-Client-Key"}],"title":"meadowConsumer \u0026 meadowClient"}]},"originalFileLocation":"endpoints/openapi.json"},"subdomain":"meadow","siteName":"Meadow API","title":"Update product options - Meadow API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T17:19:07.746Z","originalFileLocation":"endpoints/products/update-product-options.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=\"application-name\" content=\"Meadow API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/meadow/ZyOpgKgnc39DMFWW/_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/meadow/ZyOpgKgnc39DMFWW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/meadow/ZyOpgKgnc39DMFWW/_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/meadow/ZyOpgKgnc39DMFWW/_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/meadow/ZyOpgKgnc39DMFWW/_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/meadow/ZyOpgKgnc39DMFWW/_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/meadow/ZyOpgKgnc39DMFWW/_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/meadow/ZyOpgKgnc39DMFWW/_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/meadow/ZyOpgKgnc39DMFWW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update product options - Meadow API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Meadow API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api-docs.getmeadow.com/endpoints/products/update-product-options\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://meadow.mintlify.app/_mintlify/api/og/v2?division=Endpoints%3A+Products+%26+Inventory\u0026amp;title=Update+product+options\u0026amp;theme=3516b74799b31165bc48cba6\u0026amp;signature=1250ca13b6f8a83597d3c308febc6d6ff7cf5712bdaa0d1884bcd81a6e01a6ca\">\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 options - Meadow API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://meadow.mintlify.app/_mintlify/api/og/v2?division=Endpoints%3A+Products+%26+Inventory\u0026amp;title=Update+product+options\u0026amp;theme=3516b74799b31165bc48cba6\u0026amp;signature=1250ca13b6f8a83597d3c308febc6d6ff7cf5712bdaa0d1884bcd81a6e01a6ca\">\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/meadow/ZyOpgKgnc39DMFWW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Meadow API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8019e4\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api-docs.getmeadow.com/endpoints/products/update-product-options\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/endpoints/products/update-product-options.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api-docs.getmeadow.com/#organization\",\"name\":\"Meadow API\",\"url\":\"https://api-docs.getmeadow.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/meadow/A0jpawTy4WMsQxOO/images/logo-purple.png?fit=max\u0026auto=format\u0026n=A0jpawTy4WMsQxOO\u0026q=85\u0026s=26b8bb6925801507b6d0261692862020\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api-docs.getmeadow.com#website\",\"name\":\"Meadow API\",\"url\":\"https://api-docs.getmeadow.com\",\"publisher\":{\"@id\":\"https://api-docs.getmeadow.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api-docs.getmeadow.com/endpoints/products/update-product-options#webpage\",\"url\":\"https://api-docs.getmeadow.com/endpoints/products/update-product-options\",\"name\":\"Update product options\",\"dateModified\":\"2026-10-30T17:19:07.746Z\",\"isPartOf\":{\"@id\":\"https://api-docs.getmeadow.com#website\"},\"breadcrumb\":{\"@id\":\"https://api-docs.getmeadow.com/endpoints/products/update-product-options#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api-docs.getmeadow.com/endpoints/products/update-product-options#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints: Products \u0026 Inventory\",\"item\":\"https://api-docs.getmeadow.com/endpoints/products/create-product\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update product options\",\"item\":\"https://api-docs.getmeadow.com/endpoints/products/update-product-options\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api-docs.getmeadow.com/endpoints/products/update-product-options#apireference\",\"headline\":\"Update product options\",\"name\":\"Update product options\",\"url\":\"https://api-docs.getmeadow.com/endpoints/products/update-product-options\",\"mainEntityOfPage\":{\"@id\":\"https://api-docs.getmeadow.com/endpoints/products/update-product-options#webpage\"},\"dateModified\":\"2026-10-30T17:19:07.746Z\",\"publisher\":{\"@id\":\"https://api-docs.getmeadow.com/#organization\"},\"isPartOf\":{\"@id\":\"https://api-docs.getmeadow.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Meadow API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Meadow API","nav":{"global":null,"groups":[{"group":"Using the API","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Authentication","href":"/authentication"},{"title":"Responses","href":"/responses"},{"title":"Errors","href":"/errors"},{"title":"Permissions","href":"/permissions"},{"title":"Rate Limits","href":"/rate-limits"},{"title":"Changelog","href":"/changelog"}]},{"group":"Guides","pages":[{"title":"Inventory","href":"/guides/inventory"}]},{"group":"Endpoints: Analytics","pages":[{"title":"List orders","openapi":"GET /api/v1/orders","href":"/endpoints/analytics/list-orders"},{"title":"Retrieve an order","openapi":"GET /api/v1/orders/{orderId}/detail","href":"/endpoints/analytics/retrieve-order"},{"title":"List order returns","openapi":"GET /api/v1/order-returns","href":"/endpoints/analytics/list-order-returns"},{"title":"List instore queues","openapi":"GET /api/v1/instore-queues","href":"/endpoints/analytics/list-instore-queues"},{"title":"List inventory locations","openapi":"GET /api/v1/inventory-locations","href":"/endpoints/analytics/list-inventory-locations"},{"title":"Retrieve the organization","openapi":"GET /api/v1/organization","href":"/endpoints/analytics/retrieve-organization"},{"title":"List all products","openapi":"GET /api/v1/products/all","href":"/endpoints/analytics/list-all-products"},{"title":"List purchase orders","openapi":"GET /api/v1/purchase-orders","href":"/endpoints/analytics/list-purchase-orders"},{"title":"List compliance transfers","openapi":"GET /api/v1/compliance-transfers","href":"/endpoints/analytics/list-compliance-transfers"},{"title":"List packages","openapi":"GET /api/v1/packages","href":"/endpoints/analytics/list-packages"},{"title":"Retrieve a package","openapi":"GET /api/v1/packages/{label}","href":"/endpoints/analytics/retrieve-package"}]},{"group":"Endpoints: Create Orders","pages":[{"title":"Customer Matching","href":"/endpoints/orders/customer-matching"},{"title":"Retrieve order status","openapi":"GET /api/v1/orders/{orderId}","href":"/endpoints/orders/retrieve-status"},{"title":"Retrieve cart pricing","openapi":"POST /api/v1/orders/pricing","href":"/endpoints/orders/retrieve-pricing"},{"title":"Create an order","openapi":"POST /api/v1/orders","href":"/endpoints/orders/create-order"},{"title":"List payment types","openapi":"GET /api/v1/payment-types","href":"/endpoints/orders/list-payment-types"},{"title":"Upload customer document","openapi":"POST /api/v1/documents/{customerId}/{documentType}","href":"/endpoints/orders/upload-document"}]},{"group":"Endpoints: Customers","pages":[{"title":"List customers","openapi":"GET /api/v1/customers","href":"/endpoints/customers/list-customers"},{"title":"Retrieve a customer","openapi":"GET /api/v1/customers/{identifier}","href":"/endpoints/customers/retrieve-customer"},{"title":"List customer groups","openapi":"GET /api/v1/customer-groups","href":"/endpoints/customers/list-customer-groups"},{"title":"Add customer to group","openapi":"PUT /api/v1/customer-groups/{customerGroupId}/add-customer","href":"/endpoints/customers/add-customer-to-group"},{"title":"Remove customer from group","openapi":"PUT /api/v1/customer-groups/{customerGroupId}/remove-customer","href":"/endpoints/customers/remove-customer-from-group"},{"title":"Add loyalty points","openapi":"POST /api/v1/loyalty-events","href":"/endpoints/customers/add-loyalty-points"}]},{"group":"Endpoints: Menu","pages":[{"title":"List all menu products","openapi":"GET /api/v1/menu","href":"/endpoints/menu/list-menu"},{"title":"List tags","openapi":"GET /api/v1/products/tags","href":"/endpoints/menu/list-tags"}]},{"group":"Endpoints: Products \u0026 Inventory","pages":[{"title":"Create a product","openapi":"POST /api/v1/products","href":"/endpoints/products/create-product"},{"title":"Update a product","openapi":"PUT /api/v1/products/{productId}","description":null,"href":"/endpoints/products/update-product"},{"title":"Update product options","openapi":"PUT /api/v1/products/{productId}/options","href":"/endpoints/products/update-product-options"},{"title":"List categories","openapi":"GET /api/v1/product-categories","description":"Retrieve all of the product categories for the organization.","href":"/endpoints/products/list-categories"},{"title":"List sub-categories","openapi":"GET /api/v1/product-sub-categories","href":"/endpoints/products/list-sub-categories"},{"title":"Create purchase order","openapi":"POST /api/v1/purchase-orders","href":"/endpoints/products/create-purchase-order"},{"title":"Update purchase order","openapi":"PUT /api/v1/purchase-orders/{purchaseOrderId}","href":"/endpoints/products/update-purchase-order"},{"title":"Update UPCs","openapi":"PUT /api/v1/products/{productId}/options/upc","href":"/endpoints/products/update-upcs"}]}]},"basePath":"","title":"Update product options - Meadow API","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}