{
"error": {
"message": "A description of the error code",
"code": "CODE_OF_ERROR_WILL_BE_HERE"
}
}
Endpoints: Analytics
List purchase orders
Retrieve all purchase orders for an organization in reverse chronological order. 50 purchase orders will be returned at a time and may be paginated using the startingAfter query parameter.
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 of cannabis content this option has based on the cannabisType field from the product category.
{"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/analytics/list-purchase-orders","slug":"/endpoints/analytics/list-purchase-orders","pageMetadata":{"title":"List purchase orders","openapi":"GET /api/v1/purchase-orders","description":"Retrieve all purchase orders for an organization in reverse chronological order. 50 purchase orders will be returned at a time and may be paginated using the `startingAfter` query parameter.","href":"/endpoints/analytics/list-purchase-orders"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Retrieve all purchase orders for an organization in reverse chronological order. 50 purchase orders will be returned at a time and may be paginated using the \", _jsx(_components.code, {\n children: \"startingAfter\"\n }), \" query parameter.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"List purchase orders","openapi":"GET /api/v1/purchase-orders","description":"Retrieve all purchase orders for an organization in reverse chronological order. 50 purchase orders will be returned at a time and may be paginated using the `startingAfter` query parameter.","href":"/endpoints/analytics/list-purchase-orders"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Retrieve all purchase orders for an organization in reverse chronological order. 50 purchase orders will be returned at a time and may be paginated using the `startingAfter` query parameter.","parameters":["c5b7244c-5bfd-4b32-99c6-7bfb66d5d581"],"responses":{"200":"bb3db011-0c80-4d45-b247-51395001fadb","4XX":"a47dcce0-bc49-4454-9511-83dc54c260da"},"method":"get","type":"path","servers":["51c520a1-a658-421f-927a-7fcae986ba8c","5091d89b-c8ff-49bd-ac28-f40b834142b1"],"security":["1c0263ad-f012-431c-98fb-cf88e02a4593"],"path":"/api/v1/purchase-orders","baseUrlOptions":["https://api-staging.getmeadow.com","https://api.getmeadow.com"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c5b7244c-5bfd-4b32-99c6-7bfb66d5d581":{"name":"startingAfter","in":"query","description":"The `id` for a purchase order that you want to retrieve all purchase orders after this one. Pass in the last `id` in a response to retrieve the next page.","required":false,"schema":{"type":"integer","format":"int64","isRequired":false,"description":"The `id` for a purchase order that you want to retrieve all purchase orders after this one. Pass in the last `id` in a response to retrieve the next page.","uniqueKey":"","typeLabel":"integer\u003cint64>"}}},"responses":{"bb3db011-0c80-4d45-b247-51395001fadb":{"description":"List purchase orders response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"number","description":"The ID of the purchase order","uniqueKey":"id","typeLabel":"number"},"status":{"type":"string","description":"Either `open` or `closed`","uniqueKey":"status","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","description":"User entered notes for this purchase order","uniqueKey":"notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"User entered notes for this purchase order","uniqueKey":"notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"notes","typeLabel":"string | null"},"expectedAt":{"type":"string","description":"A date for when this purchase order is expected in `YYYY-MM-DD`","uniqueKey":"expectedAt","typeLabel":"string"},"paymentStatus":{"type":"string","description":"Either `paid`, `unpaid`, or `partial`","uniqueKey":"paymentStatus","typeLabel":"string"},"paymentTerms":{"type":"string","description":"One of `net15`, `net30`, `net60`, `cod` or `custom`","uniqueKey":"paymentTerms","typeLabel":"string"},"paymentTermsDueDate":{"type":"string","description":"The payment terms due date","uniqueKey":"paymentTermsDueDate","typeLabel":"string"},"totalAmount":{"type":"string","description":"The total amount (quantity) of product on this purchase order","uniqueKey":"totalAmount","typeLabel":"string"},"totalAmountReceived":{"type":"string","description":"The total amount (quantity) of product received on this purchase order","uniqueKey":"totalAmountReceived","typeLabel":"string"},"subtotal":{"type":"number","description":"The subtotal of the purchase order in cents","uniqueKey":"subtotal","typeLabel":"number"},"finalTotal":{"type":"number","description":"The final total of the purchase order in cents","uniqueKey":"finalTotal","typeLabel":"number"},"caExciseTotal":{"type":"number","description":"The number for pre-2023 California excise of this purchase order in cents","uniqueKey":"caExciseTotal","typeLabel":"number"},"shippingHandlingFee":{"type":"number","description":"The shipping fee in cents","uniqueKey":"shippingHandlingFee","typeLabel":"number"},"shippingHandlingFeeExcise":{"type":"number","description":"The number for pre-2023 California excise of the shipping and handling fee","uniqueKey":"shippingHandlingFeeExcise","typeLabel":"number"},"amountPaid":{"type":"number","description":"The amount paid for this purchase order in cents","uniqueKey":"amountPaid","typeLabel":"number"},"amountOustanding":{"type":"number","description":"The amount still left to be paid in cents","uniqueKey":"amountOustanding","typeLabel":"number"},"externalInvoiceNumber":{"oneOf":[{"type":"string","description":"The external invoice number","uniqueKey":"externalInvoiceNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The external invoice number","uniqueKey":"externalInvoiceNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"externalInvoiceNumber","typeLabel":"string | null"},"createdAt":{"type":"string","description":"When this purchase order was created","uniqueKey":"createdAt","typeLabel":"string"},"vendor":{"oneOf":[{"type":"object","description":"Information about the loyalty of the customer (Can be `null`)","properties":{"id":{"type":"number","description":"The id for this vendor","uniqueKey":"vendor.oneOf.0.id","typeLabel":"number"},"name":{"type":"string","description":"The name of this vendor","uniqueKey":"vendor.oneOf.0.name","typeLabel":"string"},"phone":{"type":"string","description":"The phone for this vendor","uniqueKey":"vendor.oneOf.0.phone","typeLabel":"string"},"notes":{"type":"string","description":"User entered notes about this vendor","uniqueKey":"vendor.oneOf.0.notes","typeLabel":"string"},"email":{"type":"string","description":"The email of this vendor","uniqueKey":"vendor.oneOf.0.email","typeLabel":"string"},"sellerPermitNumber":{"type":"string","description":"The license number for this vendor","uniqueKey":"vendor.oneOf.0.sellerPermitNumber","typeLabel":"string"},"street1":{"type":"string","description":"","uniqueKey":"vendor.oneOf.0.street1","typeLabel":"string"},"street2":{"type":"string","description":"","uniqueKey":"vendor.oneOf.0.street2","typeLabel":"string"},"city":{"type":"string","description":"","uniqueKey":"vendor.oneOf.0.city","typeLabel":"string"},"state":{"type":"string","description":"","uniqueKey":"vendor.oneOf.0.state","typeLabel":"string"},"postalCode":{"type":"string","description":"","uniqueKey":"vendor.oneOf.0.postalCode","typeLabel":"string"},"createdAt":{"type":"string","description":"When this vendor was created","uniqueKey":"vendor.oneOf.0.createdAt","typeLabel":"string"}},"uniqueKey":"vendor.oneOf.0","typeLabel":"object"},{"type":"null","description":"Information about the loyalty of the customer (Can be `null`)","properties":{"id":{"type":"number","description":"The id for this vendor"},"name":{"type":"string","description":"The name of this vendor"},"phone":{"type":"string","description":"The phone for this vendor"},"notes":{"type":"string","description":"User entered notes about this vendor"},"email":{"type":"string","description":"The email of this vendor"},"sellerPermitNumber":{"type":"string","description":"The license number for this vendor"},"street1":{"type":"string","description":""},"street2":{"type":"string","description":""},"city":{"type":"string","description":""},"state":{"type":"string","description":""},"postalCode":{"type":"string","description":""},"createdAt":{"type":"string","description":"When this vendor was created"}},"uniqueKey":"vendor.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor","typeLabel":"object | null"},"lineItems":{"type":"array","description":"All of the line items for this purchase order","items":{"type":"object","properties":{"id":{"type":"number","description":"The id of this line item","uniqueKey":"lineItems.items.[INDEX].id","typeLabel":"number"},"amount":{"type":"string","description":"The amount (quantity) for the product in this line item","uniqueKey":"lineItems.items.[INDEX].amount","typeLabel":"string"},"costPerUnit":{"type":"string","description":"The cost for each amount of this line item in dollars","uniqueKey":"lineItems.items.[INDEX].costPerUnit","typeLabel":"string"},"subtotal":{"type":"number","description":"The subtotal for this line item in cents","uniqueKey":"lineItems.items.[INDEX].subtotal","typeLabel":"number"},"finalTotal":{"type":"number","description":"The final total for this line item in cents","uniqueKey":"lineItems.items.[INDEX].finalTotal","typeLabel":"number"},"amountReceived":{"type":"string","description":"The amount that has been received thus far","uniqueKey":"lineItems.items.[INDEX].amountReceived","typeLabel":"string"},"caExcisePerUnit":{"type":"string","description":"The amount of pre-2023 California excise tax per unit in dollars","uniqueKey":"lineItems.items.[INDEX].caExcisePerUnit","typeLabel":"string"},"caExciseTotal":{"type":"number","description":"The total amount of pre-2023 California excise tax for this line item in cents","uniqueKey":"lineItems.items.[INDEX].caExciseTotal","typeLabel":"number"},"receptions":{"type":"array","description":"All of the receptions for this purchase order line item","items":{"type":"object","properties":{"inventoryLocationId":{"type":"number","description":"The id of the inventory location where this inventory was received","uniqueKey":"lineItems.items.[INDEX].receptions.items.[INDEX].inventoryLocationId","typeLabel":"number"},"amount":{"type":"string","description":"The amount (quantity) of the reception","uniqueKey":"lineItems.items.[INDEX].receptions.items.[INDEX].amount","typeLabel":"string"},"createdAt":{"type":"string","description":"When this reception was created","uniqueKey":"lineItems.items.[INDEX].receptions.items.[INDEX].createdAt","typeLabel":"string"}},"uniqueKey":"lineItems.items.[INDEX].receptions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems.items.[INDEX].receptions","typeLabel":"object[]"},"product":{"type":"object","description":"The product that this line item is for","properties":{"id":{"type":"number","description":"The ID of the product","uniqueKey":"lineItems.items.[INDEX].product.id","typeLabel":"number"},"name":{"type":"string","description":"The name of the product","uniqueKey":"lineItems.items.[INDEX].product.name","typeLabel":"string"},"unit":{"type":"string","description":"Either `gram` or `item`","uniqueKey":"lineItems.items.[INDEX].product.unit","typeLabel":"string"},"strainType":{"type":"string","description":"The strain type of the product","uniqueKey":"lineItems.items.[INDEX].product.strainType","typeLabel":"string"},"primaryCategory":{"type":"object","description":"The category for this product","properties":{"id":{"type":"number","description":"ID of the category","uniqueKey":"lineItems.items.[INDEX].product.primaryCategory.id","typeLabel":"number"},"name":{"type":"string","description":"The name of the category","uniqueKey":"lineItems.items.[INDEX].product.primaryCategory.name","typeLabel":"string"},"cannabisType":{"type":"string","description":"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":"lineItems.items.[INDEX].product.primaryCategory.cannabisType","typeLabel":"string"}},"uniqueKey":"lineItems.items.[INDEX].product.primaryCategory","typeLabel":"object"}},"uniqueKey":"lineItems.items.[INDEX].product","typeLabel":"object"},"productOption":{"oneOf":[{"type":"object","description":"The product option for the line item if the product's `inventoryType` is set to `option`, otherwise `null`","properties":{"id":{"type":"number","description":"The ID of the product option","uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.id","typeLabel":"number"},"name":{"oneOf":[{"type":"string","description":"The name of this option","uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of this option","uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.name","typeLabel":"string | null"},"amount":{"type":"number","description":"The amount of the underlying unit of this product","uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.amount","typeLabel":"number"},"price":{"type":"number","description":"The price in cents of this option","uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.price","typeLabel":"number"},"salesPrice":{"oneOf":[{"type":"number","description":"The sales price if one exists","uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.salesPrice.oneOf.0","typeLabel":"number"},{"type":"null","description":"The sales price if one exists","uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.salesPrice.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.salesPrice","typeLabel":"number | null"},"upc":{"oneOf":[{"type":"string","description":"The UPC code for this option","uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.upc.oneOf.0","typeLabel":"string"},{"type":"null","description":"The UPC code for this option","uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.upc.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.upc","typeLabel":"string | null"},"content":{"type":"string","description":"The amount of cannabis content this option has based on the `cannabisType` field from the product category.","uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0.content","typeLabel":"string"}},"uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.0","typeLabel":"object"},{"type":"null","description":"The product option for the line item if the product's `inventoryType` is set to `option`, otherwise `null`","properties":{"id":{"type":"number","description":"The ID of the product option"},"name":{"oneOf":[{"type":"string","description":"The name of this option"},{"type":"null","description":"The name of this option"}]},"amount":{"type":"number","description":"The amount of the underlying unit of this product"},"price":{"type":"number","description":"The price in cents of this option"},"salesPrice":{"oneOf":[{"type":"number","description":"The sales price if one exists"},{"type":"null","description":"The sales price if one exists"}]},"upc":{"oneOf":[{"type":"string","description":"The UPC code for this option"},{"type":"null","description":"The UPC code for this option"}]},"content":{"type":"string","description":"The amount of cannabis content this option has based on the `cannabisType` field from the product category."}},"uniqueKey":"lineItems.items.[INDEX].productOption.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].productOption","typeLabel":"object | null"}},"uniqueKey":"lineItems.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":[{"id":642,"status":"open","notes":"test notes","expectedAt":"2024-01-25","paymentStatus":"unpaid","paymentTerms":"custom","paymentTermsDueDate":"2024-02-02","totalAmount":"45","totalAmountReceived":"50","subtotal":37700,"finalTotal":38000,"caExciseTotal":0,"shippingHandlingFee":300,"shippingHandlingFeeExcise":0,"amountPaid":0,"amountOutstanding":38000,"externalInvoiceNumber":"123456","createdAt":"2024-01-24T00:29:39.641Z","vendor":{"id":3,"name":"Emerald Green 420 Distributors","phone":"","notes":"On time distributor","email":"","sellerPermitNumber":"420247123","street1":"420 Main Street","street2":null,"city":"San Francisco","state":"CA","postalCode":"94103","createdAt":"2017-02-20T11:29:03.882-08:00"},"lineItems":[{"id":1037,"amount":"7","costPerUnit":"5.00","subtotal":3500,"amountReceived":"50","finalTotal":3500,"caExcisePerUnit":"0","caExciseTotal":0,"createdAt":"2024-01-24T00:29:39.656Z","receptions":[{"inventoryLocationId":88,"amount":"50","createdAt":"2024-01-24T00:30:47.181Z"}],"product":{"id":675,"name":"#Lunchbreak","unit":"gram","strainType":"sativa","createdAt":"2019-07-17T17:14:58.523Z","primaryCategory":{"id":8,"name":"Flowers","cannabisType":"non-concentrated","createdAt":"2016-04-02T08:03:27.028Z"}},"productOption":{"id":10777,"name":"Eighth","amount":3.5,"price":1530,"salesPrice":null,"createdAt":"2026-05-05T22:19:39.358Z","upc":null,"content":"3.5"}},{"id":1038,"amount":"38","costPerUnit":"9.00","subtotal":34200,"amountReceived":"0","finalTotal":34200,"caExcisePerUnit":"0","caExciseTotal":0,"createdAt":"2024-01-24T00:29:39.656Z","receptions":[],"product":{"id":9759,"name":"41 Unicornz","unit":"item","strainType":"sativa","createdAt":"2023-10-02T18:33:52.134Z","primaryCategory":{"id":253,"name":"Vapes","cannabisType":"concentrated","createdAt":"2023-04-14T21:25:36.473Z"}},"productOption":{"id":10778,"name":"","amount":3.5,"price":1530,"salesPrice":null,"createdAt":"2026-05-05T22:19:39.358Z","upc":null,"content":"3.5"}}]},{"id":641,"status":"open","notes":null,"expectedAt":null,"paymentStatus":"unpaid","paymentTerms":null,"paymentTermsDueDate":null,"totalAmount":"1","totalAmountReceived":"0","subtotal":100,"finalTotal":100,"caExciseTotal":0,"shippingHandlingFee":0,"shippingHandlingFeeExcise":0,"amountPaid":0,"amountOutstanding":100,"externalInvoiceNumber":null,"createdAt":"2024-01-10T22:38:48.857Z","vendor":null,"lineItems":[{"id":1036,"amount":"1","costPerUnit":"1.00","subtotal":100,"amountReceived":"0","finalTotal":100,"caExcisePerUnit":"0","caExciseTotal":0,"createdAt":"2024-01-10T22:38:48.864Z","receptions":[],"product":{"id":10039,"name":"Blue Dream","unit":"gram","strainType":"sativa","createdAt":"2024-01-10T22:38:00.373Z","primaryCategory":{"id":8,"name":"Flowers","cannabisType":"non-concentrated","createdAt":"2016-04-02T08:03:27.028Z"}},"productOption":{"id":10779,"name":"","amount":3.5,"price":1530,"salesPrice":null,"createdAt":"2026-05-05T22:19:39.358Z","upc":null,"content":"3.5"}}]}]},"examples":{"Example":{"title":"Example","value":{"data":[{"id":642,"status":"open","notes":"test notes","expectedAt":"2024-01-25","paymentStatus":"unpaid","paymentTerms":"custom","paymentTermsDueDate":"2024-02-02","totalAmount":"45","totalAmountReceived":"50","subtotal":37700,"finalTotal":38000,"caExciseTotal":0,"shippingHandlingFee":300,"shippingHandlingFeeExcise":0,"amountPaid":0,"amountOutstanding":38000,"externalInvoiceNumber":"123456","createdAt":"2024-01-24T00:29:39.641Z","vendor":{"id":3,"name":"Emerald Green 420 Distributors","phone":"","notes":"On time distributor","email":"","sellerPermitNumber":"420247123","street1":"420 Main Street","street2":null,"city":"San Francisco","state":"CA","postalCode":"94103","createdAt":"2017-02-20T11:29:03.882-08:00"},"lineItems":[{"id":1037,"amount":"7","costPerUnit":"5.00","subtotal":3500,"amountReceived":"50","finalTotal":3500,"caExcisePerUnit":"0","caExciseTotal":0,"createdAt":"2024-01-24T00:29:39.656Z","receptions":[{"inventoryLocationId":88,"amount":"50","createdAt":"2024-01-24T00:30:47.181Z"}],"product":{"id":675,"name":"#Lunchbreak","unit":"gram","strainType":"sativa","createdAt":"2019-07-17T17:14:58.523Z","primaryCategory":{"id":8,"name":"Flowers","cannabisType":"non-concentrated","createdAt":"2016-04-02T08:03:27.028Z"}},"productOption":{"id":10777,"name":"Eighth","amount":3.5,"price":1530,"salesPrice":null,"createdAt":"2026-05-05T22:19:39.358Z","upc":null,"content":"3.5"}},{"id":1038,"amount":"38","costPerUnit":"9.00","subtotal":34200,"amountReceived":"0","finalTotal":34200,"caExcisePerUnit":"0","caExciseTotal":0,"createdAt":"2024-01-24T00:29:39.656Z","receptions":[],"product":{"id":9759,"name":"41 Unicornz","unit":"item","strainType":"sativa","createdAt":"2023-10-02T18:33:52.134Z","primaryCategory":{"id":253,"name":"Vapes","cannabisType":"concentrated","createdAt":"2023-04-14T21:25:36.473Z"}},"productOption":{"id":10778,"name":"","amount":3.5,"price":1530,"salesPrice":null,"createdAt":"2026-05-05T22:19:39.358Z","upc":null,"content":"3.5"}}]},{"id":641,"status":"open","notes":null,"expectedAt":null,"paymentStatus":"unpaid","paymentTerms":null,"paymentTermsDueDate":null,"totalAmount":"1","totalAmountReceived":"0","subtotal":100,"finalTotal":100,"caExciseTotal":0,"shippingHandlingFee":0,"shippingHandlingFeeExcise":0,"amountPaid":0,"amountOutstanding":100,"externalInvoiceNumber":null,"createdAt":"2024-01-10T22:38:48.857Z","vendor":null,"lineItems":[{"id":1036,"amount":"1","costPerUnit":"1.00","subtotal":100,"amountReceived":"0","finalTotal":100,"caExcisePerUnit":"0","caExciseTotal":0,"createdAt":"2024-01-10T22:38:48.864Z","receptions":[],"product":{"id":10039,"name":"Blue Dream","unit":"gram","strainType":"sativa","createdAt":"2024-01-10T22:38:00.373Z","primaryCategory":{"id":8,"name":"Flowers","cannabisType":"non-concentrated","createdAt":"2016-04-02T08:03:27.028Z"}},"productOption":{"id":10779,"name":"","amount":3.5,"price":1530,"salesPrice":null,"createdAt":"2026-05-05T22:19:39.358Z","upc":null,"content":"3.5"}}]}]}}},"exampleType":"examples"}},"exampleType":"examples"},"a47dcce0-bc49-4454-9511-83dc54c260da":{"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":"List purchase orders - Meadow API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-09-16T21:13:09.404Z","originalFileLocation":"endpoints/analytics/list-purchase-orders.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 all purchase orders for an organization in reverse chronological order. 50 purchase orders will be returned at a time and may be paginated using the startingAfter query parameter.\">\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=\"List purchase orders - Meadow API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve all purchase orders for an organization in reverse chronological order. 50 purchase orders will be returned at a time and may be paginated using the startingAfter query parameter.\">\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/analytics/list-purchase-orders\">\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+Analytics\u0026amp;title=List+purchase+orders\u0026amp;description=Retrieve+all+purchase+orders+for+an+organization+in+reverse+chronological+order.+50+purchase+orders+will+be+returned+at+a+time+and+may+be+paginated+using+the+%60s\u0026amp;theme=3516b74799b31165bc48cba6\u0026amp;signature=75e237541a918e17dea3f862f78e4372a980fc963c2759b203bfed8a38a626f1\">\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=\"List purchase orders - Meadow API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve all purchase orders for an organization in reverse chronological order. 50 purchase orders will be returned at a time and may be paginated using the startingAfter query parameter.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://meadow.mintlify.app/_mintlify/api/og/v2?division=Endpoints%3A+Analytics\u0026amp;title=List+purchase+orders\u0026amp;description=Retrieve+all+purchase+orders+for+an+organization+in+reverse+chronological+order.+50+purchase+orders+will+be+returned+at+a+time+and+may+be+paginated+using+the+%60s\u0026amp;theme=3516b74799b31165bc48cba6\u0026amp;signature=75e237541a918e17dea3f862f78e4372a980fc963c2759b203bfed8a38a626f1\">\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/analytics/list-purchase-orders\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/endpoints/analytics/list-purchase-orders.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/analytics/list-purchase-orders#webpage\",\"url\":\"https://api-docs.getmeadow.com/endpoints/analytics/list-purchase-orders\",\"name\":\"List purchase orders\",\"description\":\"Retrieve all purchase orders for an organization in reverse chronological order. 50 purchase orders will be returned at a time and may be paginated using the startingAfter query parameter.\",\"dateModified\":\"2025-09-16T21:13:09.404Z\",\"isPartOf\":{\"@id\":\"https://api-docs.getmeadow.com#website\"},\"breadcrumb\":{\"@id\":\"https://api-docs.getmeadow.com/endpoints/analytics/list-purchase-orders#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api-docs.getmeadow.com/endpoints/analytics/list-purchase-orders#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints: Analytics\",\"item\":\"https://api-docs.getmeadow.com/endpoints/analytics/list-orders\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List purchase orders\",\"item\":\"https://api-docs.getmeadow.com/endpoints/analytics/list-purchase-orders\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api-docs.getmeadow.com/endpoints/analytics/list-purchase-orders#apireference\",\"headline\":\"List purchase orders\",\"name\":\"List purchase orders\",\"description\":\"Retrieve all purchase orders for an organization in reverse chronological order. 50 purchase orders will be returned at a time and may be paginated using the startingAfter query parameter.\",\"url\":\"https://api-docs.getmeadow.com/endpoints/analytics/list-purchase-orders\",\"mainEntityOfPage\":{\"@id\":\"https://api-docs.getmeadow.com/endpoints/analytics/list-purchase-orders#webpage\"},\"dateModified\":\"2025-09-16T21:13:09.404Z\",\"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","description":"Retrieve all product information for both active and inactive products","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","description":"Retrieve all incoming transfers from a compliance system (metrc) for an organization in reverse chronological order. 50 transfers will be returned at a time and may be paginated using the `startingAfter` query parameter.","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}","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":"List purchase orders - 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"]}