When displaying the pricing information to a customer, here is how Meadow displays:Subtotal: totalPricecredits[].description: credits[].amountUseddiscounts[].description: discounts[].amountUsedadjustments[].description: adjustments[].amounttaxes[].description: taxes[].amountTotal: customerGrandTotalScreenshot from our backend app:
The purchase limits that apply for this customer if they were to purchase these line items. The types of limits vary state-by-state in the US (i.e. California vs New York)
The type of the cannabis limit for this object. Only applies when type is either category or lineItem, otherwise undefined.
When present, it will be one of the following values:
non-concentrated - Flower or other non-concentrated THC products
concentrated - Concentrated THC products (Example: Edibles, Concentrates)
immature-plant - Cannabis plants
none - This product does not contain cannabis
mi-infused-solids - Cannabis infused solids (only in Michigan) (Example: edibles)
mi-infused-fluids - Cannabis infused fluids (only in Michigan) (Example: drinks)
edibles - Edible product (only used in New Jersey & Massachusetts)
The amount that the total is over the limit by. If this number is greater than 0, it means they are exceeding the purchase limit and POST /api/v1/orders will throw an error of PURCHASE_LIMIT_EXCEEDED
{"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/orders/retrieve-pricing","slug":"/endpoints/orders/retrieve-pricing","pageMetadata":{"title":"Retrieve cart pricing","openapi":"POST /api/v1/orders/pricing","description":"Retrieve pricing information for a cart (prices, discounts, taxes, etc.)","href":"/endpoints/orders/retrieve-pricing"},"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: \"Retrieve pricing information for a cart (prices, discounts, taxes, etc.)\"\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={code:`code`,p:`p`,..._provideComponents(),...props.components},{Frame,Heading,OptimizedImage}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`how-to-display-to-a-customer`,children:`How to display to a customer`}),`\n`,_jsx(_components.p,{children:`When displaying the pricing information to a customer, here is how Meadow displays:`}),`\n`,_jsxs(_components.p,{children:[`Subtotal:\\xA0`,_jsx(_components.code,{children:`totalPrice`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`credits[].description`}),`:\\xA0`,_jsx(_components.code,{children:`credits[].amountUsed`}),`\n`,_jsx(_components.code,{children:`discounts[].description`}),`:\\xA0`,_jsx(_components.code,{children:`discounts[].amountUsed`}),`\n`,_jsx(_components.code,{children:`adjustments[].description`}),`:\\xA0`,_jsx(_components.code,{children:`adjustments[].amount`}),`\n`,_jsx(_components.code,{children:`taxes[].description`}),`:\\xA0`,_jsx(_components.code,{children:`taxes[].amount`})]}),`\n`,_jsxs(_components.p,{children:[`Total:\\xA0`,_jsx(_components.code,{children:`customerGrandTotal`})]}),`\n`,_jsx(_components.p,{children:`Screenshot from our backend app:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/meadow/A0jpawTy4WMsQxOO/images/pricing-example.webp?fit=max\u0026auto=format\u0026n=A0jpawTy4WMsQxOO\u0026q=85\u0026s=7777cb8c6e7d8ff8e1928d4f09b07d39`,\"data-og-width\":`693`,width:`693`,\"data-og-height\":`391`,height:`391`,\"data-path\":`images/pricing-example.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/meadow/A0jpawTy4WMsQxOO/images/pricing-example.webp?w=280\u0026fit=max\u0026auto=format\u0026n=A0jpawTy4WMsQxOO\u0026q=85\u0026s=96cdc1e5822b1a5822bd2c6e84fb4905 280w, https://mintcdn.com/meadow/A0jpawTy4WMsQxOO/images/pricing-example.webp?w=560\u0026fit=max\u0026auto=format\u0026n=A0jpawTy4WMsQxOO\u0026q=85\u0026s=225ada6865ae0a3a6456716102d12b64 560w, https://mintcdn.com/meadow/A0jpawTy4WMsQxOO/images/pricing-example.webp?w=840\u0026fit=max\u0026auto=format\u0026n=A0jpawTy4WMsQxOO\u0026q=85\u0026s=7daa55aba7c435c1c2a767bf127af9fd 840w, https://mintcdn.com/meadow/A0jpawTy4WMsQxOO/images/pricing-example.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=A0jpawTy4WMsQxOO\u0026q=85\u0026s=425ee3facf29f348843c8c219087f9af 1100w, https://mintcdn.com/meadow/A0jpawTy4WMsQxOO/images/pricing-example.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=A0jpawTy4WMsQxOO\u0026q=85\u0026s=85ce345d1691dd093bd306fc0d35cbf3 1650w, https://mintcdn.com/meadow/A0jpawTy4WMsQxOO/images/pricing-example.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=A0jpawTy4WMsQxOO\u0026q=85\u0026s=ba1a367ecffab6c9075da045c4737935 2500w`})})]})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Retrieve cart pricing","openapi":"POST /api/v1/orders/pricing","description":"Retrieve pricing information for a cart (prices, discounts, taxes, etc.)","href":"/endpoints/orders/retrieve-pricing"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How to display to a customer","slug":"how-to-display-to-a-customer","depth":1,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Retrieve pricing information for a cart (prices, discounts, taxes, etc.)","requestBody":"79cb622d-bb79-4c62-b3a9-c45699e44ec1","responses":{"200":"1e499858-d7ca-499f-8bd7-73c5c70ebba9","4XX":"f217723b-0502-420e-96ca-14c80632fa96"},"method":"post","type":"path","servers":["51c520a1-a658-421f-927a-7fcae986ba8c","5091d89b-c8ff-49bd-ac28-f40b834142b1"],"security":["1c0263ad-f012-431c-98fb-cf88e02a4593"],"path":"/api/v1/orders/pricing","baseUrlOptions":["https://api-staging.getmeadow.com","https://api.getmeadow.com"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["type","lineItems"],"properties":{"type":{"type":"string","description":"The type of the order","enum":["delivery","pickup"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"lineItems":{"type":"array","description":"An array of products to buy","items":{"type":"object","required":["productOptionId","quantity"],"properties":{"productOptionId":{"type":"number","description":"The ID from the [menu api response](/endpoints/menu/list-menu) `data[].options[].id`","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].productOptionId","typeLabel":"number"},"quantity":{"type":"number","description":"The quantity of this product option to purchase","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].quantity","typeLabel":"number"}},"uniqueKey":"lineItems.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"lineItems","typeLabel":"object[]"},"customer":{"type":"object","description":"The customer for this order. This object is optional, but if provided, must have a `firstName`, `lastName` and either an `email` or `phone`.","required":["firstName","lastName"],"properties":{"firstName":{"type":"string","description":"The first name of the customer","isRequired":true,"uniqueKey":"customer.firstName","typeLabel":"string"},"lastName":{"type":"string","description":"The last name of the customer. Multiple last names may be separated by a space.","isRequired":true,"uniqueKey":"customer.lastName","typeLabel":"string"},"email":{"type":"string","description":"The email of the customer. At least one of email, phone must be provided.","uniqueKey":"customer.email","typeLabel":"string"},"phone":{"type":"string","description":"The phone of the customer. At least one of email, phone must be provided.","uniqueKey":"customer.phone","typeLabel":"string"},"birthday":{"type":"string","description":"The birthday submitted as `YYYY-MM-DD`","uniqueKey":"customer.birthday","typeLabel":"string"}},"uniqueKey":"customer","typeLabel":"object"},"postalCode":{"type":"string","description":"The postal code for this order. This will take into account an organization’s order minimums","uniqueKey":"postalCode","typeLabel":"string"},"deliveryFee":{"type":"number","description":"A fee that will be passed through and added onto the `customerGrandTotal`","uniqueKey":"deliveryFee","typeLabel":"number"},"deliveryFeeDescription":{"type":"string","description":"A passthrough title for the delivery fee","uniqueKey":"deliveryFeeDescription","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"lineItems":[{"productOptionId":1899,"quantity":3}],"type":"delivery","customer":{"firstName":"Perrin","lastName":"Aybara","email":"perrin@getmeadow.com","phone":"6285551234"}},"examples":{"Example":{"title":"Example","value":{"lineItems":[{"productOptionId":1899,"quantity":3}],"type":"delivery","customer":{"firstName":"Perrin","lastName":"Aybara","email":"perrin@getmeadow.com","phone":"6285551234"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"1e499858-d7ca-499f-8bd7-73c5c70ebba9":{"description":"Order cart pricing response","content":{"application/json":{"schema":{"type":"object","properties":{"lineItems":{"type":"array","description":"The line items of this cart","items":{"type":"object","properties":{"productOptionId":{"type":"number","description":"The product option ID for this line item","uniqueKey":"lineItems.items.[INDEX].productOptionId","typeLabel":"number"},"quantity":{"type":"number","description":"The quantity of this line item","uniqueKey":"lineItems.items.[INDEX].quantity","typeLabel":"number"},"unitPrice":{"type":"number","description":"The unit price for a single quantity of this line item","uniqueKey":"lineItems.items.[INDEX].unitPrice","typeLabel":"number"},"subtotalPrice":{"type":"number","description":"The total cost of all quantities of this line item before discounts","uniqueKey":"lineItems.items.[INDEX].subtotalPrice","typeLabel":"number"},"finalPrice":{"type":"number","description":"The final cost of this line item after discounts","uniqueKey":"lineItems.items.[INDEX].finalPrice","typeLabel":"number"},"discounts":{"type":"array","description":"An array of automatic discounts applied to this line item (may be empty)","items":{"type":"object","properties":{"amountUsed":{"type":"number","description":"The amount of the discount represented in cents.","uniqueKey":"lineItems.items.[INDEX].discounts.items.[INDEX].amountUsed","typeLabel":"number"},"description":{"type":"string","description":"The description of the discount, which may be shown to the customer","uniqueKey":"lineItems.items.[INDEX].discounts.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"lineItems.items.[INDEX].discounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.items.[INDEX].discounts","typeLabel":"object[]"}},"uniqueKey":"lineItems.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems","typeLabel":"object[]"},"totalPrice":{"type":"number","description":"The subtotal price before discounts, credits, adjustments are taken into account.","uniqueKey":"totalPrice","typeLabel":"number"},"netPrice":{"type":"number","description":"The final price of the order before payment \u0026 delivery fees.","uniqueKey":"netPrice","typeLabel":"number"},"customerGrandTotal":{"type":"number","description":"The cost of the order that the customer will pay","uniqueKey":"customerGrandTotal","typeLabel":"number"},"discounts":{"type":"array","description":"An array of order level discounts","items":{"type":"object","properties":{"amountUsed":{"type":"number","description":"The amount of the discount represented in cents","uniqueKey":"discounts.items.[INDEX].amountUsed","typeLabel":"number"},"description":{"type":"string","description":"The description of the discount, which may be shown to the customer","uniqueKey":"discounts.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"discounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"discounts","typeLabel":"object[]"},"credits":{"type":"array","description":"An array of credits applied. May be store credit or promo codes attached to the customers account.","items":{"type":"object","properties":{"amountUsed":{"type":"number","description":"The amount of the credit used represented in cents","uniqueKey":"credits.items.[INDEX].amountUsed","typeLabel":"number"},"description":{"type":"string","description":"The description of the credit, which may be shown to the customer","uniqueKey":"credits.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"credits.items.[INDEX]","typeLabel":"object"},"uniqueKey":"credits","typeLabel":"object[]"},"adjustments":{"type":"array","description":"An array of adjustments made to the order. May be a tax exemption or other future Meadow POS behavior.","items":{"type":"object","properties":{"amount":{"type":"number","description":"The amount of the adjustment represented in cents.","uniqueKey":"adjustments.items.[INDEX].amount","typeLabel":"number"},"description":{"type":"string","description":"The description of the adjustment, which may be shown to the customer","uniqueKey":"adjustments.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"adjustments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"adjustments","typeLabel":"object[]"},"taxes":{"type":"array","description":"All of the taxes that will be applied if an order is placed with this cart","items":{"type":"object","properties":{"amount":{"type":"number","description":"The amount of the tax represented in cents to show to the user","uniqueKey":"taxes.items.[INDEX].amount","typeLabel":"number"},"description":{"type":"string","description":"The description of the tax to show to the user","uniqueKey":"taxes.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"taxes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"taxes","typeLabel":"object[]"},"orderMinimum":{"type":"number","description":"The order minimum for this dispensary and postal code","uniqueKey":"orderMinimum","typeLabel":"number"},"metOrderMinimum":{"type":"boolean","description":"Whether this cart has met the order minimum or not","uniqueKey":"metOrderMinimum","typeLabel":"boolean"},"idempotencyKey":{"type":"string","description":"A string that should be used when creating an order to ensure idempotency and avoid double orders due to server miscommunication.","uniqueKey":"idempotencyKey","typeLabel":"string"},"purchaseLimits":{"type":"array","description":"The purchase limits that apply for this customer if they were to purchase these line items. The types of limits vary state-by-state in the US (i.e. California vs New York)","items":{"type":"object","properties":{"type":{"type":"string","description":"Whether this purchase limit applies to a product category, a specific line item, or the total of the order combined.","enum":["category","lineItem","total"],"uniqueKey":"purchaseLimits.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"cannabisType":{"oneOf":[{"type":"string","description":"The type of the cannabis limit for this object. Only applies when `type` is either `category` or `lineItem`, otherwise `undefined`.\n\nWhen present, it will be one of the following values:\n`non-concentrated` - Flower or other non-concentrated THC products\n`concentrated` - Concentrated THC products (Example: Edibles, Concentrates)\n`immature-plant` - Cannabis plants\n`none` - This product does not contain cannabis\n`mi-infused-solids` - Cannabis infused solids (only in Michigan) (Example: edibles)\n`mi-infused-fluids` - Cannabis infused fluids (only in Michigan) (Example: drinks)\n`edibles` - Edible product (only used in New Jersey \u0026 Massachusetts)","uniqueKey":"purchaseLimits.items.[INDEX].cannabisType.oneOf.0","typeLabel":"string"},{"type":"null","description":"The type of the cannabis limit for this object. Only applies when `type` is either `category` or `lineItem`, otherwise `undefined`.\n\nWhen present, it will be one of the following values:\n`non-concentrated` - Flower or other non-concentrated THC products\n`concentrated` - Concentrated THC products (Example: Edibles, Concentrates)\n`immature-plant` - Cannabis plants\n`none` - This product does not contain cannabis\n`mi-infused-solids` - Cannabis infused solids (only in Michigan) (Example: edibles)\n`mi-infused-fluids` - Cannabis infused fluids (only in Michigan) (Example: drinks)\n`edibles` - Edible product (only used in New Jersey \u0026 Massachusetts)","uniqueKey":"purchaseLimits.items.[INDEX].cannabisType.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseLimits.items.[INDEX].cannabisType","typeLabel":"string | null"},"unit":{"type":"string","description":"The unit that applies to the numeric values in this object. Example: `mg` for `concentrated` and `g` for `non-concentrated` (flower).","uniqueKey":"purchaseLimits.items.[INDEX].unit","typeLabel":"string"},"limit":{"type":"string","description":"The numeric limit that is purchaseable for this category.","uniqueKey":"purchaseLimits.items.[INDEX].limit","typeLabel":"string"},"total":{"type":"string","description":"The amount for this limit based on the `lineItems` of this request and any previous purchases by this customer if applicable.","uniqueKey":"purchaseLimits.items.[INDEX].total","typeLabel":"string"},"percent":{"type":"string","description":"How much of the purchase limit is currently being used based on the `total` and `limit` in a scale of 0 to 1.","uniqueKey":"purchaseLimits.items.[INDEX].percent","typeLabel":"string"},"overage":{"type":"string","description":"The amount that the `total` is over the `limit` by. If this number is greater than 0, it means they are exceeding the purchase limit and `POST /api/v1/orders` will throw an error of `PURCHASE_LIMIT_EXCEEDED`","uniqueKey":"purchaseLimits.items.[INDEX].overage","typeLabel":"string"}},"uniqueKey":"purchaseLimits.items.[INDEX]","typeLabel":"object"},"uniqueKey":"purchaseLimits","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":{"lineItems":[{"productOptionId":1899,"productCategoryId":1,"quantity":3,"unitPrice":6500,"subtotalPrice":19500,"finalPrice":19500,"discounts":[]},{"productOptionId":2307,"productCategoryId":1,"quantity":1,"unitPrice":3500,"subtotalPrice":3500,"finalPrice":3150,"discounts":[{"id":166,"type":"percent","amount":10,"amountUsed":350,"description":"10% Off Tuesday Heirloom's"}]}],"totalPrice":22650,"netPrice":21191,"customerGrandTotal":21191,"discounts":[{"id":165,"type":"flat","amount":500,"amountUsed":500,"description":"Tuesday $5"}],"credits":[{"id":359,"type":"store-credit","amountUsed":500,"description":"Store Credit"}],"adjustments":[{"amount":-2014,"description":"City Tax Exemption","isTaxExemption":true,"taxId":134}],"taxes":[{"id":59,"amount":0,"amountBeforeExemption":2061,"amountExempted":2061,"description":"State Sales Tax","rate":"9.5","normalRate":"9.5","included":false,"exemptable":true,"encompass":true,"excludedProductCategoryIds":[],"nonExemptableProductCategoryIds":[7],"type":"standard"},{"id":133,"amount":1555,"amountBeforeExemption":1555,"amountExempted":0,"description":"Excise Tax","rate":"15","normalRate":"15","included":false,"exemptable":false,"encompass":false,"excludedProductCategoryIds":[7],"nonExemptableProductCategoryIds":[],"type":"excise"},{"id":134,"amount":0,"amountBeforeExemption":2014,"amountExempted":2014,"description":"City Tax (Included)","rate":"10","normalRate":"10","included":true,"exemptable":true,"encompass":false,"excludedProductCategoryIds":[],"nonExemptableProductCategoryIds":[],"type":"standard"}],"orderMinimum":5000,"metOrderMinimum":true,"discountsTotal":850,"discountsOverBudtenderLimit":false,"discountsOverManagerLimit":false,"idempotencyKey":"ddf6cc42-d9b2-4b8c-97cf-47d454445453","purchaseLimits":[{"type":"category","cannabisType":"non-concentrated","unit":"g","limit":"28.5","total":"15","percent":"0.53","overage":"-13.5"},{"type":"category","cannabisType":"concentrated","unit":"mg","limit":"8000","total":"0","percent":"0","overage":"-8000"},{"type":"category","cannabisType":"immature-plant","unit":"","limit":"6","total":"0","percent":"0","overage":"-6"}]}},"examples":{"Example":{"title":"Example","value":{"data":{"lineItems":[{"productOptionId":1899,"productCategoryId":1,"quantity":3,"unitPrice":6500,"subtotalPrice":19500,"finalPrice":19500,"discounts":[]},{"productOptionId":2307,"productCategoryId":1,"quantity":1,"unitPrice":3500,"subtotalPrice":3500,"finalPrice":3150,"discounts":[{"id":166,"type":"percent","amount":10,"amountUsed":350,"description":"10% Off Tuesday Heirloom's"}]}],"totalPrice":22650,"netPrice":21191,"customerGrandTotal":21191,"discounts":[{"id":165,"type":"flat","amount":500,"amountUsed":500,"description":"Tuesday $5"}],"credits":[{"id":359,"type":"store-credit","amountUsed":500,"description":"Store Credit"}],"adjustments":[{"amount":-2014,"description":"City Tax Exemption","isTaxExemption":true,"taxId":134}],"taxes":[{"id":59,"amount":0,"amountBeforeExemption":2061,"amountExempted":2061,"description":"State Sales Tax","rate":"9.5","normalRate":"9.5","included":false,"exemptable":true,"encompass":true,"excludedProductCategoryIds":[],"nonExemptableProductCategoryIds":[7],"type":"standard"},{"id":133,"amount":1555,"amountBeforeExemption":1555,"amountExempted":0,"description":"Excise Tax","rate":"15","normalRate":"15","included":false,"exemptable":false,"encompass":false,"excludedProductCategoryIds":[7],"nonExemptableProductCategoryIds":[],"type":"excise"},{"id":134,"amount":0,"amountBeforeExemption":2014,"amountExempted":2014,"description":"City Tax (Included)","rate":"10","normalRate":"10","included":true,"exemptable":true,"encompass":false,"excludedProductCategoryIds":[],"nonExemptableProductCategoryIds":[],"type":"standard"}],"orderMinimum":5000,"metOrderMinimum":true,"discountsTotal":850,"discountsOverBudtenderLimit":false,"discountsOverManagerLimit":false,"idempotencyKey":"ddf6cc42-d9b2-4b8c-97cf-47d454445453","purchaseLimits":[{"type":"category","cannabisType":"non-concentrated","unit":"g","limit":"28.5","total":"15","percent":"0.53","overage":"-13.5"},{"type":"category","cannabisType":"concentrated","unit":"mg","limit":"8000","total":"0","percent":"0","overage":"-8000"},{"type":"category","cannabisType":"immature-plant","unit":"","limit":"6","total":"0","percent":"0","overage":"-6"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"f217723b-0502-420e-96ca-14c80632fa96":{"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":"Retrieve cart pricing - Meadow API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-12-16T01:48:38.989Z","originalFileLocation":"endpoints/orders/retrieve-pricing.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=\"Retrieve pricing information for a cart (prices, discounts, taxes, etc.)\">\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=\"Retrieve cart pricing - Meadow API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve pricing information for a cart (prices, discounts, taxes, etc.)\">\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/orders/retrieve-pricing\">\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+Create+Orders\u0026amp;title=Retrieve+cart+pricing\u0026amp;description=Retrieve+pricing+information+for+a+cart+%28prices%2C+discounts%2C+taxes%2C+etc.%29\u0026amp;theme=3516b74799b31165bc48cba6\u0026amp;signature=84200d1f09c112503950e3e0c20a503240928caa284ec325df8a0d16c2987bb7\">\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=\"Retrieve cart pricing - Meadow API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve pricing information for a cart (prices, discounts, taxes, etc.)\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://meadow.mintlify.app/_mintlify/api/og/v2?division=Endpoints%3A+Create+Orders\u0026amp;title=Retrieve+cart+pricing\u0026amp;description=Retrieve+pricing+information+for+a+cart+%28prices%2C+discounts%2C+taxes%2C+etc.%29\u0026amp;theme=3516b74799b31165bc48cba6\u0026amp;signature=84200d1f09c112503950e3e0c20a503240928caa284ec325df8a0d16c2987bb7\">\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/orders/retrieve-pricing\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/endpoints/orders/retrieve-pricing.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/orders/retrieve-pricing#webpage\",\"url\":\"https://api-docs.getmeadow.com/endpoints/orders/retrieve-pricing\",\"name\":\"Retrieve cart pricing\",\"description\":\"Retrieve pricing information for a cart (prices, discounts, taxes, etc.)\",\"dateModified\":\"2025-12-16T01:48:38.989Z\",\"isPartOf\":{\"@id\":\"https://api-docs.getmeadow.com#website\"},\"breadcrumb\":{\"@id\":\"https://api-docs.getmeadow.com/endpoints/orders/retrieve-pricing#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api-docs.getmeadow.com/endpoints/orders/retrieve-pricing#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints: Create Orders\",\"item\":\"https://api-docs.getmeadow.com/endpoints/orders/customer-matching\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Retrieve cart pricing\",\"item\":\"https://api-docs.getmeadow.com/endpoints/orders/retrieve-pricing\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api-docs.getmeadow.com/endpoints/orders/retrieve-pricing#apireference\",\"headline\":\"Retrieve cart pricing\",\"name\":\"Retrieve cart pricing\",\"description\":\"Retrieve pricing information for a cart (prices, discounts, taxes, etc.)\",\"url\":\"https://api-docs.getmeadow.com/endpoints/orders/retrieve-pricing\",\"mainEntityOfPage\":{\"@id\":\"https://api-docs.getmeadow.com/endpoints/orders/retrieve-pricing#webpage\"},\"dateModified\":\"2025-12-16T01:48:38.989Z\",\"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}","description":"Retrieves the status of the order for that ID","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","description":"Create an order for a customer","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}","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","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":"Retrieve cart pricing - Meadow API","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","07c022d89b","a74be98ba7","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","Frame-DXXFP6nH.js","zoom-image-lightbox-BG6oD64b.js","lightbox-handle-r17bVUz3.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"]}