This object represents an individual transaction within a subscription.
The Order object is created each time a subscription is billed or fulfilled, capturing the complete details of that transaction. Orders contain information about the products or services being delivered, pricing, discounts applied, shipping details, and payment status.
Search query fields
Field
Description
Type
id
The subscription identifier (accepts up to 20 subscription IDs)
string
Reference
id
string
required
Minimum string length: 1
createdAt
string<date-time>
required
placedAt
null | string<date-time>
required
currencyCode
string
required
Required string length: 3
type
enum<string>
required
recurring is a scheduled renewal order, checkout the order that created the subscription, and instant a one-off purchase the customer made outside the schedule (an instant order) — it carries no billing cycle.
Available options:
checkout,
recurring,
instant
paymentStatus
enum<string>
required
deprecated
DEPRECATED: use financialStatus instead. For a postpaid invoice, this carries the invoice's own payment lifecycle (unpaid / overdue / paid), whether or not it already has a Shopify order. For any other tracked order, it's derived from the order's billing attempt (chargeback / refund / paid). Genuine one-time orders we never tracked default to "paid", since this proxy implementation cannot reliably derive a refund/chargeback signal for those. Migrate consumers to financialStatus.
Available options:
paid,
refund,
chargeback,
unpaid,
overdue
financialStatus
null | string
required
paidAt
null | string<date-time>
required
When the order was paid in full, or null if it never was. paidAt != null is therefore safe to read as "this order is paid": an order that is only partially paid, authorized but uncaptured, pending or abandoned reports null, never a partial date. A refunded or partially refunded order keeps its date, because it was paid in full and the money went back afterwards — financialStatus is what tells you that happened.
Shopify's Order exposes no such field, so this is derived: the earliest successful SALE/CAPTURE transaction on the Shopify order, falling back to the order's billing attempt (processedAt, else completedAt) when Shopify records no successful capture — the case for an invoice collected off-Shopify by Stripe/Mollie, and the only source at all for an invoice with no Shopify order yet.
fulfillmentStatus
null | string
required
subtotal
null | number
required
Required range: x >= 0
shipping
null | number
required
Required range: x >= 0
totalPrice
null | number
required
Required range: x >= 0
taxesAmount
null | number
required
Required range: x >= 0
taxesIncluded
null | boolean
required
items
OrderItem · object[]
required
Minimum array length: 1
Show child attributes
discounts
OrderDiscount · object[]
required
Show child attributes
deliveryMethod
OrderDeliveryMethod · object
required
OrderDeliveryMethod
OrderDeliveryMethod
OrderDeliveryMethod
Show child attributes
paymentMethod
null | OrderPaymentMethod · object
required
deprecated
DEPRECATED: the proxy implementation backing GET /customer/v1/orders cannot reliably derive the customer's stored payment method per order, so this field is always null.
Show child attributes
note
null | string
required
customAttributes
object[]
required
Show child attributes
subscriptionIds
string[]
required
Ids of the Juo subscriptions this order belongs to — the same id space as GET /customer/v1/subscriptions, so these join directly against a subscription resource. Empty for a one-time order. Resolved from the order's own subscription links where we track the order, and otherwise by mapping each line item's Shopify subscription contract back to Subscription.externalId; a contract with no subscription of ours behind it is omitted rather than reported under its Shopify id.
Minimum string length: 1
payment
null | object
required
Where this order's payment stands from the customer's side, and what they can do about it — null when nothing is outstanding (a settled order, or one whose payment isn't tracked locally at all). Populated for an open postpaid invoice and for a delayed-settlement commitment order (ADR 0003) while its balance is outstanding. Single source of truth shared with POST /customer/v1/orders/:orderId/pay's precondition, so the two can't disagree about what is currently payable.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Developer documentation","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/juo/cWBbLfFsu7G7x1mQ/logo/light.svg?fit=max\u0026auto=format\u0026n=cWBbLfFsu7G7x1mQ\u0026q=85\u0026s=f13f7b33b950522934898d18eb965a2e","dark":"https://mintcdn.com/juo/cWBbLfFsu7G7x1mQ/logo/dark.svg?fit=max\u0026auto=format\u0026n=cWBbLfFsu7G7x1mQ\u0026q=85\u0026s=cafe884c4acd726c219658d0c7cc8fd0"},"favicon":"https://mintcdn.com/juo/cWBbLfFsu7G7x1mQ/favicon.svg?fit=max\u0026auto=format\u0026n=cWBbLfFsu7G7x1mQ\u0026q=85\u0026s=a89152a6353d4e977e31bdbd37ec640d","background":{"decoration":"gradient"},"icons":{"library":"lucide"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"slack","href":"https://juo.community"},{"anchor":"Changelog","icon":"newspaper","href":"https://juo.com/changelog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"juo","hasAudioNarration":false,"actualSubdomain":"juo","customDomains":["juo.dev"],"gitSource":{"type":"github","owner":"juo","repo":"subscriptions-dev-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af5b9d53a147584b5c988d8","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API Reference","count":112},{"language":"default","tag":"Admin API","count":77},{"language":"default","tag":"Core Resources","count":77},{"language":"default","tag":"Docs","count":44},{"language":"default","tag":"Customer API","count":35},{"language":"default","tag":"Webhooks","count":28},{"language":"default","tag":"Topics","count":26},{"language":"default","tag":"Blocks","count":21},{"language":"default","tag":"Subscriptions","count":17},{"language":"default","tag":"Platform","count":14}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"docs/api-reference/customer/orders/resource","slug":"/docs/api-reference/customer/orders/resource","pageMetadata":{"title":"Order resource","description":"This object represents an individual transaction within a subscription.","openapi-schema":"openapi-customer.json Order","href":"/docs/api-reference/customer/orders/resource"},"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: \"This object represents an individual transaction within a subscription.\"\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`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Order`}),` object is created each time a subscription is billed or fulfilled, capturing the complete details of that transaction. Orders contain information about the products or services being delivered, pricing, discounts applied, shipping details, and payment status.`]}),`\n`,_jsx(Heading,{level:`3`,id:`search-query-fields`,children:`Search query fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Type`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`id`}),_jsx(_components.td,{children:`The subscription identifier (accepts up to 20 subscription IDs)`}),_jsx(_components.td,{children:`string`})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`reference`,children:`Reference`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Order resource","description":"This object represents an individual transaction within a subscription.","openapi-schema":"openapi-customer.json Order","href":"/docs/api-reference/customer/orders/resource"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Search query fields","slug":"search-query-fields","depth":3,"children":[]},{"title":"Reference","slug":"reference","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"schemaData":{"type":"object","properties":{"id":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"placedAt":{"oneOf":[{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"placedAt.oneOf.0","typeLabel":"null"},{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"placedAt.oneOf.1","typeLabel":"string\u003cdate-time>"}],"isRequired":true,"uniqueKey":"placedAt","typeLabel":"null | string\u003cdate-time>"},"currencyCode":{"minLength":3,"maxLength":3,"type":"string","isRequired":true,"uniqueKey":"currencyCode","typeLabel":"string"},"type":{"description":"`recurring` is a scheduled renewal order, `checkout` the order that created the subscription, and `instant` a one-off purchase the customer made outside the schedule (an instant order) — it carries no billing cycle.","type":"string","enum":["checkout","recurring","instant"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"paymentStatus":{"deprecated":true,"description":"DEPRECATED: use `financialStatus` instead. For a postpaid invoice, this carries the invoice's own payment lifecycle (`unpaid` / `overdue` / `paid`), whether or not it already has a Shopify order. For any other tracked order, it's derived from the order's billing attempt (`chargeback` / `refund` / `paid`). Genuine one-time orders we never tracked default to `\"paid\"`, since this proxy implementation cannot reliably derive a refund/chargeback signal for those. Migrate consumers to `financialStatus`.","type":"string","enum":["paid","refund","chargeback","unpaid","overdue"],"isRequired":true,"uniqueKey":"paymentStatus","typeLabel":"enum\u003cstring>"},"financialStatus":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"financialStatus.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"financialStatus.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"financialStatus","typeLabel":"null | string"},"paidAt":{"oneOf":[{"type":"null","description":"When the order was paid in full, or `null` if it never was. `paidAt != null` is therefore safe to read as \"this order is paid\": an order that is only partially paid, authorized but uncaptured, pending or abandoned reports `null`, never a partial date. A refunded or partially refunded order keeps its date, because it was paid in full and the money went back afterwards — `financialStatus` is what tells you that happened.\n\nShopify's `Order` exposes no such field, so this is derived: the earliest successful `SALE`/`CAPTURE` transaction on the Shopify order, falling back to the order's billing attempt (`processedAt`, else `completedAt`) when Shopify records no successful capture — the case for an invoice collected off-Shopify by Stripe/Mollie, and the only source at all for an invoice with no Shopify order yet.","format":"date-time","isRequired":true,"uniqueKey":"paidAt.oneOf.0","typeLabel":"null"},{"type":"string","description":"When the order was paid in full, or `null` if it never was. `paidAt != null` is therefore safe to read as \"this order is paid\": an order that is only partially paid, authorized but uncaptured, pending or abandoned reports `null`, never a partial date. A refunded or partially refunded order keeps its date, because it was paid in full and the money went back afterwards — `financialStatus` is what tells you that happened.\n\nShopify's `Order` exposes no such field, so this is derived: the earliest successful `SALE`/`CAPTURE` transaction on the Shopify order, falling back to the order's billing attempt (`processedAt`, else `completedAt`) when Shopify records no successful capture — the case for an invoice collected off-Shopify by Stripe/Mollie, and the only source at all for an invoice with no Shopify order yet.","format":"date-time","isRequired":true,"uniqueKey":"paidAt.oneOf.1","typeLabel":"string\u003cdate-time>"}],"isRequired":true,"uniqueKey":"paidAt","typeLabel":"null | string\u003cdate-time>"},"fulfillmentStatus":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"fulfillmentStatus.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"fulfillmentStatus.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"fulfillmentStatus","typeLabel":"null | string"},"subtotal":{"oneOf":[{"type":"null","minimum":0,"isRequired":true,"uniqueKey":"subtotal.oneOf.0","typeLabel":"null"},{"type":"number","minimum":0,"isRequired":true,"uniqueKey":"subtotal.oneOf.1","typeLabel":"number"}],"isRequired":true,"uniqueKey":"subtotal","typeLabel":"null | number"},"shipping":{"oneOf":[{"type":"null","minimum":0,"isRequired":true,"uniqueKey":"shipping.oneOf.0","typeLabel":"null"},{"type":"number","minimum":0,"isRequired":true,"uniqueKey":"shipping.oneOf.1","typeLabel":"number"}],"isRequired":true,"uniqueKey":"shipping","typeLabel":"null | number"},"totalPrice":{"oneOf":[{"type":"null","minimum":0,"isRequired":true,"uniqueKey":"totalPrice.oneOf.0","typeLabel":"null"},{"type":"number","minimum":0,"isRequired":true,"uniqueKey":"totalPrice.oneOf.1","typeLabel":"number"}],"isRequired":true,"uniqueKey":"totalPrice","typeLabel":"null | number"},"taxesAmount":{"oneOf":[{"type":"null","minimum":0,"isRequired":true,"uniqueKey":"taxesAmount.oneOf.0","typeLabel":"null"},{"type":"number","minimum":0,"isRequired":true,"uniqueKey":"taxesAmount.oneOf.1","typeLabel":"number"}],"isRequired":true,"uniqueKey":"taxesAmount","typeLabel":"null | number"},"taxesIncluded":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"taxesIncluded.oneOf.0","typeLabel":"null"},{"type":"boolean","isRequired":true,"uniqueKey":"taxesIncluded.oneOf.1","typeLabel":"boolean"}],"isRequired":true,"uniqueKey":"taxesIncluded","typeLabel":"null | boolean"},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].id","typeLabel":"string"},"title":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].title","typeLabel":"string"},"subtitle":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"\\items.items.[INDEX].subtitle.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].subtitle.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].subtitle","typeLabel":"null | string"},"quantity":{"minimum":1,"type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].quantity","typeLabel":"integer"},"unitPrice":{"minimum":0,"type":"number","isRequired":true,"uniqueKey":"\\items.items.[INDEX].unitPrice","typeLabel":"number"},"totalPrice":{"minimum":0,"type":"number","isRequired":true,"uniqueKey":"\\items.items.[INDEX].totalPrice","typeLabel":"number"},"productId":{"oneOf":[{"type":"null","minLength":1,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].productId.oneOf.0","typeLabel":"null"},{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].productId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].productId","typeLabel":"null | string"},"variantId":{"oneOf":[{"type":"null","minLength":1,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].variantId.oneOf.0","typeLabel":"null"},{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].variantId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].variantId","typeLabel":"null | string"},"sku":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"\\items.items.[INDEX].sku.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].sku.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].sku","typeLabel":"null | string"},"variantImage":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"\\items.items.[INDEX].variantImage.oneOf.0","typeLabel":"null"},{"type":"object","required":["url","altText"],"properties":{"url":{"oneOf":[{"type":"null","format":"uri","isRequired":true,"uniqueKey":"\\items.items.[INDEX].variantImage.oneOf.1.url.oneOf.0","typeLabel":"null"},{"type":"string","format":"uri","isRequired":true,"uniqueKey":"\\items.items.[INDEX].variantImage.oneOf.1.url.oneOf.1","typeLabel":"string\u003curi>"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].variantImage.oneOf.1.url","typeLabel":"null | string\u003curi>"},"altText":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"\\items.items.[INDEX].variantImage.oneOf.1.altText.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].variantImage.oneOf.1.altText.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].variantImage.oneOf.1.altText","typeLabel":"null | string"}},"isRequired":true,"uniqueKey":"\\items.items.[INDEX].variantImage.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].variantImage","typeLabel":"null | object"},"subscriptionLineId":{"oneOf":[{"type":"null","minLength":1,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].subscriptionLineId.oneOf.0","typeLabel":"null"},{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].subscriptionLineId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].subscriptionLineId","typeLabel":"null | string"},"requiresShipping":{"type":"boolean","isRequired":true,"uniqueKey":"\\items.items.[INDEX].requiresShipping","typeLabel":"boolean"},"taxable":{"type":"boolean","isRequired":true,"uniqueKey":"\\items.items.[INDEX].taxable","typeLabel":"boolean"},"customAttributes":{"type":"array","items":{"type":"object","properties":{"key":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].customAttributes.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].customAttributes.items.[INDEX].value","typeLabel":"string"}},"required":["key","value"],"uniqueKey":"\\items.items.[INDEX].customAttributes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"\\items.items.[INDEX].customAttributes","typeLabel":"object[]"},"sellingPlanId":{"oneOf":[{"type":"null","minLength":1,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].sellingPlanId.oneOf.0","typeLabel":"null"},{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].sellingPlanId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].sellingPlanId","typeLabel":"null | string"},"sellingPlanName":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"\\items.items.[INDEX].sellingPlanName.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].sellingPlanName.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].sellingPlanName","typeLabel":"null | string"}},"required":["id","title","subtitle","quantity","unitPrice","totalPrice","productId","variantId","sku","variantImage","subscriptionLineId","requiresShipping","taxable","customAttributes","sellingPlanId","sellingPlanName"],"title":"OrderItem","uniqueKey":"\\items.items.[INDEX]","typeLabel":"OrderItem · object"},"isRequired":true,"uniqueKey":"\\items","typeLabel":"OrderItem · object[]"},"discounts":{"type":"array","items":{"type":"object","properties":{"id":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"discounts.items.[INDEX].id","typeLabel":"string"},"title":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"discounts.items.[INDEX].title.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"discounts.items.[INDEX].title.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"discounts.items.[INDEX].title","typeLabel":"null | string"},"type":{"type":"string","enum":["Code","Manual"],"isRequired":true,"uniqueKey":"discounts.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"target":{"type":"string","enum":["Line","Shipping"],"isRequired":true,"uniqueKey":"discounts.items.[INDEX].target","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"object","required":["type","percentage"],"properties":{"type":{"type":"string","enum":["Percentage"],"isRequired":true,"uniqueKey":"discounts.items.[INDEX].value.oneOf.0.type","typeLabel":"enum\u003cstring>"},"percentage":{"minimum":0,"maximum":100,"type":"number","isRequired":true,"uniqueKey":"discounts.items.[INDEX].value.oneOf.0.percentage","typeLabel":"number"}},"isRequired":true,"uniqueKey":"discounts.items.[INDEX].value.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","amount","appliesOnEachItem"],"properties":{"type":{"type":"string","enum":["FixedAmount"],"isRequired":true,"uniqueKey":"discounts.items.[INDEX].value.oneOf.1.type","typeLabel":"enum\u003cstring>"},"amount":{"minimum":0,"type":"number","isRequired":true,"uniqueKey":"discounts.items.[INDEX].value.oneOf.1.amount","typeLabel":"number"},"appliesOnEachItem":{"type":"boolean","isRequired":true,"uniqueKey":"discounts.items.[INDEX].value.oneOf.1.appliesOnEachItem","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"discounts.items.[INDEX].value.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"discounts.items.[INDEX].value","typeLabel":"object"},"entitledItems":{"oneOf":[{"type":"object","required":["all"],"properties":{"all":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"discounts.items.[INDEX].entitledItems.oneOf.0.all","typeLabel":"enum\u003cboolean>"}},"isRequired":true,"uniqueKey":"discounts.items.[INDEX].entitledItems.oneOf.0","typeLabel":"object"},{"type":"object","required":["all","items"],"properties":{"all":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"discounts.items.[INDEX].entitledItems.oneOf.1.all","typeLabel":"enum\u003cboolean>"},"items":{"type":"array","items":{"minLength":1,"type":"string","uniqueKey":"discounts.items.[INDEX].entitledItems.oneOf.1.\\items.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"discounts.items.[INDEX].entitledItems.oneOf.1.\\items","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"discounts.items.[INDEX].entitledItems.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"discounts.items.[INDEX].entitledItems","typeLabel":"object"},"subscriptionDiscountId":{"oneOf":[{"type":"null","minLength":1,"isRequired":true,"uniqueKey":"discounts.items.[INDEX].subscriptionDiscountId.oneOf.0","typeLabel":"null"},{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"discounts.items.[INDEX].subscriptionDiscountId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"discounts.items.[INDEX].subscriptionDiscountId","typeLabel":"null | string"}},"required":["id","title","type","target","value","entitledItems","subscriptionDiscountId"],"title":"OrderDiscount","uniqueKey":"discounts.items.[INDEX]","typeLabel":"OrderDiscount · object"},"isRequired":true,"uniqueKey":"discounts","typeLabel":"OrderDiscount · object[]"},"deliveryMethod":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"deliveryMethod.oneOf.0","typeLabel":"null"},{"type":"object","title":"OrderDeliveryMethod","required":["type","address"],"properties":{"type":{"type":"string","enum":["Shipping"],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.type","typeLabel":"enum\u003cstring>"},"address":{"type":"object","properties":{"firstName":{"oneOf":[{"type":"null","description":"Customer's first name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.firstName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Customer's first name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.firstName.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.firstName","typeLabel":"null | string"},"lastName":{"oneOf":[{"type":"null","description":"Customer's last name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.lastName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Customer's last name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.lastName.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.lastName","typeLabel":"null | string"},"address1":{"oneOf":[{"type":"null","description":"Primary street address.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.address1.oneOf.0","typeLabel":"null"},{"type":"string","description":"Primary street address.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.address1.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.address1","typeLabel":"null | string"},"address2":{"oneOf":[{"type":"null","description":"Additional address information (apartment, suite, etc.)","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.address2.oneOf.0","typeLabel":"null"},{"type":"string","description":"Additional address information (apartment, suite, etc.)","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.address2.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.address2","typeLabel":"null | string"},"zip":{"oneOf":[{"type":"null","description":"Postal/ZIP code.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.zip.oneOf.0","typeLabel":"null"},{"type":"string","description":"Postal/ZIP code.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.zip.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.zip","typeLabel":"null | string"},"city":{"oneOf":[{"type":"null","description":"City name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.city.oneOf.0","typeLabel":"null"},{"type":"string","description":"City name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.city.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.city","typeLabel":"null | string"},"country":{"oneOf":[{"type":"null","description":"Full country name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.country.oneOf.0","typeLabel":"null"},{"type":"string","description":"Full country name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.country.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.country","typeLabel":"null | string"},"countryCode":{"oneOf":[{"type":"null","description":"Two-letter country code (ISO 3166-1).","maxLength":2,"minLength":2,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.countryCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Two-letter country code (ISO 3166-1).","maxLength":2,"minLength":2,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.countryCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.countryCode","typeLabel":"null | string"},"provinceCode":{"oneOf":[{"type":"null","description":"Province/state code.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.provinceCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Province/state code.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.provinceCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.provinceCode","typeLabel":"null | string"},"province":{"oneOf":[{"type":"null","description":"Full province/state name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.province.oneOf.0","typeLabel":"null"},{"type":"string","description":"Full province/state name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.province.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.province","typeLabel":"null | string"},"phone":{"oneOf":[{"type":"null","description":"Contact phone number.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.phone.oneOf.0","typeLabel":"null"},{"type":"string","description":"Contact phone number.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.phone.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.phone","typeLabel":"null | string"},"company":{"oneOf":[{"type":"null","description":"Company name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.company.oneOf.0","typeLabel":"null"},{"type":"string","description":"Company name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.company.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address.company","typeLabel":"null | string"}},"required":["firstName","lastName","address1","address2","zip","city","country","countryCode","provinceCode","province","phone","company"],"title":"Address","isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1.address","typeLabel":"Address · object"}},"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.1","typeLabel":"OrderDeliveryMethod · object"},{"type":"object","title":"OrderDeliveryMethod","required":["type","address","phone","instructions"],"properties":{"type":{"type":"string","enum":["LocalDelivery"],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.type","typeLabel":"enum\u003cstring>"},"address":{"type":"object","properties":{"firstName":{"oneOf":[{"type":"null","description":"Customer's first name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.firstName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Customer's first name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.firstName.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.firstName","typeLabel":"null | string"},"lastName":{"oneOf":[{"type":"null","description":"Customer's last name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.lastName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Customer's last name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.lastName.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.lastName","typeLabel":"null | string"},"address1":{"oneOf":[{"type":"null","description":"Primary street address.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.address1.oneOf.0","typeLabel":"null"},{"type":"string","description":"Primary street address.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.address1.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.address1","typeLabel":"null | string"},"address2":{"oneOf":[{"type":"null","description":"Additional address information (apartment, suite, etc.)","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.address2.oneOf.0","typeLabel":"null"},{"type":"string","description":"Additional address information (apartment, suite, etc.)","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.address2.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.address2","typeLabel":"null | string"},"zip":{"oneOf":[{"type":"null","description":"Postal/ZIP code.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.zip.oneOf.0","typeLabel":"null"},{"type":"string","description":"Postal/ZIP code.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.zip.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.zip","typeLabel":"null | string"},"city":{"oneOf":[{"type":"null","description":"City name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.city.oneOf.0","typeLabel":"null"},{"type":"string","description":"City name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.city.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.city","typeLabel":"null | string"},"country":{"oneOf":[{"type":"null","description":"Full country name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.country.oneOf.0","typeLabel":"null"},{"type":"string","description":"Full country name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.country.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.country","typeLabel":"null | string"},"countryCode":{"oneOf":[{"type":"null","description":"Two-letter country code (ISO 3166-1).","maxLength":2,"minLength":2,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.countryCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Two-letter country code (ISO 3166-1).","maxLength":2,"minLength":2,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.countryCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.countryCode","typeLabel":"null | string"},"provinceCode":{"oneOf":[{"type":"null","description":"Province/state code.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.provinceCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Province/state code.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.provinceCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.provinceCode","typeLabel":"null | string"},"province":{"oneOf":[{"type":"null","description":"Full province/state name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.province.oneOf.0","typeLabel":"null"},{"type":"string","description":"Full province/state name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.province.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.province","typeLabel":"null | string"},"phone":{"oneOf":[{"type":"null","description":"Contact phone number.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.phone.oneOf.0","typeLabel":"null"},{"type":"string","description":"Contact phone number.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.phone.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.phone","typeLabel":"null | string"},"company":{"oneOf":[{"type":"null","description":"Company name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.company.oneOf.0","typeLabel":"null"},{"type":"string","description":"Company name.","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.company.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address.company","typeLabel":"null | string"}},"required":["firstName","lastName","address1","address2","zip","city","country","countryCode","provinceCode","province","phone","company"],"title":"Address","isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.address","typeLabel":"Address · object"},"phone":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.phone","typeLabel":"string"},"instructions":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.instructions.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.instructions.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2.instructions","typeLabel":"null | string"}},"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.2","typeLabel":"OrderDeliveryMethod · object"},{"type":"object","title":"OrderDeliveryMethod","required":["type","locationId"],"properties":{"type":{"type":"string","enum":["Pickup"],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.3.type","typeLabel":"enum\u003cstring>"},"locationId":{"oneOf":[{"type":"null","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.3.locationId.oneOf.0","typeLabel":"null"},{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.3.locationId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.3.locationId","typeLabel":"null | string"}},"isRequired":true,"uniqueKey":"deliveryMethod.oneOf.3","typeLabel":"OrderDeliveryMethod · object"}],"isRequired":true,"uniqueKey":"deliveryMethod","typeLabel":"null · OrderDeliveryMethod · object · OrderDeliveryMethod · object · OrderDeliveryMethod · object"},"paymentMethod":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"paymentMethod.oneOf.0","typeLabel":"null"},{"type":"object","title":"OrderPaymentMethod","description":"DEPRECATED: the proxy implementation backing GET /customer/v1/orders cannot reliably derive the customer's stored payment method per order, so this field is always `null`.","required":["id","type","details"],"deprecated":true,"properties":{"id":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.id","typeLabel":"string"},"type":{"type":"string","enum":["CreditCard","PaypalBillingAgreement","CustomerShopPayAgreement","SepaDirectDebit","BLIK","MBWay","Bacs"],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.type","typeLabel":"enum\u003cstring>"},"details":{"oneOf":[{"type":"object","required":["brand","lastDigits","maskedNumber","expiryMonth","expiryYear","name"],"properties":{"brand":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.0.brand","typeLabel":"string"},"lastDigits":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.0.lastDigits","typeLabel":"string"},"maskedNumber":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.0.maskedNumber","typeLabel":"string"},"expiryMonth":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.0.expiryMonth.oneOf.0","typeLabel":"null"},{"type":"integer","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.0.expiryMonth.oneOf.1","typeLabel":"integer"}],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.0.expiryMonth","typeLabel":"null | integer"},"expiryYear":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.0.expiryYear.oneOf.0","typeLabel":"null"},{"type":"integer","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.0.expiryYear.oneOf.1","typeLabel":"integer"}],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.0.expiryYear","typeLabel":"null | integer"},"name":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.0.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.0","typeLabel":"object"},{"type":"object","required":["email","inactive","isRevocable"],"properties":{"email":{"oneOf":[{"type":"null","format":"email","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.1.email.oneOf.0","typeLabel":"null"},{"type":"string","format":"email","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.1.email.oneOf.1","typeLabel":"string\u003cemail>"}],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.1.email","typeLabel":"null | string\u003cemail>"},"inactive":{"type":"boolean","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.1.inactive","typeLabel":"boolean"},"isRevocable":{"type":"boolean","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.1.isRevocable","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.1","typeLabel":"object"},{"type":"object","required":["lastDigits","maskedNumber","expiryMonth","expiryYear","name"],"properties":{"lastDigits":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.2.lastDigits","typeLabel":"string"},"maskedNumber":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.2.maskedNumber","typeLabel":"string"},"expiryMonth":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.2.expiryMonth.oneOf.0","typeLabel":"null"},{"type":"integer","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.2.expiryMonth.oneOf.1","typeLabel":"integer"}],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.2.expiryMonth","typeLabel":"null | integer"},"expiryYear":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.2.expiryYear.oneOf.0","typeLabel":"null"},{"type":"integer","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.2.expiryYear.oneOf.1","typeLabel":"integer"}],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.2.expiryYear","typeLabel":"null | integer"},"name":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.2.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.2","typeLabel":"object"},{"type":"object","required":["consumerName","consumerAccount","consumerBic","mandateReference","signedAt"],"properties":{"consumerName":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.3.consumerName","typeLabel":"string"},"consumerAccount":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.3.consumerAccount","typeLabel":"string"},"consumerBic":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.3.consumerBic.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.3.consumerBic.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.3.consumerBic","typeLabel":"null | string"},"mandateReference":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.3.mandateReference","typeLabel":"string"},"signedAt":{"oneOf":[{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.3.signedAt.oneOf.0","typeLabel":"null"},{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.3.signedAt.oneOf.1","typeLabel":"string\u003cdate-time>"}],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.3.signedAt","typeLabel":"null | string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.3","typeLabel":"object"},{"type":"object","required":["alias"],"properties":{"alias":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.4.alias.oneOf.0","typeLabel":"null"},{"type":"object","required":["label","status","type","email"],"properties":{"label":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.4.alias.oneOf.1.label","typeLabel":"string"},"status":{"type":"string","enum":["inactive","registered","expired","declined"],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.4.alias.oneOf.1.status","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["UID","PAYID"],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.4.alias.oneOf.1.type","typeLabel":"enum\u003cstring>"},"email":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.4.alias.oneOf.1.email","typeLabel":"string"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.4.alias.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.4.alias","typeLabel":"null | object"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.4","typeLabel":"object"},{"type":"object","required":["phone"],"properties":{"phone":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.5.phone.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.5.phone.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.5.phone","typeLabel":"null | string"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.5","typeLabel":"object"},{"type":"object","required":["lastDigits","maskedNumber"],"properties":{"lastDigits":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.6.lastDigits","typeLabel":"string"},"maskedNumber":{"type":"string","isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.6.maskedNumber","typeLabel":"string"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details.oneOf.6","typeLabel":"object"}],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1","typeLabel":"OrderPaymentMethod · object"}],"isRequired":true,"uniqueKey":"paymentMethod","typeLabel":"null | OrderPaymentMethod · object"},"note":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"note.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"note.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"note","typeLabel":"null | string"},"customAttributes":{"type":"array","items":{"type":"object","properties":{"key":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"customAttributes.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"customAttributes.items.[INDEX].value","typeLabel":"string"}},"required":["key","value"],"uniqueKey":"customAttributes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"customAttributes","typeLabel":"object[]"},"subscriptionIds":{"description":"Ids of the Juo subscriptions this order belongs to — the same id space as `GET /customer/v1/subscriptions`, so these join directly against a subscription resource. Empty for a one-time order. Resolved from the order's own subscription links where we track the order, and otherwise by mapping each line item's Shopify subscription contract back to `Subscription.externalId`; a contract with no subscription of ours behind it is omitted rather than reported under its Shopify id.","type":"array","items":{"minLength":1,"type":"string","uniqueKey":"subscriptionIds.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"subscriptionIds","typeLabel":"string[]"},"payment":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"payment.oneOf.0","typeLabel":"null"},{"type":"object","description":"Where this order's payment stands from the customer's side, and what they can do about it — `null` when nothing is outstanding (a settled order, or one whose payment isn't tracked locally at all). Populated for an open postpaid invoice and for a delayed-settlement commitment order (ADR 0003) while its balance is outstanding. Single source of truth shared with `POST /customer/v1/orders/:orderId/pay`'s precondition, so the two can't disagree about what is currently payable.","required":["state","nextAttemptAt","actions"],"properties":{"state":{"description":"`charging` — Juo has a payment attempt in flight right now. `retry_scheduled` — Juo is between auto-charge attempts; `nextAttemptAt` is the next one. `awaiting_customer` — a payable surface exists (Shopify Checkout or the Juo pay page) and the customer can pay right now. `awaiting_payment_method` — no payment method is on file at all. `overdue` — collection is exhausted and nothing will retry; the balance is on the order's Shopify order and there is nothing the customer can pay here.","type":"string","enum":["charging","retry_scheduled","awaiting_customer","awaiting_payment_method","overdue"],"isRequired":true,"uniqueKey":"payment.oneOf.1.state","typeLabel":"enum\u003cstring>"},"nextAttemptAt":{"oneOf":[{"type":"null","description":"When Juo's next auto-charge attempt is due. Only set for `retry_scheduled`; `null` otherwise.","format":"date-time","isRequired":true,"uniqueKey":"payment.oneOf.1.nextAttemptAt.oneOf.0","typeLabel":"null"},{"type":"string","description":"When Juo's next auto-charge attempt is due. Only set for `retry_scheduled`; `null` otherwise.","format":"date-time","isRequired":true,"uniqueKey":"payment.oneOf.1.nextAttemptAt.oneOf.1","typeLabel":"string\u003cdate-time>"}],"isRequired":true,"uniqueKey":"payment.oneOf.1.nextAttemptAt","typeLabel":"null | string\u003cdate-time>"},"actions":{"description":"Self-service actions available for this order right now. Empty while Juo owns the outcome (`charging`) or once nothing is left to act on (`overdue`), and always empty for an instant order (a one-off purchase, not a cycle invoice) even if it carries an outstanding balance.","type":"array","items":{"type":"string","enum":["pay","update-payment-method","add-payment-method"],"uniqueKey":"payment.oneOf.1.actions.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"payment.oneOf.1.actions","typeLabel":"enum\u003cstring>[]"}},"isRequired":true,"uniqueKey":"payment.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"payment","typeLabel":"null | object"}},"required":["id","createdAt","placedAt","currencyCode","type","paymentStatus","financialStatus","paidAt","fulfillmentStatus","subtotal","shipping","totalPrice","taxesAmount","taxesIncluded","items","discounts","deliveryMethod","paymentMethod","note","customAttributes","subscriptionIds","payment"],"title":"Order","uniqueKey":"","typeLabel":"Order · object","example":{"title":"Example","value":{"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","placedAt":"2023-11-07T05:31:56Z","currencyCode":"\u003cstring>","financialStatus":"\u003cstring>","paidAt":"2023-11-07T05:31:56Z","fulfillmentStatus":"\u003cstring>","subtotal":1,"shipping":1,"totalPrice":1,"taxesAmount":1,"taxesIncluded":true,"items":[{"id":"\u003cstring>","title":"\u003cstring>","subtitle":"\u003cstring>","quantity":2,"unitPrice":1,"totalPrice":1,"productId":"\u003cstring>","variantId":"\u003cstring>","sku":"\u003cstring>","variantImage":{"url":"\u003cstring>","altText":"\u003cstring>"},"subscriptionLineId":"\u003cstring>","requiresShipping":true,"taxable":true,"customAttributes":[{"key":"\u003cstring>","value":"\u003cstring>"}],"sellingPlanId":"\u003cstring>","sellingPlanName":"\u003cstring>"}],"discounts":[{"id":"\u003cstring>","title":"\u003cstring>","value":{"type":"Percentage","percentage":50},"entitledItems":{"all":true},"subscriptionDiscountId":"\u003cstring>"}],"deliveryMethod":{"type":"Shipping","address":{"firstName":"\u003cstring>","lastName":"\u003cstring>","address1":"\u003cstring>","address2":"\u003cstring>","zip":"\u003cstring>","city":"\u003cstring>","country":"\u003cstring>","countryCode":"\u003cstring>","provinceCode":"\u003cstring>","province":"\u003cstring>","phone":"\u003cstring>","company":"\u003cstring>"}},"paymentMethod":{"id":"\u003cstring>","details":{"brand":"\u003cstring>","lastDigits":"\u003cstring>","maskedNumber":"\u003cstring>","expiryMonth":123,"expiryYear":123,"name":"\u003cstring>"}},"note":"\u003cstring>","customAttributes":[{"key":"\u003cstring>","value":"\u003cstring>"}],"subscriptionIds":["\u003cstring>"],"payment":{"nextAttemptAt":"2023-11-07T05:31:56Z","actions":[]}}}},"originalFileLocation":"openapi-customer.json"},"subdomain":"juo","siteName":"Developer documentation","title":"Order resource - Developer documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T13:06:39.773Z","originalFileLocation":"docs/api-reference/customer/orders/resource.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=\"This object represents an individual transaction within a subscription.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Developer documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/juo/HRxdlVE07BysfB5B/_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/juo/HRxdlVE07BysfB5B/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/juo/HRxdlVE07BysfB5B/_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/juo/HRxdlVE07BysfB5B/_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/juo/HRxdlVE07BysfB5B/_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/juo/HRxdlVE07BysfB5B/_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/juo/HRxdlVE07BysfB5B/_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/juo/HRxdlVE07BysfB5B/_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/juo/HRxdlVE07BysfB5B/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Order resource - Developer documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"This object represents an individual transaction within a subscription.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Developer documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://juo.dev/docs/api-reference/customer/orders/resource\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://juo.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Order+resource\u0026amp;description=This+object+represents+an+individual+transaction+within+a+subscription.\u0026amp;theme=414294311ffbf65bc209ab6e\u0026amp;signature=9fc0759236f6df95ec91fd4af5d6ce661db79e466ce2979af1a039d72f92f6ee\">\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=\"Order resource - Developer documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This object represents an individual transaction within a subscription.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://juo.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Order+resource\u0026amp;description=This+object+represents+an+individual+transaction+within+a+subscription.\u0026amp;theme=414294311ffbf65bc209ab6e\u0026amp;signature=9fc0759236f6df95ec91fd4af5d6ce661db79e466ce2979af1a039d72f92f6ee\">\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/juo/HRxdlVE07BysfB5B/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Developer documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://juo.dev/docs/api-reference/customer/orders/resource\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/customer/orders/resource.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://juo.dev/#organization\",\"name\":\"Developer documentation\",\"url\":\"https://juo.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/juo/cWBbLfFsu7G7x1mQ/logo/light.svg?fit=max\u0026auto=format\u0026n=cWBbLfFsu7G7x1mQ\u0026q=85\u0026s=f13f7b33b950522934898d18eb965a2e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://juo.dev#website\",\"name\":\"Developer documentation\",\"url\":\"https://juo.dev\",\"publisher\":{\"@id\":\"https://juo.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://juo.dev/docs/api-reference/customer/orders/resource#webpage\",\"url\":\"https://juo.dev/docs/api-reference/customer/orders/resource\",\"name\":\"Order resource\",\"description\":\"This object represents an individual transaction within a subscription.\",\"dateModified\":\"2026-11-12T13:06:39.773Z\",\"isPartOf\":{\"@id\":\"https://juo.dev#website\"},\"breadcrumb\":{\"@id\":\"https://juo.dev/docs/api-reference/customer/orders/resource#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://juo.dev/docs/api-reference/customer/orders/resource#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core Resources\",\"item\":\"https://juo.dev/docs/api-reference/customer/products/resource\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Order resource\",\"item\":\"https://juo.dev/docs/api-reference/customer/orders/resource\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://juo.dev/docs/api-reference/customer/orders/resource#apireference\",\"headline\":\"Order resource\",\"name\":\"Order resource\",\"description\":\"This object represents an individual transaction within a subscription.\",\"url\":\"https://juo.dev/docs/api-reference/customer/orders/resource\",\"mainEntityOfPage\":{\"@id\":\"https://juo.dev/docs/api-reference/customer/orders/resource#webpage\"},\"dateModified\":\"2026-11-12T13:06:39.773Z\",\"publisher\":{\"@id\":\"https://juo.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://juo.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Developer documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Developer documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/customer/orders/resource.md","siteName":"Developer documentation","nav":{"global":{"anchors":[{"anchor":"Community","icon":"slack","href":"https://juo.community"},{"anchor":"Changelog","icon":"newspaper","href":"https://juo.com/changelog"}]},"tabs":[{"tab":"Platform","icon":"layers","pages":[{"title":"Platform","href":"/docs/introduction"}]},{"tab":"API Reference","icon":"square-terminal","dropdowns":[{"dropdown":"Admin API","icon":"wrench","groups":[{"group":" ","pages":[{"title":"Introduction","href":"/docs/api-reference/admin/introduction"}]},{"group":"Core Resources","pages":[{"group":"Customers","pages":[{"title":"Customer resource","href":"/docs/api-reference/admin/customers/resource"},{"title":"List customers","openapi":"openapi-admin.json GET /customers","href":"/docs/api-reference/admin/customers/list"},{"title":"Create a customer","openapi":"openapi-admin.json POST /customers","href":"/docs/api-reference/admin/customers/create"},{"title":"Update a customer","openapi":"openapi-admin.json PATCH /customers/{customerId}","href":"/docs/api-reference/admin/customers/update"},{"title":"Delete a customer","openapi":"openapi-admin.json DELETE /customers/{customerId}","href":"/docs/api-reference/admin/customers/delete"},{"title":"Add a payment method","openapi":"openapi-admin.json POST /customers/{customerId}/payment-methods","href":"/docs/api-reference/admin/customers/add-payment-method"}]},{"group":"Products","pages":[{"title":"Product resource","href":"/docs/api-reference/admin/products/resource"},{"title":"List products","openapi":"openapi-admin.json GET /products","href":"/docs/api-reference/admin/products/list"},{"title":"Create a product","openapi":"openapi-admin.json POST /products","href":"/docs/api-reference/admin/products/create"},{"title":"Update a product","openapi":"openapi-admin.json PATCH /products/{productId}","href":"/docs/api-reference/admin/products/update"},{"title":"Delete a product","openapi":"openapi-admin.json DELETE /products/{productId}","href":"/docs/api-reference/admin/products/delete"},{"title":"Assign product to plan","openapi":"openapi-admin.json POST /products/{productId}/plans","href":"/docs/api-reference/admin/products/assign-plan"},{"title":"Remove product from plan","openapi":"openapi-admin.json DELETE /products/{productId}/plans","href":"/docs/api-reference/admin/products/remove-plan"},{"title":"Add a variant","openapi":"openapi-admin.json POST /products/{productId}/variants","href":"/docs/api-reference/admin/products/add-variant"},{"title":"Remove a variant","openapi":"openapi-admin.json DELETE /products/{productId}/variants/{variantId}","href":"/docs/api-reference/admin/products/remove-variant"},{"title":"Assign variant to plan","openapi":"openapi-admin.json POST /products/{productId}/variants/{variantId}/plans","href":"/docs/api-reference/admin/products/assign-variant-plan"},{"title":"Remove variant from plan","openapi":"openapi-admin.json DELETE /products/{productId}/variants/{variantId}/plans","href":"/docs/api-reference/admin/products/remove-variant-plan"}]},{"group":"Subscriptions","pages":[{"title":"Subscription resource","href":"/docs/api-reference/admin/subscriptions/resource"},{"title":"List subscriptions","openapi":"openapi-admin.json GET /subscriptions","href":"/docs/api-reference/admin/subscriptions/list"},{"title":"Create a subscription","openapi":"openapi-admin.json POST /subscriptions","href":"/docs/api-reference/admin/subscriptions/create"},{"title":"Update subscription","openapi":"openapi-admin.json PATCH /subscriptions/{subscriptionId}","href":"/docs/api-reference/admin/subscriptions/update"},{"title":"Cancel subscription","openapi":"openapi-admin.json POST /subscriptions/{subscriptionId}/cancel","href":"/docs/api-reference/admin/subscriptions/cancel"},{"title":"Resume subscription","openapi":"openapi-admin.json POST /subscriptions/{subscriptionId}/resume","href":"/docs/api-reference/admin/subscriptions/resume"},{"title":"Pause subscription","openapi":"openapi-admin.json POST /subscriptions/{subscriptionId}/pause","href":"/docs/api-reference/admin/subscriptions/pause"},{"title":"Reactivate subscription","openapi":"openapi-admin.json POST /subscriptions/{subscriptionId}/reactivate","href":"/docs/api-reference/admin/subscriptions/reactivate"},{"title":"Add custom attributes to a subscription","openapi":"openapi-admin.json POST /subscriptions/{subscriptionId}/custom-attributes","href":"/docs/api-reference/admin/subscriptions/add-custom-attributes"},{"title":"Set custom attributes on a subscription","openapi":"openapi-admin.json PATCH /subscriptions/{subscriptionId}/custom-attributes","href":"/docs/api-reference/admin/subscriptions/set-custom-attributes"}]},{"group":"Subscription items","pages":[{"title":"Subscription item resource","href":"/docs/api-reference/admin/subscription-items/resource"},{"title":"Create a subscription item","openapi":"openapi-admin.json POST /subscriptions/{subscriptionId}/items","href":"/docs/api-reference/admin/subscription-items/create"},{"title":"Update subscription item","openapi":"openapi-admin.json PATCH /subscriptions/{subscriptionId}/items/{itemId}","href":"/docs/api-reference/admin/subscription-items/update"},{"title":"Delete subscription item","openapi":"openapi-admin.json DELETE /subscriptions/{subscriptionId}/items/{itemId}","href":"/docs/api-reference/admin/subscription-items/delete"}]},{"group":"Subscription discounts","pages":[{"title":"Subscription discount resource","href":"/docs/api-reference/admin/subscription-discounts/resource"},{"title":"Create a subscription discount","openapi":"openapi-admin.json POST /subscriptions/{subscriptionId}/discounts","href":"/docs/api-reference/admin/subscription-discounts/create"},{"title":"Update a subscription discount","openapi":"openapi-admin.json PATCH /subscriptions/{subscriptionId}/discounts/{discountId}","href":"/docs/api-reference/admin/subscription-discounts/update"},{"title":"Delete a subscription discount","openapi":"openapi-admin.json DELETE /subscriptions/{subscriptionId}/discounts/{discountId}","href":"/docs/api-reference/admin/subscription-discounts/delete"}]},{"group":"Schedules","pages":[{"title":"Schedule order resource","href":"/docs/api-reference/admin/schedules/resource"},{"title":"Get schedule","openapi":"openapi-admin.json GET /schedules/","href":"/docs/api-reference/admin/schedules/get"}]},{"group":"Schedule adjustments","pages":[{"title":"Schedule adjustment resource","href":"/docs/api-reference/admin/schedule-adjustments/resource"},{"title":"Actions","href":"/docs/api-reference/admin/schedule-adjustments/actions"},{"title":"Matchers","href":"/docs/api-reference/admin/schedule-adjustments/matchers"},{"title":"List schedule adjustments","openapi":"openapi-admin.json GET /schedules/adjustments","href":"/docs/api-reference/admin/schedule-adjustments/list"},{"title":"Create a schedule adjustment","openapi":"openapi-admin.json POST /schedules/adjustments","href":"/docs/api-reference/admin/schedule-adjustments/create"},{"title":"Delete a schedule adjustment","openapi":"openapi-admin.json DELETE /schedules/adjustments/{adjustmentId}","href":"/docs/api-reference/admin/schedule-adjustments/delete"}]}]},{"group":"Analytics","pages":[{"title":"List analytics metrics","openapi":"openapi-admin.json GET /analytics/metrics","href":"/docs/api-reference/admin/analytics/list-metrics"},{"title":"Query analytics","openapi":"openapi-admin.json POST /analytics/query","href":"/docs/api-reference/admin/analytics/query"}]},{"group":"Events","pages":[{"title":"Event resource","href":"/docs/api-reference/admin/events/resource"},{"title":"List events","openapi":"openapi-admin.json GET /events","href":"/docs/api-reference/admin/events/list"},{"title":"List event types","openapi":"openapi-admin.json GET /events/types","href":"/docs/api-reference/admin/events/list-types"}]},{"group":"Webhooks","pages":[{"title":"Overview","href":"/docs/api-reference/admin/webhooks/overview"},{"title":"Signature verification","href":"/docs/api-reference/admin/webhooks/signature-verification"},{"group":"Topics","pages":[{"title":"Customer created","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook customer.created","href":"/api-reference/customer-created"},{"title":"Customer updated","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook customer.updated","href":"/api-reference/customer-updated"},{"title":"Customer payment method created","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook customer-payment-method.created","href":"/api-reference/customer-payment-method-created"},{"title":"Customer payment method updated","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook customer-payment-method.updated","href":"/api-reference/customer-payment-method-updated"},{"title":"Customer payment method revoked","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook customer-payment-method.revoked","href":"/api-reference/customer-payment-method-revoked"},{"title":"Subscription created","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook subscription.created","href":"/api-reference/subscription-created"},{"title":"Subscription updated","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook subscription.updated","href":"/api-reference/subscription-updated"},{"title":"Subscription renewed","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook subscription.renewed","href":"/api-reference/subscription-renewed"},{"title":"Subscription item created","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook subscription-item.created","href":"/api-reference/subscription-item-created"},{"title":"Subscription item updated","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook subscription-item.updated","href":"/api-reference/subscription-item-updated"},{"title":"Subscription item deleted","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook subscription-item.deleted","href":"/api-reference/subscription-item-deleted"},{"title":"Subscription discount created","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook subscription-discount.created","href":"/api-reference/subscription-discount-created"},{"title":"Subscription discount updated","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook subscription-discount.updated","href":"/api-reference/subscription-discount-updated"},{"title":"Subscription discount deleted","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook subscription-discount.deleted","href":"/api-reference/subscription-discount-deleted"},{"title":"Schedule adjustment created","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook schedule-adjustment.created","href":"/api-reference/schedule-adjustment-created"},{"title":"Schedule adjustment updated","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook schedule-adjustment.updated","href":"/api-reference/schedule-adjustment-updated"},{"title":"Schedule adjustment deleted","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook schedule-adjustment.deleted","href":"/api-reference/schedule-adjustment-deleted"},{"title":"Product created","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook product.created","href":"/api-reference/product-created"},{"title":"Product updated","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook product.updated","href":"/api-reference/product-updated"},{"title":"Product deleted","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook product.deleted","href":"/api-reference/product-deleted"},{"title":"Product variant created","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook product-variant.created","href":"/api-reference/product-variant-created"},{"title":"Product variant updated","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook product-variant.updated","href":"/api-reference/product-variant-updated"},{"title":"Product variant deleted","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook product-variant.deleted","href":"/api-reference/product-variant-deleted"},{"title":"Order created","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook order.created","href":"/api-reference/order-created"},{"title":"Order updated","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook order.updated","href":"/api-reference/order-updated"},{"title":"Order deleted","version":null,"deprecated":null,"openapi":"/openapi-admin.json webhook order.deleted","href":"/api-reference/order-deleted"}]}]}]},{"dropdown":"Customer API","icon":"user","groups":[{"group":" ","pages":[{"title":"Introduction","href":"/docs/api-reference/customer/introduction"}]},{"group":"Core Resources","pages":[{"group":"Products","pages":[{"title":"Product resource","href":"/docs/api-reference/customer/products/resource"},{"title":"List products","openapi":"openapi-customer.json GET /products","href":"/docs/api-reference/customer/products/list"}]},{"group":"Subscriptions","pages":[{"title":"Subscription resource","href":"/docs/api-reference/customer/subscriptions/resource"},{"title":"List subscriptions","openapi":"openapi-customer.json GET /subscriptions","href":"/docs/api-reference/customer/subscriptions/list"},{"title":"Update subscription","openapi":"openapi-customer.json PATCH /subscriptions/{subscriptionId}","href":"/docs/api-reference/customer/subscriptions/update"},{"title":"Cancel subscription","openapi":"openapi-customer.json POST /subscriptions/{subscriptionId}/cancel","href":"/docs/api-reference/customer/subscriptions/cancel"},{"title":"Resume subscription","openapi":"openapi-customer.json POST /subscriptions/{subscriptionId}/resume","href":"/docs/api-reference/customer/subscriptions/resume"},{"title":"Pause subscription","openapi":"openapi-customer.json POST /subscriptions/{subscriptionId}/pause","href":"/docs/api-reference/customer/subscriptions/pause"},{"title":"Reactivate subscription","openapi":"openapi-customer.json POST /subscriptions/{subscriptionId}/reactivate","href":"/docs/api-reference/customer/subscriptions/reactivate"}]},{"group":"Subscription items","pages":[{"title":"Subscription item resource","href":"/docs/api-reference/customer/subscription-items/resource"},{"title":"Create a subscription item","openapi":"openapi-customer.json POST /subscriptions/{subscriptionId}/items","href":"/docs/api-reference/customer/subscription-items/create"},{"title":"Update subscription item","openapi":"openapi-customer.json PATCH /subscriptions/{subscriptionId}/items/{itemId}","href":"/docs/api-reference/customer/subscription-items/update"},{"title":"Delete subscription item","openapi":"openapi-customer.json DELETE /subscriptions/{subscriptionId}/items/{itemId}","href":"/docs/api-reference/customer/subscription-items/delete"}]},{"group":"Subscription discounts","pages":[{"title":"Subscription discount resource","href":"/docs/api-reference/customer/subscription-discounts/resource"},{"title":"Create a subscription discount","openapi":"openapi-customer.json POST /subscriptions/{subscriptionId}/discounts","href":"/docs/api-reference/customer/subscription-discounts/create"},{"title":"Delete a subscription discount","description":"Used to delete a subscription discount.","openapi":"openapi-customer.json DELETE /subscriptions/{subscriptionId}/discounts/{discountId}","href":"/docs/api-reference/customer/subscription-discounts/delete"}]},{"group":"Orders","pages":[{"title":"Order resource","href":"/docs/api-reference/customer/orders/resource"},{"title":"List orders","description":"Returns a list of orders.","openapi":"openapi-customer.json GET /orders","href":"/docs/api-reference/customer/orders/list"},{"title":"Pay an order","openapi":"openapi-customer.json POST /orders/{orderId}/pay","href":"/docs/api-reference/customer/orders/pay"}]},{"group":"Payment methods","pages":[{"title":"Payment method resource","href":"/docs/api-reference/customer/payment-methods/resource"},{"title":"List payment methods","openapi":"openapi-customer.json GET /payment-methods","href":"/docs/api-reference/customer/payment-methods/list"},{"title":"Create a payment method","openapi":"openapi-customer.json POST /payment-methods","href":"/docs/api-reference/customer/payment-methods/create"}]},{"group":"Schedules","pages":[{"title":"Schedule order resource","href":"/docs/api-reference/customer/schedules/resource"},{"title":"Get schedule","openapi":"openapi-customer.json GET /schedules/","href":"/docs/api-reference/customer/schedules/get"}]},{"group":"Schedule adjustments","pages":[{"title":"Schedule adjustment resource","href":"/docs/api-reference/customer/schedule-adjustments/resource"},{"title":"List schedule adjustments","openapi":"openapi-customer.json GET /schedules/adjustments","href":"/docs/api-reference/customer/schedule-adjustments/list"},{"title":"Create a schedule adjustment","openapi":"openapi-customer.json POST /schedules/adjustments","href":"/docs/api-reference/customer/schedule-adjustments/create"},{"title":"Delete a schedule adjustment","openapi":"openapi-customer.json DELETE /schedules/adjustments/{adjustmentId}","href":"/docs/api-reference/customer/schedule-adjustments/delete"}]},{"group":"Authentication","pages":[{"title":"Get Shopify auth token","openapi":"openapi-customer.json GET /auth/shopify/token","href":"/docs/api-reference/customer/auth/shopify-token"}]},{"group":"Workflows","pages":[{"title":"Workflow run resource","href":"/docs/api-reference/customer/workflows/resource"},{"title":"Start a workflow","openapi":"openapi-customer.json POST /workflows/start","href":"/docs/api-reference/customer/workflows/start"},{"title":"Get workflow run","openapi":"openapi-customer.json GET /workflows/{runId}","href":"/docs/api-reference/customer/workflows/get"},{"title":"Respond to a workflow run","openapi":"openapi-customer.json POST /workflows/{runId}/respond","href":"/docs/api-reference/customer/workflows/respond"},{"title":"Cancel workflow run","openapi":"openapi-customer.json POST /workflows/{runId}/cancel","href":"/docs/api-reference/customer/workflows/cancel"}]}]}]}]},{"tab":"Blocks","icon":"blocks","pages":[{"title":"Blocks","href":"/docs/blocks/overview"}]},{"tab":"Customer UI","icon":"palette","pages":[{"title":"Customer UI","href":"/docs/customer-ui/getting-started"}]}]},"basePath":"","title":"Order resource - Developer documentation","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","CodeSnippet-BBA8eWiP.js","getApiPlaygroundDisplay-DMK5GRGS.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","SectionHeading-AR_EzDYe.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js","Markdown-CX8Sr5UZ.js","AssistantPageLink-B3VcLrB0.js","dist-WDJo6xkj.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}