Retrieves paginated list of past (processed) billing attempts for the whole shop, a subscription contract, or a customer. Includes successful orders, failed attempts, and skipped orders. Upcoming (QUEUED) orders are not included.
Initial (checkout) orders are not included. The order the customer placed at checkout that created the subscription is not a billing attempt, so a shop or contract with no renewals yet returns an empty list. Get initial orders from GET /api/external/v2/subscription-contract-details (fields orderId, orderName, orderAmount, createdAt), filtering by fromCreatedDate / toCreatedDate for incremental syncs.
Filter Options:
No filter: Get past orders across all subscription contracts of the shop (use this for bulk sync / data pipelines instead of calling once per contract)
By contract ID: Get order history for specific subscription
By customer ID: Get all orders across all customer subscriptions
If both contractId and customerId are passed, contractId takes precedence
Results are sorted by attempt time (or billing date when not yet attempted), newest first
Response headers: X-Total-Count (total number of records) and Link (next/prev/first/last page URLs)
Keep requesting the next page until the response is an empty array or page reaches the last page
Example (all past orders of the shop):GET /api/external/v2/subscription-billing-attempts/past-orders?page=0&size=250
Notes:
New orders created while paging shift results between pages; de-duplicate on id, or use the past orders report endpoint with a fixed toDay for a stable window
Line items (variantList) are served from cached Shopify order data. For orders not yet cached the list may be empty on the first request and is populated on subsequent requests
Order Information:
Billing attempt status (SUCCESS, FAILED, SKIPPED)
Shopify order ID for successful attempts
Billing date and processing date
Order total and line items
Error messages for failed attempts
Authentication: Requires valid X-API-Key header
GET
/
api
/
external
/
v2
/
subscription-billing-attempts
/
past-orders
Get past orders
curl --request GET \ --url https://subscription-admin.appstle.com/api/external/v2/subscription-billing-attempts/past-orders
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Appstle","colors":{"primary":"#0caceb","light":"#6ccdf2","dark":"#0a7eae"},"favicon":"https://mintcdn.com/appstleinc-aeca3e0a/811jRr2WFwD6kXFw/favicon.webp?fit=max\u0026auto=format\u0026n=811jRr2WFwD6kXFw\u0026q=85\u0026s=a98f329ae5c5ff4deaa241d8abe53f11","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["bash","python","javascript","node","php","go","ruby"]}},"appearance":{"default":"light","strict":true},"navbar":{"primary":{"type":"button","label":"Help Center","href":"https://help.appstle.com/en/"}},"footer":{"socials":{"website":"https://appstle.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"appstleinc-aeca3e0a","hasAudioNarration":false,"actualSubdomain":"appstleinc-aeca3e0a","customDomains":["developers.appstle.com"],"gitSource":{"type":"github","owner":"appstleinc","repo":"appstle-docs-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af345c7fba0656120fa46f2","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Subscriptions","count":268},{"language":"default","tag":"Storefront API","count":223},{"language":"default","tag":"Admin API","count":184},{"language":"default","tag":"Memberships","count":119},{"language":"default","tag":"Subscription Contracts","count":63},{"language":"default","tag":"Membership Contracts","count":62},{"language":"default","tag":"Loyalty","count":48},{"language":"default","tag":"Billing \u0026 Payments","count":28},{"language":"default","tag":"Bundles","count":25},{"language":"default","tag":"Subscription Management","count":24}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"subscription-admin-api/billing-\u0026-payments/get-past-orders","slug":"/subscription-admin-api/billing-\u0026-payments/get-past-orders","pageMetadata":{"title":"Get past orders","description":"Retrieves paginated list of past (processed) billing attempts for the whole shop, a subscription contract, or a customer. Includes successful orders, failed attempts, and skipped orders. Upcoming (QUEUED) orders are not included.\n\n**Initial (checkout) orders are not included.** The order the customer placed at checkout that created the subscription is not a billing attempt, so a shop or contract with no renewals yet returns an empty list. Get initial orders from `GET /api/external/v2/subscription-contract-details` (fields `orderId`, `orderName`, `orderAmount`, `createdAt`), filtering by `fromCreatedDate` / `toCreatedDate` for incremental syncs.\n\n**Filter Options:**\n- No filter: Get past orders across all subscription contracts of the shop (use this for bulk sync / data pipelines instead of calling once per contract)\n- By contract ID: Get order history for specific subscription\n- By customer ID: Get all orders across all customer subscriptions\n- If both `contractId` and `customerId` are passed, `contractId` takes precedence\n\n**Pagination:**\n- Query parameters: `page` (zero-based, default 0), `size` (default 20, recommended max 250)\n- Results are sorted by attempt time (or billing date when not yet attempted), newest first\n- Response headers: `X-Total-Count` (total number of records) and `Link` (next/prev/first/last page URLs)\n- Keep requesting the next page until the response is an empty array or `page` reaches the last page\n\n**Example (all past orders of the shop):**\n`GET /api/external/v2/subscription-billing-attempts/past-orders?page=0\u0026size=250`\n\n**Notes:**\n- New orders created while paging shift results between pages; de-duplicate on `id`, or use the past orders report endpoint with a fixed `toDay` for a stable window\n- Line items (`variantList`) are served from cached Shopify order data. For orders not yet cached the list may be empty on the first request and is populated on subsequent requests\n\n**Order Information:**\n- Billing attempt status (SUCCESS, FAILED, SKIPPED)\n- Shopify order ID for successful attempts\n- Billing date and processing date\n- Order total and line items\n- Error messages for failed attempts\n\n**Authentication:** Requires valid X-API-Key header","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-billing-attempts/past-orders","href":"/subscription-admin-api/billing-\u0026-payments/get-past-orders","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Retrieves paginated list of past (processed) billing attempts for the whole shop, a subscription contract, or a customer. Includes successful orders, failed attempts, and skipped orders. Upcoming (QUEUED) orders are not included.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Initial (checkout) orders are not included.\"\n }), \" The order the customer placed at checkout that created the subscription is not a billing attempt, so a shop or contract with no renewals yet returns an empty list. Get initial orders from \", _jsx(_components.code, {\n children: \"GET /api/external/v2/subscription-contract-details\"\n }), \" (fields \", _jsx(_components.code, {\n children: \"orderId\"\n }), \", \", _jsx(_components.code, {\n children: \"orderName\"\n }), \", \", _jsx(_components.code, {\n children: \"orderAmount\"\n }), \", \", _jsx(_components.code, {\n children: \"createdAt\"\n }), \"), filtering by \", _jsx(_components.code, {\n children: \"fromCreatedDate\"\n }), \" / \", _jsx(_components.code, {\n children: \"toCreatedDate\"\n }), \" for incremental syncs.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Filter Options:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"No filter: Get past orders across all subscription contracts of the shop (use this for bulk sync / data pipelines instead of calling once per contract)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"By contract ID: Get order history for specific subscription\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"By customer ID: Get all orders across all customer subscriptions\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"If both \", _jsx(_components.code, {\n children: \"contractId\"\n }), \" and \", _jsx(_components.code, {\n children: \"customerId\"\n }), \" are passed, \", _jsx(_components.code, {\n children: \"contractId\"\n }), \" takes precedence\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Pagination:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"Query parameters: \", _jsx(_components.code, {\n children: \"page\"\n }), \" (zero-based, default 0), \", _jsx(_components.code, {\n children: \"size\"\n }), \" (default 20, recommended max 250)\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"Results are sorted by attempt time (or billing date when not yet attempted), newest first\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Response headers: \", _jsx(_components.code, {\n children: \"X-Total-Count\"\n }), \" (total number of records) and \", _jsx(_components.code, {\n children: \"Link\"\n }), \" (next/prev/first/last page URLs)\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Keep requesting the next page until the response is an empty array or \", _jsx(_components.code, {\n children: \"page\"\n }), \" reaches the last page\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Example (all past orders of the shop):\"\n }), \"\\n\", _jsx(_components.code, {\n children: \"GET /api/external/v2/subscription-billing-attempts/past-orders?page=0\u0026size=250\"\n })]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Notes:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"New orders created while paging shift results between pages; de-duplicate on \", _jsx(_components.code, {\n children: \"id\"\n }), \", or use the past orders report endpoint with a fixed \", _jsx(_components.code, {\n children: \"toDay\"\n }), \" for a stable window\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Line items (\", _jsx(_components.code, {\n children: \"variantList\"\n }), \") are served from cached Shopify order data. For orders not yet cached the list may be empty on the first request and is populated on subsequent requests\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Order Information:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Billing attempt status (SUCCESS, FAILED, SKIPPED)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Shopify order ID for successful attempts\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Billing date and processing date\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Order total and line items\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Error messages for failed attempts\"\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Authentication:\"\n }), \" Requires valid X-API-Key header\"]\n })]\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":{"config":{},"pageMetadata":{"title":"Get past orders","description":"Retrieves paginated list of past (processed) billing attempts for the whole shop, a subscription contract, or a customer. Includes successful orders, failed attempts, and skipped orders. Upcoming (QUEUED) orders are not included.\n\n**Initial (checkout) orders are not included.** The order the customer placed at checkout that created the subscription is not a billing attempt, so a shop or contract with no renewals yet returns an empty list. Get initial orders from `GET /api/external/v2/subscription-contract-details` (fields `orderId`, `orderName`, `orderAmount`, `createdAt`), filtering by `fromCreatedDate` / `toCreatedDate` for incremental syncs.\n\n**Filter Options:**\n- No filter: Get past orders across all subscription contracts of the shop (use this for bulk sync / data pipelines instead of calling once per contract)\n- By contract ID: Get order history for specific subscription\n- By customer ID: Get all orders across all customer subscriptions\n- If both `contractId` and `customerId` are passed, `contractId` takes precedence\n\n**Pagination:**\n- Query parameters: `page` (zero-based, default 0), `size` (default 20, recommended max 250)\n- Results are sorted by attempt time (or billing date when not yet attempted), newest first\n- Response headers: `X-Total-Count` (total number of records) and `Link` (next/prev/first/last page URLs)\n- Keep requesting the next page until the response is an empty array or `page` reaches the last page\n\n**Example (all past orders of the shop):**\n`GET /api/external/v2/subscription-billing-attempts/past-orders?page=0\u0026size=250`\n\n**Notes:**\n- New orders created while paging shift results between pages; de-duplicate on `id`, or use the past orders report endpoint with a fixed `toDay` for a stable window\n- Line items (`variantList`) are served from cached Shopify order data. For orders not yet cached the list may be empty on the first request and is populated on subsequent requests\n\n**Order Information:**\n- Billing attempt status (SUCCESS, FAILED, SKIPPED)\n- Shopify order ID for successful attempts\n- Billing date and processing date\n- Order total and line items\n- Error messages for failed attempts\n\n**Authentication:** Requires valid X-API-Key header","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-billing-attempts/past-orders","href":"/subscription-admin-api/billing-\u0026-payments/get-past-orders","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Retrieves paginated list of past (processed) billing attempts for the whole shop, a subscription contract, or a customer. Includes successful orders, failed attempts, and skipped orders. Upcoming (QUEUED) orders are not included.\n\n**Initial (checkout) orders are not included.** The order the customer placed at checkout that created the subscription is not a billing attempt, so a shop or contract with no renewals yet returns an empty list. Get initial orders from `GET /api/external/v2/subscription-contract-details` (fields `orderId`, `orderName`, `orderAmount`, `createdAt`), filtering by `fromCreatedDate` / `toCreatedDate` for incremental syncs.\n\n**Filter Options:**\n- No filter: Get past orders across all subscription contracts of the shop (use this for bulk sync / data pipelines instead of calling once per contract)\n- By contract ID: Get order history for specific subscription\n- By customer ID: Get all orders across all customer subscriptions\n- If both `contractId` and `customerId` are passed, `contractId` takes precedence\n\n**Pagination:**\n- Query parameters: `page` (zero-based, default 0), `size` (default 20, recommended max 250)\n- Results are sorted by attempt time (or billing date when not yet attempted), newest first\n- Response headers: `X-Total-Count` (total number of records) and `Link` (next/prev/first/last page URLs)\n- Keep requesting the next page until the response is an empty array or `page` reaches the last page\n\n**Example (all past orders of the shop):**\n`GET /api/external/v2/subscription-billing-attempts/past-orders?page=0\u0026size=250`\n\n**Notes:**\n- New orders created while paging shift results between pages; de-duplicate on `id`, or use the past orders report endpoint with a fixed `toDay` for a stable window\n- Line items (`variantList`) are served from cached Shopify order data. For orders not yet cached the list may be empty on the first request and is populated on subsequent requests\n\n**Order Information:**\n- Billing attempt status (SUCCESS, FAILED, SKIPPED)\n- Shopify order ID for successful attempts\n- Billing date and processing date\n- Order total and line items\n- Error messages for failed attempts\n\n**Authentication:** Requires valid X-API-Key header","operationId":"getPastOrdersV2","parameters":["1ae48138-3969-4080-8633-e8c1b0edeee6","91d393b9-7c98-4d59-8009-f5e41961e054","0c3c637f-6df9-4008-ae18-026bc7b1fddd","beac92e4-d501-4d4c-925a-ea82c96826a5","b5428e07-3c06-48ea-b47d-abfc4e18056a","7c3f5a54-bdf6-45a3-b65d-3d33ebbc0d57"],"responses":{"200":"e262d96a-8329-4a9a-971e-9a7759af1c1a","400":"57fe7617-4f56-4a92-b31e-4ba1ba1deb4b","401":"29883606-832e-434f-b751-14aee7067aa2","403":"bc3d92d2-19ff-4b40-a94e-57f53a2d4f02"},"summary":"Get past orders","tags":["Billing \u0026 Payments"],"method":"get","type":"path","servers":["d3c9e56f-e67b-483f-979d-9b57afc23940"],"security":[],"path":"/api/external/v2/subscription-billing-attempts/past-orders","baseUrlOptions":["https://subscription-admin.appstle.com"],"title":"Get past orders","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","node","php","go","ruby"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"1ae48138-3969-4080-8633-e8c1b0edeee6":{"description":"API Key (Deprecated - Use Header X-API-Key instead)","in":"query","name":"api_key","required":false,"schema":{"type":"string","isRequired":false,"description":"API Key (Deprecated - Use Header X-API-Key instead)","uniqueKey":"","typeLabel":"string"}},"91d393b9-7c98-4d59-8009-f5e41961e054":{"in":"header","name":"X-API-Key","required":false,"schema":{"type":"string","isRequired":false,"uniqueKey":"","typeLabel":"string"}},"0c3c637f-6df9-4008-ae18-026bc7b1fddd":{"description":"Subscription contract ID. Omit (along with customerId) to get past orders of all contracts in the shop","in":"query","name":"contractId","required":false,"schema":{"format":"int64","type":"integer","isRequired":false,"description":"Subscription contract ID. Omit (along with customerId) to get past orders of all contracts in the shop","uniqueKey":"","typeLabel":"integer\u003cint64>"}},"beac92e4-d501-4d4c-925a-ea82c96826a5":{"description":"Shopify customer ID. Omit (along with contractId) to get past orders of all contracts in the shop","in":"query","name":"customerId","required":false,"schema":{"format":"int64","type":"integer","isRequired":false,"description":"Shopify customer ID. Omit (along with contractId) to get past orders of all contracts in the shop","uniqueKey":"","typeLabel":"integer\u003cint64>"}},"b5428e07-3c06-48ea-b47d-abfc4e18056a":{"description":"Zero-based page index (0..N)","in":"query","name":"page","schema":{"default":0,"minimum":0,"type":"integer","description":"Zero-based page index (0..N)","uniqueKey":"","typeLabel":"integer"}},"7c3f5a54-bdf6-45a3-b65d-3d33ebbc0d57":{"description":"The size of the page to be returned","in":"query","name":"size","schema":{"default":20,"minimum":1,"type":"integer","description":"The size of the page to be returned","uniqueKey":"","typeLabel":"integer"}}},"responses":{"e262d96a-8329-4a9a-971e-9a7759af1c1a":{"content":{"application/json":{"schema":{"items":{"properties":{"retryingNeeded":{"type":"boolean","isRequired":true,"uniqueKey":"items.[INDEX].retryingNeeded","typeLabel":"boolean"},"shop":{"type":"string","isRequired":true,"uniqueKey":"items.[INDEX].shop","typeLabel":"string"},"applyUsageCharge":{"type":"boolean","uniqueKey":"items.[INDEX].applyUsageCharge","typeLabel":"boolean"},"attemptCount":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].attemptCount","typeLabel":"integer\u003cint32>"},"attemptTime":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].attemptTime","typeLabel":"string\u003cdate-time>"},"billingAttemptId":{"type":"string","uniqueKey":"items.[INDEX].billingAttemptId","typeLabel":"string"},"billingAttemptResponseMessage":{"type":"string","uniqueKey":"items.[INDEX].billingAttemptResponseMessage","typeLabel":"string"},"billingDate":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].billingDate","typeLabel":"string\u003cdate-time>"},"contractId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].contractId","typeLabel":"integer\u003cint64>"},"graphOrderId":{"type":"string","uniqueKey":"items.[INDEX].graphOrderId","typeLabel":"string"},"id":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].id","typeLabel":"integer\u003cint64>"},"inventorySkippedAttemptCount":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].inventorySkippedAttemptCount","typeLabel":"integer\u003cint32>"},"inventorySkippedRetryingNeeded":{"type":"boolean","uniqueKey":"items.[INDEX].inventorySkippedRetryingNeeded","typeLabel":"boolean"},"lastShippingUpdatedAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].lastShippingUpdatedAt","typeLabel":"string\u003cdate-time>"},"orderAmount":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmount","typeLabel":"number\u003cdouble>"},"orderAmountContractCurrency":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmountContractCurrency","typeLabel":"number\u003cdouble>"},"orderAmountShopCurrency":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmountShopCurrency","typeLabel":"number\u003cdouble>"},"orderAmountUSD":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmountUSD","typeLabel":"number\u003cdouble>"},"orderAttributes":{"items":{"properties":{"key":{"type":"string","uniqueKey":"items.[INDEX].orderAttributes.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","uniqueKey":"items.[INDEX].orderAttributes.items.[INDEX].value","typeLabel":"string"}},"type":"object","uniqueKey":"items.[INDEX].orderAttributes.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"items.[INDEX].orderAttributes","typeLabel":"object[]"},"orderCancelReason":{"enum":["CUSTOMER","DECLINED","FRAUD","INVENTORY","STAFF","OTHER","$UNKNOWN"],"type":"string","uniqueKey":"items.[INDEX].orderCancelReason","typeLabel":"enum\u003cstring>"},"orderCancelledAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].orderCancelledAt","typeLabel":"string\u003cdate-time>"},"orderClosed":{"type":"boolean","uniqueKey":"items.[INDEX].orderClosed","typeLabel":"boolean"},"orderClosedAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].orderClosedAt","typeLabel":"string\u003cdate-time>"},"orderConfirmed":{"type":"boolean","uniqueKey":"items.[INDEX].orderConfirmed","typeLabel":"boolean"},"orderDisplayFinancialStatus":{"enum":["PENDING","AUTHORIZED","PARTIALLY_PAID","PARTIALLY_REFUNDED","VOIDED","PAID","REFUNDED","EXPIRED","$UNKNOWN"],"type":"string","uniqueKey":"items.[INDEX].orderDisplayFinancialStatus","typeLabel":"enum\u003cstring>"},"orderDisplayFulfillmentStatus":{"enum":["UNFULFILLED","PARTIALLY_FULFILLED","FULFILLED","RESTOCKED","PENDING_FULFILLMENT","OPEN","IN_PROGRESS","ON_HOLD","SCHEDULED","REQUEST_DECLINED","$UNKNOWN"],"type":"string","uniqueKey":"items.[INDEX].orderDisplayFulfillmentStatus","typeLabel":"enum\u003cstring>"},"orderId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].orderId","typeLabel":"integer\u003cint64>"},"orderName":{"type":"string","uniqueKey":"items.[INDEX].orderName","typeLabel":"string"},"orderNote":{"type":"string","uniqueKey":"items.[INDEX].orderNote","typeLabel":"string"},"orderProcessedAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].orderProcessedAt","typeLabel":"string\u003cdate-time>"},"partialLinesSkipped":{"enum":["INVENTORY_MANAGEMENT","MANUAL","ORPHANED_FREE_PRODUCT"],"type":"string","uniqueKey":"items.[INDEX].partialLinesSkipped","typeLabel":"enum\u003cstring>"},"progressAttemptCount":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].progressAttemptCount","typeLabel":"integer\u003cint32>"},"recurringChargeId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].recurringChargeId","typeLabel":"integer\u003cint64>"},"securityChallengeSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"items.[INDEX].securityChallengeSentStatus","typeLabel":"enum\u003cstring>"},"status":{"enum":["SUCCESS","FAILURE","REQUESTING","PROGRESS","QUEUED","SKIPPED","SOCIAL_CONNECTION_NULL","CONTRACT_CANCELLED","CONTRACT_ENDED","CONTRACT_PAUSED","AUTO_CHARGE_DISABLED","SHOPIFY_EXCEPTION","SKIPPED_DUNNING_MGMT","SKIPPED_INVENTORY_MGMT","IMMEDIATE_TRIGGERED","SECURITY_CHALLENGE","CONTRACT_PAUSED_MAX_CYCLES","REFUNDED","SKIPPED_DEMO_SHOP","SKIPPED_SHOP_INFO_NOT_FOUND","SKIPPED_BILLING_DATE_STALE","SKIPPED_DUNNING_NOT_CONFIGURED","PENDING_CONSOLIDATION"],"type":"string","uniqueKey":"items.[INDEX].status","typeLabel":"enum\u003cstring>"},"transactionFailedEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"items.[INDEX].transactionFailedEmailSentStatus","typeLabel":"enum\u003cstring>"},"transactionFailedSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"items.[INDEX].transactionFailedSmsSentStatus","typeLabel":"enum\u003cstring>"},"transactionRate":{"format":"double","type":"number","uniqueKey":"items.[INDEX].transactionRate","typeLabel":"number\u003cdouble>"},"upcomingOrderEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","STOP_FROM_CONTRACT","CONTRACT_PAUSED"],"type":"string","uniqueKey":"items.[INDEX].upcomingOrderEmailSentStatus","typeLabel":"enum\u003cstring>"},"upcomingOrderSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","STOP_FROM_CONTRACT","CONTRACT_PAUSED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"items.[INDEX].upcomingOrderSmsSentStatus","typeLabel":"enum\u003cstring>"},"usageChargeStatus":{"enum":["SUCCESS","FAILED","TO_BE_TRIED"],"type":"string","uniqueKey":"items.[INDEX].usageChargeStatus","typeLabel":"enum\u003cstring>"},"variantList":{"items":{"properties":{"image":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].image","typeLabel":"string"},"productId":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].productId","typeLabel":"string"},"productTitle":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].productTitle","typeLabel":"string"},"quantity":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].variantList.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"swapId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].variantList.items.[INDEX].swapId","typeLabel":"integer\u003cint64>"},"title":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].title","typeLabel":"string"},"variantId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].variantList.items.[INDEX].variantId","typeLabel":"integer\u003cint64>"},"variantTitle":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].variantTitle","typeLabel":"string"}},"type":"object","uniqueKey":"items.[INDEX].variantList.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"items.[INDEX].variantList","typeLabel":"object[]"}},"required":["retryingNeeded","shop"],"type":"object","uniqueKey":"items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"","typeLabel":"object[]"},"examples":{"Example":{"title":"Example","value":[{"retryingNeeded":true,"shop":"\u003cstring>","applyUsageCharge":true,"attemptCount":123,"attemptTime":"2023-11-07T05:31:56Z","billingAttemptId":"\u003cstring>","billingAttemptResponseMessage":"\u003cstring>","billingDate":"2023-11-07T05:31:56Z","contractId":123,"graphOrderId":"\u003cstring>","id":123,"inventorySkippedAttemptCount":123,"inventorySkippedRetryingNeeded":true,"lastShippingUpdatedAt":"2023-11-07T05:31:56Z","orderAmount":123,"orderAmountContractCurrency":123,"orderAmountShopCurrency":123,"orderAmountUSD":123,"orderAttributes":[{"key":"\u003cstring>","value":"\u003cstring>"}],"orderCancelReason":"CUSTOMER","orderCancelledAt":"2023-11-07T05:31:56Z","orderClosed":true,"orderClosedAt":"2023-11-07T05:31:56Z","orderConfirmed":true,"orderDisplayFinancialStatus":"PENDING","orderDisplayFulfillmentStatus":"UNFULFILLED","orderId":123,"orderName":"\u003cstring>","orderNote":"\u003cstring>","orderProcessedAt":"2023-11-07T05:31:56Z","partialLinesSkipped":"INVENTORY_MANAGEMENT","progressAttemptCount":123,"recurringChargeId":123,"securityChallengeSentStatus":"SENT","status":"SUCCESS","transactionFailedEmailSentStatus":"SENT","transactionFailedSmsSentStatus":"SENT","transactionRate":123,"upcomingOrderEmailSentStatus":"SENT","upcomingOrderSmsSentStatus":"SENT","usageChargeStatus":"SUCCESS","variantList":[{"image":"\u003cstring>","productId":"\u003cstring>","productTitle":"\u003cstring>","quantity":123,"swapId":123,"title":"\u003cstring>","variantId":123,"variantTitle":"\u003cstring>"}]}]}},"exampleType":"generated"}},"description":"Successfully retrieved past orders","exampleType":"generated"},"57fe7617-4f56-4a92-b31e-4ba1ba1deb4b":{"content":{"*/*":{"schema":{"items":{"properties":{"retryingNeeded":{"type":"boolean","isRequired":true,"uniqueKey":"items.[INDEX].retryingNeeded","typeLabel":"boolean"},"shop":{"type":"string","isRequired":true,"uniqueKey":"items.[INDEX].shop","typeLabel":"string"},"applyUsageCharge":{"type":"boolean","uniqueKey":"items.[INDEX].applyUsageCharge","typeLabel":"boolean"},"attemptCount":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].attemptCount","typeLabel":"integer\u003cint32>"},"attemptTime":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].attemptTime","typeLabel":"string\u003cdate-time>"},"billingAttemptId":{"type":"string","uniqueKey":"items.[INDEX].billingAttemptId","typeLabel":"string"},"billingAttemptResponseMessage":{"type":"string","uniqueKey":"items.[INDEX].billingAttemptResponseMessage","typeLabel":"string"},"billingDate":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].billingDate","typeLabel":"string\u003cdate-time>"},"contractId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].contractId","typeLabel":"integer\u003cint64>"},"graphOrderId":{"type":"string","uniqueKey":"items.[INDEX].graphOrderId","typeLabel":"string"},"id":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].id","typeLabel":"integer\u003cint64>"},"inventorySkippedAttemptCount":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].inventorySkippedAttemptCount","typeLabel":"integer\u003cint32>"},"inventorySkippedRetryingNeeded":{"type":"boolean","uniqueKey":"items.[INDEX].inventorySkippedRetryingNeeded","typeLabel":"boolean"},"lastShippingUpdatedAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].lastShippingUpdatedAt","typeLabel":"string\u003cdate-time>"},"orderAmount":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmount","typeLabel":"number\u003cdouble>"},"orderAmountContractCurrency":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmountContractCurrency","typeLabel":"number\u003cdouble>"},"orderAmountShopCurrency":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmountShopCurrency","typeLabel":"number\u003cdouble>"},"orderAmountUSD":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmountUSD","typeLabel":"number\u003cdouble>"},"orderAttributes":{"items":{"properties":{"key":{"type":"string","uniqueKey":"items.[INDEX].orderAttributes.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","uniqueKey":"items.[INDEX].orderAttributes.items.[INDEX].value","typeLabel":"string"}},"type":"object","uniqueKey":"items.[INDEX].orderAttributes.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"items.[INDEX].orderAttributes","typeLabel":"object[]"},"orderCancelReason":{"enum":["CUSTOMER","DECLINED","FRAUD","INVENTORY","STAFF","OTHER","$UNKNOWN"],"type":"string","uniqueKey":"items.[INDEX].orderCancelReason","typeLabel":"enum\u003cstring>"},"orderCancelledAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].orderCancelledAt","typeLabel":"string\u003cdate-time>"},"orderClosed":{"type":"boolean","uniqueKey":"items.[INDEX].orderClosed","typeLabel":"boolean"},"orderClosedAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].orderClosedAt","typeLabel":"string\u003cdate-time>"},"orderConfirmed":{"type":"boolean","uniqueKey":"items.[INDEX].orderConfirmed","typeLabel":"boolean"},"orderDisplayFinancialStatus":{"enum":["PENDING","AUTHORIZED","PARTIALLY_PAID","PARTIALLY_REFUNDED","VOIDED","PAID","REFUNDED","EXPIRED","$UNKNOWN"],"type":"string","uniqueKey":"items.[INDEX].orderDisplayFinancialStatus","typeLabel":"enum\u003cstring>"},"orderDisplayFulfillmentStatus":{"enum":["UNFULFILLED","PARTIALLY_FULFILLED","FULFILLED","RESTOCKED","PENDING_FULFILLMENT","OPEN","IN_PROGRESS","ON_HOLD","SCHEDULED","REQUEST_DECLINED","$UNKNOWN"],"type":"string","uniqueKey":"items.[INDEX].orderDisplayFulfillmentStatus","typeLabel":"enum\u003cstring>"},"orderId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].orderId","typeLabel":"integer\u003cint64>"},"orderName":{"type":"string","uniqueKey":"items.[INDEX].orderName","typeLabel":"string"},"orderNote":{"type":"string","uniqueKey":"items.[INDEX].orderNote","typeLabel":"string"},"orderProcessedAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].orderProcessedAt","typeLabel":"string\u003cdate-time>"},"partialLinesSkipped":{"enum":["INVENTORY_MANAGEMENT","MANUAL","ORPHANED_FREE_PRODUCT"],"type":"string","uniqueKey":"items.[INDEX].partialLinesSkipped","typeLabel":"enum\u003cstring>"},"progressAttemptCount":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].progressAttemptCount","typeLabel":"integer\u003cint32>"},"recurringChargeId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].recurringChargeId","typeLabel":"integer\u003cint64>"},"securityChallengeSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"items.[INDEX].securityChallengeSentStatus","typeLabel":"enum\u003cstring>"},"status":{"enum":["SUCCESS","FAILURE","REQUESTING","PROGRESS","QUEUED","SKIPPED","SOCIAL_CONNECTION_NULL","CONTRACT_CANCELLED","CONTRACT_ENDED","CONTRACT_PAUSED","AUTO_CHARGE_DISABLED","SHOPIFY_EXCEPTION","SKIPPED_DUNNING_MGMT","SKIPPED_INVENTORY_MGMT","IMMEDIATE_TRIGGERED","SECURITY_CHALLENGE","CONTRACT_PAUSED_MAX_CYCLES","REFUNDED","SKIPPED_DEMO_SHOP","SKIPPED_SHOP_INFO_NOT_FOUND","SKIPPED_BILLING_DATE_STALE","SKIPPED_DUNNING_NOT_CONFIGURED","PENDING_CONSOLIDATION"],"type":"string","uniqueKey":"items.[INDEX].status","typeLabel":"enum\u003cstring>"},"transactionFailedEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"items.[INDEX].transactionFailedEmailSentStatus","typeLabel":"enum\u003cstring>"},"transactionFailedSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"items.[INDEX].transactionFailedSmsSentStatus","typeLabel":"enum\u003cstring>"},"transactionRate":{"format":"double","type":"number","uniqueKey":"items.[INDEX].transactionRate","typeLabel":"number\u003cdouble>"},"upcomingOrderEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","STOP_FROM_CONTRACT","CONTRACT_PAUSED"],"type":"string","uniqueKey":"items.[INDEX].upcomingOrderEmailSentStatus","typeLabel":"enum\u003cstring>"},"upcomingOrderSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","STOP_FROM_CONTRACT","CONTRACT_PAUSED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"items.[INDEX].upcomingOrderSmsSentStatus","typeLabel":"enum\u003cstring>"},"usageChargeStatus":{"enum":["SUCCESS","FAILED","TO_BE_TRIED"],"type":"string","uniqueKey":"items.[INDEX].usageChargeStatus","typeLabel":"enum\u003cstring>"},"variantList":{"items":{"properties":{"image":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].image","typeLabel":"string"},"productId":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].productId","typeLabel":"string"},"productTitle":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].productTitle","typeLabel":"string"},"quantity":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].variantList.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"swapId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].variantList.items.[INDEX].swapId","typeLabel":"integer\u003cint64>"},"title":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].title","typeLabel":"string"},"variantId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].variantList.items.[INDEX].variantId","typeLabel":"integer\u003cint64>"},"variantTitle":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].variantTitle","typeLabel":"string"}},"type":"object","uniqueKey":"items.[INDEX].variantList.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"items.[INDEX].variantList","typeLabel":"object[]"}},"required":["retryingNeeded","shop"],"type":"object","uniqueKey":"items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"","typeLabel":"object[]"},"examples":{"Example":{"title":"Example","value":[{"retryingNeeded":true,"shop":"\u003cstring>","applyUsageCharge":true,"attemptCount":123,"attemptTime":"2023-11-07T05:31:56Z","billingAttemptId":"\u003cstring>","billingAttemptResponseMessage":"\u003cstring>","billingDate":"2023-11-07T05:31:56Z","contractId":123,"graphOrderId":"\u003cstring>","id":123,"inventorySkippedAttemptCount":123,"inventorySkippedRetryingNeeded":true,"lastShippingUpdatedAt":"2023-11-07T05:31:56Z","orderAmount":123,"orderAmountContractCurrency":123,"orderAmountShopCurrency":123,"orderAmountUSD":123,"orderAttributes":[{"key":"\u003cstring>","value":"\u003cstring>"}],"orderCancelReason":"CUSTOMER","orderCancelledAt":"2023-11-07T05:31:56Z","orderClosed":true,"orderClosedAt":"2023-11-07T05:31:56Z","orderConfirmed":true,"orderDisplayFinancialStatus":"PENDING","orderDisplayFulfillmentStatus":"UNFULFILLED","orderId":123,"orderName":"\u003cstring>","orderNote":"\u003cstring>","orderProcessedAt":"2023-11-07T05:31:56Z","partialLinesSkipped":"INVENTORY_MANAGEMENT","progressAttemptCount":123,"recurringChargeId":123,"securityChallengeSentStatus":"SENT","status":"SUCCESS","transactionFailedEmailSentStatus":"SENT","transactionFailedSmsSentStatus":"SENT","transactionRate":123,"upcomingOrderEmailSentStatus":"SENT","upcomingOrderSmsSentStatus":"SENT","usageChargeStatus":"SUCCESS","variantList":[{"image":"\u003cstring>","productId":"\u003cstring>","productTitle":"\u003cstring>","quantity":123,"swapId":123,"title":"\u003cstring>","variantId":123,"variantTitle":"\u003cstring>"}]}]}},"exampleType":"generated"}},"description":"Invalid parameters","exampleType":"generated"},"29883606-832e-434f-b751-14aee7067aa2":{"content":{"*/*":{"schema":{"items":{"properties":{"retryingNeeded":{"type":"boolean","isRequired":true,"uniqueKey":"items.[INDEX].retryingNeeded","typeLabel":"boolean"},"shop":{"type":"string","isRequired":true,"uniqueKey":"items.[INDEX].shop","typeLabel":"string"},"applyUsageCharge":{"type":"boolean","uniqueKey":"items.[INDEX].applyUsageCharge","typeLabel":"boolean"},"attemptCount":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].attemptCount","typeLabel":"integer\u003cint32>"},"attemptTime":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].attemptTime","typeLabel":"string\u003cdate-time>"},"billingAttemptId":{"type":"string","uniqueKey":"items.[INDEX].billingAttemptId","typeLabel":"string"},"billingAttemptResponseMessage":{"type":"string","uniqueKey":"items.[INDEX].billingAttemptResponseMessage","typeLabel":"string"},"billingDate":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].billingDate","typeLabel":"string\u003cdate-time>"},"contractId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].contractId","typeLabel":"integer\u003cint64>"},"graphOrderId":{"type":"string","uniqueKey":"items.[INDEX].graphOrderId","typeLabel":"string"},"id":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].id","typeLabel":"integer\u003cint64>"},"inventorySkippedAttemptCount":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].inventorySkippedAttemptCount","typeLabel":"integer\u003cint32>"},"inventorySkippedRetryingNeeded":{"type":"boolean","uniqueKey":"items.[INDEX].inventorySkippedRetryingNeeded","typeLabel":"boolean"},"lastShippingUpdatedAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].lastShippingUpdatedAt","typeLabel":"string\u003cdate-time>"},"orderAmount":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmount","typeLabel":"number\u003cdouble>"},"orderAmountContractCurrency":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmountContractCurrency","typeLabel":"number\u003cdouble>"},"orderAmountShopCurrency":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmountShopCurrency","typeLabel":"number\u003cdouble>"},"orderAmountUSD":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmountUSD","typeLabel":"number\u003cdouble>"},"orderAttributes":{"items":{"properties":{"key":{"type":"string","uniqueKey":"items.[INDEX].orderAttributes.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","uniqueKey":"items.[INDEX].orderAttributes.items.[INDEX].value","typeLabel":"string"}},"type":"object","uniqueKey":"items.[INDEX].orderAttributes.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"items.[INDEX].orderAttributes","typeLabel":"object[]"},"orderCancelReason":{"enum":["CUSTOMER","DECLINED","FRAUD","INVENTORY","STAFF","OTHER","$UNKNOWN"],"type":"string","uniqueKey":"items.[INDEX].orderCancelReason","typeLabel":"enum\u003cstring>"},"orderCancelledAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].orderCancelledAt","typeLabel":"string\u003cdate-time>"},"orderClosed":{"type":"boolean","uniqueKey":"items.[INDEX].orderClosed","typeLabel":"boolean"},"orderClosedAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].orderClosedAt","typeLabel":"string\u003cdate-time>"},"orderConfirmed":{"type":"boolean","uniqueKey":"items.[INDEX].orderConfirmed","typeLabel":"boolean"},"orderDisplayFinancialStatus":{"enum":["PENDING","AUTHORIZED","PARTIALLY_PAID","PARTIALLY_REFUNDED","VOIDED","PAID","REFUNDED","EXPIRED","$UNKNOWN"],"type":"string","uniqueKey":"items.[INDEX].orderDisplayFinancialStatus","typeLabel":"enum\u003cstring>"},"orderDisplayFulfillmentStatus":{"enum":["UNFULFILLED","PARTIALLY_FULFILLED","FULFILLED","RESTOCKED","PENDING_FULFILLMENT","OPEN","IN_PROGRESS","ON_HOLD","SCHEDULED","REQUEST_DECLINED","$UNKNOWN"],"type":"string","uniqueKey":"items.[INDEX].orderDisplayFulfillmentStatus","typeLabel":"enum\u003cstring>"},"orderId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].orderId","typeLabel":"integer\u003cint64>"},"orderName":{"type":"string","uniqueKey":"items.[INDEX].orderName","typeLabel":"string"},"orderNote":{"type":"string","uniqueKey":"items.[INDEX].orderNote","typeLabel":"string"},"orderProcessedAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].orderProcessedAt","typeLabel":"string\u003cdate-time>"},"partialLinesSkipped":{"enum":["INVENTORY_MANAGEMENT","MANUAL","ORPHANED_FREE_PRODUCT"],"type":"string","uniqueKey":"items.[INDEX].partialLinesSkipped","typeLabel":"enum\u003cstring>"},"progressAttemptCount":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].progressAttemptCount","typeLabel":"integer\u003cint32>"},"recurringChargeId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].recurringChargeId","typeLabel":"integer\u003cint64>"},"securityChallengeSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"items.[INDEX].securityChallengeSentStatus","typeLabel":"enum\u003cstring>"},"status":{"enum":["SUCCESS","FAILURE","REQUESTING","PROGRESS","QUEUED","SKIPPED","SOCIAL_CONNECTION_NULL","CONTRACT_CANCELLED","CONTRACT_ENDED","CONTRACT_PAUSED","AUTO_CHARGE_DISABLED","SHOPIFY_EXCEPTION","SKIPPED_DUNNING_MGMT","SKIPPED_INVENTORY_MGMT","IMMEDIATE_TRIGGERED","SECURITY_CHALLENGE","CONTRACT_PAUSED_MAX_CYCLES","REFUNDED","SKIPPED_DEMO_SHOP","SKIPPED_SHOP_INFO_NOT_FOUND","SKIPPED_BILLING_DATE_STALE","SKIPPED_DUNNING_NOT_CONFIGURED","PENDING_CONSOLIDATION"],"type":"string","uniqueKey":"items.[INDEX].status","typeLabel":"enum\u003cstring>"},"transactionFailedEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"items.[INDEX].transactionFailedEmailSentStatus","typeLabel":"enum\u003cstring>"},"transactionFailedSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"items.[INDEX].transactionFailedSmsSentStatus","typeLabel":"enum\u003cstring>"},"transactionRate":{"format":"double","type":"number","uniqueKey":"items.[INDEX].transactionRate","typeLabel":"number\u003cdouble>"},"upcomingOrderEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","STOP_FROM_CONTRACT","CONTRACT_PAUSED"],"type":"string","uniqueKey":"items.[INDEX].upcomingOrderEmailSentStatus","typeLabel":"enum\u003cstring>"},"upcomingOrderSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","STOP_FROM_CONTRACT","CONTRACT_PAUSED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"items.[INDEX].upcomingOrderSmsSentStatus","typeLabel":"enum\u003cstring>"},"usageChargeStatus":{"enum":["SUCCESS","FAILED","TO_BE_TRIED"],"type":"string","uniqueKey":"items.[INDEX].usageChargeStatus","typeLabel":"enum\u003cstring>"},"variantList":{"items":{"properties":{"image":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].image","typeLabel":"string"},"productId":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].productId","typeLabel":"string"},"productTitle":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].productTitle","typeLabel":"string"},"quantity":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].variantList.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"swapId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].variantList.items.[INDEX].swapId","typeLabel":"integer\u003cint64>"},"title":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].title","typeLabel":"string"},"variantId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].variantList.items.[INDEX].variantId","typeLabel":"integer\u003cint64>"},"variantTitle":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].variantTitle","typeLabel":"string"}},"type":"object","uniqueKey":"items.[INDEX].variantList.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"items.[INDEX].variantList","typeLabel":"object[]"}},"required":["retryingNeeded","shop"],"type":"object","uniqueKey":"items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"","typeLabel":"object[]"},"examples":{"Example":{"title":"Example","value":[{"retryingNeeded":true,"shop":"\u003cstring>","applyUsageCharge":true,"attemptCount":123,"attemptTime":"2023-11-07T05:31:56Z","billingAttemptId":"\u003cstring>","billingAttemptResponseMessage":"\u003cstring>","billingDate":"2023-11-07T05:31:56Z","contractId":123,"graphOrderId":"\u003cstring>","id":123,"inventorySkippedAttemptCount":123,"inventorySkippedRetryingNeeded":true,"lastShippingUpdatedAt":"2023-11-07T05:31:56Z","orderAmount":123,"orderAmountContractCurrency":123,"orderAmountShopCurrency":123,"orderAmountUSD":123,"orderAttributes":[{"key":"\u003cstring>","value":"\u003cstring>"}],"orderCancelReason":"CUSTOMER","orderCancelledAt":"2023-11-07T05:31:56Z","orderClosed":true,"orderClosedAt":"2023-11-07T05:31:56Z","orderConfirmed":true,"orderDisplayFinancialStatus":"PENDING","orderDisplayFulfillmentStatus":"UNFULFILLED","orderId":123,"orderName":"\u003cstring>","orderNote":"\u003cstring>","orderProcessedAt":"2023-11-07T05:31:56Z","partialLinesSkipped":"INVENTORY_MANAGEMENT","progressAttemptCount":123,"recurringChargeId":123,"securityChallengeSentStatus":"SENT","status":"SUCCESS","transactionFailedEmailSentStatus":"SENT","transactionFailedSmsSentStatus":"SENT","transactionRate":123,"upcomingOrderEmailSentStatus":"SENT","upcomingOrderSmsSentStatus":"SENT","usageChargeStatus":"SUCCESS","variantList":[{"image":"\u003cstring>","productId":"\u003cstring>","productTitle":"\u003cstring>","quantity":123,"swapId":123,"title":"\u003cstring>","variantId":123,"variantTitle":"\u003cstring>"}]}]}},"exampleType":"generated"}},"description":"Authentication required","exampleType":"generated"},"bc3d92d2-19ff-4b40-a94e-57f53a2d4f02":{"content":{"*/*":{"schema":{"items":{"properties":{"retryingNeeded":{"type":"boolean","isRequired":true,"uniqueKey":"items.[INDEX].retryingNeeded","typeLabel":"boolean"},"shop":{"type":"string","isRequired":true,"uniqueKey":"items.[INDEX].shop","typeLabel":"string"},"applyUsageCharge":{"type":"boolean","uniqueKey":"items.[INDEX].applyUsageCharge","typeLabel":"boolean"},"attemptCount":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].attemptCount","typeLabel":"integer\u003cint32>"},"attemptTime":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].attemptTime","typeLabel":"string\u003cdate-time>"},"billingAttemptId":{"type":"string","uniqueKey":"items.[INDEX].billingAttemptId","typeLabel":"string"},"billingAttemptResponseMessage":{"type":"string","uniqueKey":"items.[INDEX].billingAttemptResponseMessage","typeLabel":"string"},"billingDate":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].billingDate","typeLabel":"string\u003cdate-time>"},"contractId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].contractId","typeLabel":"integer\u003cint64>"},"graphOrderId":{"type":"string","uniqueKey":"items.[INDEX].graphOrderId","typeLabel":"string"},"id":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].id","typeLabel":"integer\u003cint64>"},"inventorySkippedAttemptCount":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].inventorySkippedAttemptCount","typeLabel":"integer\u003cint32>"},"inventorySkippedRetryingNeeded":{"type":"boolean","uniqueKey":"items.[INDEX].inventorySkippedRetryingNeeded","typeLabel":"boolean"},"lastShippingUpdatedAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].lastShippingUpdatedAt","typeLabel":"string\u003cdate-time>"},"orderAmount":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmount","typeLabel":"number\u003cdouble>"},"orderAmountContractCurrency":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmountContractCurrency","typeLabel":"number\u003cdouble>"},"orderAmountShopCurrency":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmountShopCurrency","typeLabel":"number\u003cdouble>"},"orderAmountUSD":{"format":"double","type":"number","uniqueKey":"items.[INDEX].orderAmountUSD","typeLabel":"number\u003cdouble>"},"orderAttributes":{"items":{"properties":{"key":{"type":"string","uniqueKey":"items.[INDEX].orderAttributes.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","uniqueKey":"items.[INDEX].orderAttributes.items.[INDEX].value","typeLabel":"string"}},"type":"object","uniqueKey":"items.[INDEX].orderAttributes.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"items.[INDEX].orderAttributes","typeLabel":"object[]"},"orderCancelReason":{"enum":["CUSTOMER","DECLINED","FRAUD","INVENTORY","STAFF","OTHER","$UNKNOWN"],"type":"string","uniqueKey":"items.[INDEX].orderCancelReason","typeLabel":"enum\u003cstring>"},"orderCancelledAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].orderCancelledAt","typeLabel":"string\u003cdate-time>"},"orderClosed":{"type":"boolean","uniqueKey":"items.[INDEX].orderClosed","typeLabel":"boolean"},"orderClosedAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].orderClosedAt","typeLabel":"string\u003cdate-time>"},"orderConfirmed":{"type":"boolean","uniqueKey":"items.[INDEX].orderConfirmed","typeLabel":"boolean"},"orderDisplayFinancialStatus":{"enum":["PENDING","AUTHORIZED","PARTIALLY_PAID","PARTIALLY_REFUNDED","VOIDED","PAID","REFUNDED","EXPIRED","$UNKNOWN"],"type":"string","uniqueKey":"items.[INDEX].orderDisplayFinancialStatus","typeLabel":"enum\u003cstring>"},"orderDisplayFulfillmentStatus":{"enum":["UNFULFILLED","PARTIALLY_FULFILLED","FULFILLED","RESTOCKED","PENDING_FULFILLMENT","OPEN","IN_PROGRESS","ON_HOLD","SCHEDULED","REQUEST_DECLINED","$UNKNOWN"],"type":"string","uniqueKey":"items.[INDEX].orderDisplayFulfillmentStatus","typeLabel":"enum\u003cstring>"},"orderId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].orderId","typeLabel":"integer\u003cint64>"},"orderName":{"type":"string","uniqueKey":"items.[INDEX].orderName","typeLabel":"string"},"orderNote":{"type":"string","uniqueKey":"items.[INDEX].orderNote","typeLabel":"string"},"orderProcessedAt":{"format":"date-time","type":"string","uniqueKey":"items.[INDEX].orderProcessedAt","typeLabel":"string\u003cdate-time>"},"partialLinesSkipped":{"enum":["INVENTORY_MANAGEMENT","MANUAL","ORPHANED_FREE_PRODUCT"],"type":"string","uniqueKey":"items.[INDEX].partialLinesSkipped","typeLabel":"enum\u003cstring>"},"progressAttemptCount":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].progressAttemptCount","typeLabel":"integer\u003cint32>"},"recurringChargeId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].recurringChargeId","typeLabel":"integer\u003cint64>"},"securityChallengeSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"items.[INDEX].securityChallengeSentStatus","typeLabel":"enum\u003cstring>"},"status":{"enum":["SUCCESS","FAILURE","REQUESTING","PROGRESS","QUEUED","SKIPPED","SOCIAL_CONNECTION_NULL","CONTRACT_CANCELLED","CONTRACT_ENDED","CONTRACT_PAUSED","AUTO_CHARGE_DISABLED","SHOPIFY_EXCEPTION","SKIPPED_DUNNING_MGMT","SKIPPED_INVENTORY_MGMT","IMMEDIATE_TRIGGERED","SECURITY_CHALLENGE","CONTRACT_PAUSED_MAX_CYCLES","REFUNDED","SKIPPED_DEMO_SHOP","SKIPPED_SHOP_INFO_NOT_FOUND","SKIPPED_BILLING_DATE_STALE","SKIPPED_DUNNING_NOT_CONFIGURED","PENDING_CONSOLIDATION"],"type":"string","uniqueKey":"items.[INDEX].status","typeLabel":"enum\u003cstring>"},"transactionFailedEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"items.[INDEX].transactionFailedEmailSentStatus","typeLabel":"enum\u003cstring>"},"transactionFailedSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"items.[INDEX].transactionFailedSmsSentStatus","typeLabel":"enum\u003cstring>"},"transactionRate":{"format":"double","type":"number","uniqueKey":"items.[INDEX].transactionRate","typeLabel":"number\u003cdouble>"},"upcomingOrderEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","STOP_FROM_CONTRACT","CONTRACT_PAUSED"],"type":"string","uniqueKey":"items.[INDEX].upcomingOrderEmailSentStatus","typeLabel":"enum\u003cstring>"},"upcomingOrderSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","STOP_FROM_CONTRACT","CONTRACT_PAUSED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"items.[INDEX].upcomingOrderSmsSentStatus","typeLabel":"enum\u003cstring>"},"usageChargeStatus":{"enum":["SUCCESS","FAILED","TO_BE_TRIED"],"type":"string","uniqueKey":"items.[INDEX].usageChargeStatus","typeLabel":"enum\u003cstring>"},"variantList":{"items":{"properties":{"image":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].image","typeLabel":"string"},"productId":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].productId","typeLabel":"string"},"productTitle":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].productTitle","typeLabel":"string"},"quantity":{"format":"int32","type":"integer","uniqueKey":"items.[INDEX].variantList.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"swapId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].variantList.items.[INDEX].swapId","typeLabel":"integer\u003cint64>"},"title":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].title","typeLabel":"string"},"variantId":{"format":"int64","type":"integer","uniqueKey":"items.[INDEX].variantList.items.[INDEX].variantId","typeLabel":"integer\u003cint64>"},"variantTitle":{"type":"string","uniqueKey":"items.[INDEX].variantList.items.[INDEX].variantTitle","typeLabel":"string"}},"type":"object","uniqueKey":"items.[INDEX].variantList.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"items.[INDEX].variantList","typeLabel":"object[]"}},"required":["retryingNeeded","shop"],"type":"object","uniqueKey":"items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"","typeLabel":"object[]"},"examples":{"Example":{"title":"Example","value":[{"retryingNeeded":true,"shop":"\u003cstring>","applyUsageCharge":true,"attemptCount":123,"attemptTime":"2023-11-07T05:31:56Z","billingAttemptId":"\u003cstring>","billingAttemptResponseMessage":"\u003cstring>","billingDate":"2023-11-07T05:31:56Z","contractId":123,"graphOrderId":"\u003cstring>","id":123,"inventorySkippedAttemptCount":123,"inventorySkippedRetryingNeeded":true,"lastShippingUpdatedAt":"2023-11-07T05:31:56Z","orderAmount":123,"orderAmountContractCurrency":123,"orderAmountShopCurrency":123,"orderAmountUSD":123,"orderAttributes":[{"key":"\u003cstring>","value":"\u003cstring>"}],"orderCancelReason":"CUSTOMER","orderCancelledAt":"2023-11-07T05:31:56Z","orderClosed":true,"orderClosedAt":"2023-11-07T05:31:56Z","orderConfirmed":true,"orderDisplayFinancialStatus":"PENDING","orderDisplayFulfillmentStatus":"UNFULFILLED","orderId":123,"orderName":"\u003cstring>","orderNote":"\u003cstring>","orderProcessedAt":"2023-11-07T05:31:56Z","partialLinesSkipped":"INVENTORY_MANAGEMENT","progressAttemptCount":123,"recurringChargeId":123,"securityChallengeSentStatus":"SENT","status":"SUCCESS","transactionFailedEmailSentStatus":"SENT","transactionFailedSmsSentStatus":"SENT","transactionRate":123,"upcomingOrderEmailSentStatus":"SENT","upcomingOrderSmsSentStatus":"SENT","usageChargeStatus":"SUCCESS","variantList":[{"image":"\u003cstring>","productId":"\u003cstring>","productTitle":"\u003cstring>","quantity":123,"swapId":123,"title":"\u003cstring>","variantId":123,"variantTitle":"\u003cstring>"}]}]}},"exampleType":"generated"}},"description":"Insufficient permissions","exampleType":"generated"}},"security":{},"servers":{"d3c9e56f-e67b-483f-979d-9b57afc23940":{"url":"https://subscription-admin.appstle.com"}}},"originalFileLocation":"subscription/admin-api-swagger.json"},"subdomain":"appstleinc-aeca3e0a","siteName":"Appstle","title":"Get past orders - Appstle","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-08T12:41:23.521Z","originalFileLocation":"subscription-admin-api/billing-\u0026-payments/get-past-orders.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Retrieves paginated list of past (processed) billing attempts for the whole shop, a subscription contract, or a customer. Includes successful orders, failed attempts, and skipped orders. Upcoming (QUEUED) orders are not included. Initial (checkout) orders are not included. The order the customer placed at checkout that created the subscription is not a billing attempt, so a shop or contract with no renewals yet returns an empty list. Get initial orders from GET /api/external/v2/subscription-contract-details (fields orderId, orderName, orderAmount, createdAt), filtering by fromCreatedDate / toCreatedDate for incremental syncs. Filter Options: - No filter: Get past orders across all subscription contracts of the shop (use this for bulk sync / data pipelines instead of calling once per contract) - By contract ID: Get order history for specific subscription - By customer ID: Get all orders across all customer subscriptions - If both contractId and customerId are passed, contractId takes precedence Pagination: - Query parameters: page (zero-based, default 0), size (default 20, recommended max 250) - Results are sorted by attempt time (or billing date when not yet attempted), newest first - Response headers: X-Total-Count (total number of records) and Link (next/prev/first/last page URLs) - Keep requesting the next page until the response is an empty array or page reaches the last page Example (all past orders of the shop): GET /api/external/v2/subscription-billing-attempts/past-orders?page=0\u0026amp;size=250 Notes: - New orders created while paging shift results between pages; de-duplicate on id, or use the past orders report endpoint with a fixed toDay for a stable window - Line items (variantList) are served from cached Shopify order data. For orders not yet cached the list may be empty on the first request and is populated on subsequent requests Order Information: - Billing attempt status (SUCCESS, FAILED, SKIPPED) - Shopify order ID for successful attempts - Billing date and processing date - Order total and line items - Error messages for failed attempts Authentication: Requires valid X-API-Key header\">\u003cmeta data-mint-head name=\"application-name\" content=\"Appstle\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/appstleinc-aeca3e0a/qTHqMufQccFjyOE2/_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/appstleinc-aeca3e0a/qTHqMufQccFjyOE2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/appstleinc-aeca3e0a/qTHqMufQccFjyOE2/_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/appstleinc-aeca3e0a/qTHqMufQccFjyOE2/_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/appstleinc-aeca3e0a/qTHqMufQccFjyOE2/_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/appstleinc-aeca3e0a/qTHqMufQccFjyOE2/_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/appstleinc-aeca3e0a/qTHqMufQccFjyOE2/_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/appstleinc-aeca3e0a/qTHqMufQccFjyOE2/_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/appstleinc-aeca3e0a/qTHqMufQccFjyOE2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get past orders - Appstle\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieves paginated list of past (processed) billing attempts for the whole shop, a subscription contract, or a customer. Includes successful orders, failed attempts, and skipped orders. Upcoming (QUEUED) orders are not included. Initial (checkout) orders are not included. The order the customer placed at checkout that created the subscription is not a billing attempt, so a shop or contract with no renewals yet returns an empty list. Get initial orders from GET /api/external/v2/subscription-contract-details (fields orderId, orderName, orderAmount, createdAt), filtering by fromCreatedDate / toCreatedDate for incremental syncs. Filter Options: - No filter: Get past orders across all subscription contracts of the shop (use this for bulk sync / data pipelines instead of calling once per contract) - By contract ID: Get order history for specific subscription - By customer ID: Get all orders across all customer subscriptions - If both contractId and customerId are passed, contractId takes precedence Pagination: - Query parameters: page (zero-based, default 0), size (default 20, recommended max 250) - Results are sorted by attempt time (or billing date when not yet attempted), newest first - Response headers: X-Total-Count (total number of records) and Link (next/prev/first/last page URLs) - Keep requesting the next page until the response is an empty array or page reaches the last page Example (all past orders of the shop): GET /api/external/v2/subscription-billing-attempts/past-orders?page=0\u0026amp;size=250 Notes: - New orders created while paging shift results between pages; de-duplicate on id, or use the past orders report endpoint with a fixed toDay for a stable window - Line items (variantList) are served from cached Shopify order data. For orders not yet cached the list may be empty on the first request and is populated on subsequent requests Order Information: - Billing attempt status (SUCCESS, FAILED, SKIPPED) - Shopify order ID for successful attempts - Billing date and processing date - Order total and line items - Error messages for failed attempts Authentication: Requires valid X-API-Key header\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Appstle\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.appstle.com/subscription-admin-api/billing-\u0026amp;-payments/get-past-orders\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://appstleinc-aeca3e0a.mintlify.site/_mintlify/api/og/v2?division=Billing+%26+Payments\u0026amp;title=Get+past+orders\u0026amp;description=Retrieves+paginated+list+of+past+%28processed%29+billing+attempts+for+the+whole+shop%2C+a+subscription+contract%2C+or+a+customer.+Includes+successful+orders%2C+failed+att\u0026amp;theme=5c3420c08540c444b143045f\u0026amp;signature=32c6d6ff093fb470449925025553ec2cf470d63755a7e8aa021680db432ee7fa\">\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=\"Get past orders - Appstle\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieves paginated list of past (processed) billing attempts for the whole shop, a subscription contract, or a customer. Includes successful orders, failed attempts, and skipped orders. Upcoming (QUEUED) orders are not included. Initial (checkout) orders are not included. The order the customer placed at checkout that created the subscription is not a billing attempt, so a shop or contract with no renewals yet returns an empty list. Get initial orders from GET /api/external/v2/subscription-contract-details (fields orderId, orderName, orderAmount, createdAt), filtering by fromCreatedDate / toCreatedDate for incremental syncs. Filter Options: - No filter: Get past orders across all subscription contracts of the shop (use this for bulk sync / data pipelines instead of calling once per contract) - By contract ID: Get order history for specific subscription - By customer ID: Get all orders across all customer subscriptions - If both contractId and customerId are passed, contractId takes precedence Pagination: - Query parameters: page (zero-based, default 0), size (default 20, recommended max 250) - Results are sorted by attempt time (or billing date when not yet attempted), newest first - Response headers: X-Total-Count (total number of records) and Link (next/prev/first/last page URLs) - Keep requesting the next page until the response is an empty array or page reaches the last page Example (all past orders of the shop): GET /api/external/v2/subscription-billing-attempts/past-orders?page=0\u0026amp;size=250 Notes: - New orders created while paging shift results between pages; de-duplicate on id, or use the past orders report endpoint with a fixed toDay for a stable window - Line items (variantList) are served from cached Shopify order data. For orders not yet cached the list may be empty on the first request and is populated on subsequent requests Order Information: - Billing attempt status (SUCCESS, FAILED, SKIPPED) - Shopify order ID for successful attempts - Billing date and processing date - Order total and line items - Error messages for failed attempts Authentication: Requires valid X-API-Key header\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://appstleinc-aeca3e0a.mintlify.site/_mintlify/api/og/v2?division=Billing+%26+Payments\u0026amp;title=Get+past+orders\u0026amp;description=Retrieves+paginated+list+of+past+%28processed%29+billing+attempts+for+the+whole+shop%2C+a+subscription+contract%2C+or+a+customer.+Includes+successful+orders%2C+failed+att\u0026amp;theme=5c3420c08540c444b143045f\u0026amp;signature=32c6d6ff093fb470449925025553ec2cf470d63755a7e8aa021680db432ee7fa\">\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/appstleinc-aeca3e0a/qTHqMufQccFjyOE2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Appstle\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0caceb\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.appstle.com/subscription-admin-api/billing-\u0026amp;-payments/get-past-orders\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/subscription-admin-api/billing-%26-payments/get-past-orders.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.appstle.com/#organization\",\"name\":\"Appstle\",\"url\":\"https://developers.appstle.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://developers.appstle.com#website\",\"name\":\"Appstle\",\"url\":\"https://developers.appstle.com\",\"publisher\":{\"@id\":\"https://developers.appstle.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.appstle.com/subscription-admin-api/billing-\u0026-payments/get-past-orders#webpage\",\"url\":\"https://developers.appstle.com/subscription-admin-api/billing-\u0026-payments/get-past-orders\",\"name\":\"Get past orders\",\"description\":\"Retrieves paginated list of past (processed) billing attempts for the whole shop, a subscription contract, or a customer. Includes successful orders, failed attempts, and skipped orders. Upcoming (QUEUED) orders are not included. Initial (checkout) orders are not included. The order the customer placed at checkout that created the subscription is not a billing attempt, so a shop or contract with no renewals yet returns an empty list. Get initial orders from GET /api/external/v2/subscription-contract-details (fields orderId, orderName, orderAmount, createdAt), filtering by fromCreatedDate / toCreatedDate for incremental syncs. Filter Options: - No filter: Get past orders across all subscription contracts of the shop (use this for bulk sync / data pipelines instead of calling once per contract) - By contract ID: Get order history for specific subscription - By customer ID: Get all orders across all customer subscriptions - If both contractId and customerId are passed, contractId takes precedence Pagination: - Query parameters: page (zero-based, default 0), size (default 20, recommended max 250) - Results are sorted by attempt time (or billing date when not yet attempted), newest first - Response headers: X-Total-Count (total number of records) and Link (next/prev/first/last page URLs) - Keep requesting the next page until the response is an empty array or page reaches the last page Example (all past orders of the shop): GET /api/external/v2/subscription-billing-attempts/past-orders?page=0\u0026size=250 Notes: - New orders created while paging shift results between pages; de-duplicate on id, or use the past orders report endpoint with a fixed toDay for a stable window - Line items (variantList) are served from cached Shopify order data. For orders not yet cached the list may be empty on the first request and is populated on subsequent requests Order Information: - Billing attempt status (SUCCESS, FAILED, SKIPPED) - Shopify order ID for successful attempts - Billing date and processing date - Order total and line items - Error messages for failed attempts Authentication: Requires valid X-API-Key header\",\"dateModified\":\"2026-11-08T12:41:23.521Z\",\"isPartOf\":{\"@id\":\"https://developers.appstle.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.appstle.com/subscription-admin-api/billing-\u0026-payments/get-past-orders#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.appstle.com/subscription-admin-api/billing-\u0026-payments/get-past-orders#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Admin API\",\"item\":\"https://developers.appstle.com/subscription-admin-api/operations-\u0026-settings/getsearch-activity-logs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Billing \u0026 Payments\",\"item\":\"https://developers.appstle.com/subscription-admin-api/billing-\u0026-payments/update-subscription-billing-attempt\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get past orders\",\"item\":\"https://developers.appstle.com/subscription-admin-api/billing-\u0026-payments/get-past-orders\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.appstle.com/subscription-admin-api/billing-\u0026-payments/get-past-orders#apireference\",\"headline\":\"Get past orders\",\"name\":\"Get past orders\",\"description\":\"Retrieves paginated list of past (processed) billing attempts for the whole shop, a subscription contract, or a customer. Includes successful orders, failed attempts, and skipped orders. Upcoming (QUEUED) orders are not included. Initial (checkout) orders are not included. The order the customer placed at checkout that created the subscription is not a billing attempt, so a shop or contract with no renewals yet returns an empty list. Get initial orders from GET /api/external/v2/subscription-contract-details (fields orderId, orderName, orderAmount, createdAt), filtering by fromCreatedDate / toCreatedDate for incremental syncs. Filter Options: - No filter: Get past orders across all subscription contracts of the shop (use this for bulk sync / data pipelines instead of calling once per contract) - By contract ID: Get order history for specific subscription - By customer ID: Get all orders across all customer subscriptions - If both contractId and customerId are passed, contractId takes precedence Pagination: - Query parameters: page (zero-based, default 0), size (default 20, recommended max 250) - Results are sorted by attempt time (or billing date when not yet attempted), newest first - Response headers: X-Total-Count (total number of records) and Link (next/prev/first/last page URLs) - Keep requesting the next page until the response is an empty array or page reaches the last page Example (all past orders of the shop): GET /api/external/v2/subscription-billing-attempts/past-orders?page=0\u0026size=250 Notes: - New orders created while paging shift results between pages; de-duplicate on id, or use the past orders report endpoint with a fixed toDay for a stable window - Line items (variantList) are served from cached Shopify order data. For orders not yet cached the list may be empty on the first request and is populated on subsequent requests Order Information: - Billing attempt status (SUCCESS, FAILED, SKIPPED) - Shopify order ID for successful attempts - Billing date and processing date - Order total and line items - Error messages for failed attempts Authentication: Requires valid X-API-Key header\",\"url\":\"https://developers.appstle.com/subscription-admin-api/billing-\u0026-payments/get-past-orders\",\"mainEntityOfPage\":{\"@id\":\"https://developers.appstle.com/subscription-admin-api/billing-\u0026-payments/get-past-orders#webpage\"},\"dateModified\":\"2026-11-08T12:41:23.521Z\",\"publisher\":{\"@id\":\"https://developers.appstle.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.appstle.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Appstle\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Appstle\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/subscription-admin-api/billing-%26-payments/get-past-orders.md","siteName":"Appstle","nav":{"global":null,"tabs":[{"tab":"Subscriptions","icon":"arrows-rotate","groups":[{"group":"Get started","pages":[{"title":"Appstle Subscriptions: Recurring Revenue for Shopify","sidebarTitle":"Introduction","href":"/subscription/introduction"},{"title":"Authenticate with the Appstle Subscriptions API","sidebarTitle":"Authentication","href":"/subscription/authentication"},{"title":"Get started with Appstle Subscriptions API","sidebarTitle":"Quickstart","href":"/subscription/quickstart"}]},{"group":"Backend integration","pages":[{"title":"Appstle Subscriptions integration guide","sidebarTitle":"Integration guide","href":"/subscription/integration-guide"},{"title":"Appstle Subscriptions webhook events and setup","sidebarTitle":"Webhooks","href":"/subscription/webhooks"},{"title":"Automate subscriptions with Shopify Flow","sidebarTitle":"Shopify Flow","href":"/subscription/shopify-flow"}]},{"group":"Storefront integration","pages":[{"title":"Build your own subscription frontend","sidebarTitle":"Build your own frontend","href":"/subscription/build-your-own-frontend"},{"title":"Build a Dynamic Pricing Build-a-Box with a custom UI","sidebarTitle":"Dynamic Pricing Build-a-Box","href":"/subscription/dynamic-pricing-box-custom-ui"},{"title":"Build a fixed-price Build-a-Box with a custom UI","sidebarTitle":"Fixed-price Build-a-Box","href":"/subscription/fixed-price-box-custom-ui"},{"title":"Sell gift subscriptions from your own storefront","sidebarTitle":"Gift subscriptions","href":"/subscription/gift-subscriptions"},{"title":"JavaScript events for the Appstle storefront widget","sidebarTitle":"JavaScript hooks","href":"/subscription/javascript-hooks"},{"title":"Shopify metafields and tags for Appstle Subscriptions","sidebarTitle":"Metafields \u0026 tags","href":"/subscription/metafields-and-tags"}]},{"group":"Partner integration","pages":[{"title":"Partner Integration Framework overview","sidebarTitle":"Framework overview","href":"/subscription/partner-framework-overview"},{"title":"Partner Integration Framework","sidebarTitle":"Partner integration","href":"/subscription/partner-integration"}]},{"group":"Resources","pages":[{"title":"Appstle Subscriptions API changelog","sidebarTitle":"API changelog","href":"/subscription/api-changelog"},{"title":"Appstle Subscriptions frequently asked questions","sidebarTitle":"FAQ","href":"/subscription/faq"}]},{"group":"Admin API","pages":[{"group":"Operations \u0026 Settings","pages":[{"title":"Get/Search activity logs","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/activity-logs","href":"/subscription-admin-api/operations-\u0026-settings/getsearch-activity-logs"},{"title":"Bulk update subscription billing interval","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/bulk-automations/billing-interval","href":"/subscription-admin-api/operations-\u0026-settings/bulk-update-subscription-billing-interval"},{"title":"Bulk update subscription delivery method","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/bulk-automations/delivery-method","href":"/subscription-admin-api/operations-\u0026-settings/bulk-update-subscription-delivery-method"},{"title":"Bulk update subscription delivery price","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/bulk-automations/delivery-price","href":"/subscription-admin-api/operations-\u0026-settings/bulk-update-subscription-delivery-price"},{"title":"Hide subscriptions in bulk","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/bulk-automations/hide-subscriptions","href":"/subscription-admin-api/operations-\u0026-settings/hide-subscriptions-in-bulk"},{"title":"Replace products in subscriptions in bulk","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/bulk-automations/replace-product","href":"/subscription-admin-api/operations-\u0026-settings/replace-products-in-subscriptions-in-bulk"},{"title":"Get cancellation management configuration","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/cancellation-managements/{id}","href":"/subscription-admin-api/operations-\u0026-settings/get-cancellation-management-configuration"},{"title":"Create a new shipping/delivery profile","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/delivery-profiles/create-shipping-profile","href":"/subscription-admin-api/operations-\u0026-settings/create-a-new-shippingdelivery-profile"},{"title":"Create a new shipping/delivery profile (V2)","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/delivery-profiles/v2/create-shipping-profile","href":"/subscription-admin-api/operations-\u0026-settings/create-a-new-shippingdelivery-profile-v2"},{"title":"Create a new shipping/delivery profile (V3)","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/delivery-profiles/v3/create-shipping-profile","href":"/subscription-admin-api/operations-\u0026-settings/create-a-new-shippingdelivery-profile-v3"}]},{"group":"Subscription Contracts","pages":[{"title":"Associate external payment gateway customer with Shopify customer","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/associate-shopify-customer-to-external-payment-gateways","href":"/subscription-admin-api/subscription-contracts/associate-external-payment-gateway-customer-with-shopify-customer"},{"title":"Retrieve raw Shopify GraphQL response for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/contract-raw-response","href":"/subscription-admin-api/subscription-contracts/retrieve-raw-shopify-graphql-response-for-a-subscription-contract"},{"title":"Generate customer portal authentication token","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/customer-portal-token","href":"/subscription-admin-api/subscription-contracts/generate-customer-portal-authentication-token"},{"title":"Retrieve subscription contracts","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-contract-details","href":"/subscription-admin-api/subscription-contracts/retrieve-subscription-contracts"},{"title":"Add custom discount to subscription","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-add-discount","href":"/subscription-admin-api/subscription-contracts/add-custom-discount-to-subscription"},{"title":"Apply discount code to subscription","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-apply-discount","href":"/subscription-admin-api/subscription-contracts/apply-discount-code-to-subscription"},{"title":"Replace all line item attributes in bulk across subscription contracts","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-bulk-update-line-item-attributes","href":"/subscription-admin-api/subscription-contracts/replace-all-line-item-attributes-in-bulk-across-subscription-contracts"},{"title":"Send magic link email to customer for portal access","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-contracts-email-magic-link","href":"/subscription-admin-api/subscription-contracts/send-magic-link-email-to-customer-for-portal-access"},{"title":"Remove discount from subscription","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-remove-discount","href":"/subscription-admin-api/subscription-contracts/remove-discount-from-subscription"},{"title":"Update next billing date for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-billing-date","href":"/subscription-admin-api/subscription-contracts/update-next-billing-date-for-a-subscription-contract"},{"title":"Update billing interval for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-billing-interval","href":"/subscription-admin-api/subscription-contracts/update-billing-interval-for-a-subscription-contract"},{"title":"Update Subscription contract frequency by compatible selling-plan frequency","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-frequency-by-compatible-plan","href":"/subscription-admin-api/subscription-contracts/update-subscription-contract-frequency-by-compatible-selling-plan-frequency"},{"title":"Update Subscription contract frequency by selling plan","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-frequency-by-selling-plan","href":"/subscription-admin-api/subscription-contracts/update-subscription-contract-frequency-by-selling-plan"},{"title":"Update line item attributes for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-line-item-attributes","href":"/subscription-admin-api/subscription-contracts/update-line-item-attributes-for-a-subscription-contract"},{"title":"Update multiple line item attributes for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-multiple-line-item-attributes","href":"/subscription-admin-api/subscription-contracts/update-multiple-line-item-attributes-for-a-subscription-contract"},{"title":"Cancel a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json delete /api/external/v2/subscription-contracts/{id}","href":"/subscription-admin-api/subscription-contracts/cancel-a-subscription-contract"}]},{"group":"Build-a-Box \u0026 Bundles","pages":[{"title":"Update an existing Build-A-Box subscription bundle","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/build-a-box","href":"/subscription-admin-api/build-a-box-\u0026-bundles/update-an-existing-build-a-box-subscription-bundle"},{"title":"Create a new Build-A-Box subscription bundle","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/build-a-box","href":"/subscription-admin-api/build-a-box-\u0026-bundles/create-a-new-build-a-box-subscription-bundle"},{"title":"Retrieve Build-A-Box bundle details by handle for customer storefront","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/build-a-box/{handle}","href":"/subscription-admin-api/build-a-box-\u0026-bundles/retrieve-build-a-box-bundle-details-by-handle-for-customer-storefront"},{"title":"Retrieve a Build-A-Box bundle by ID","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/build-a-box/{id}","href":"/subscription-admin-api/build-a-box-\u0026-bundles/retrieve-a-build-a-box-bundle-by-id"},{"title":"Delete a Build-A-Box subscription bundle","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json delete /api/external/v2/build-a-box/{id}","href":"/subscription-admin-api/build-a-box-\u0026-bundles/delete-a-build-a-box-subscription-bundle"},{"title":"Get subscription bundle settings (Build-a-Box configuration)","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-bundle-settings/{id}","href":"/subscription-admin-api/build-a-box-\u0026-bundles/get-subscription-bundle-settings-build-a-box-configuration"},{"title":"Update subscription bundling configuration","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-bundling/update","href":"/subscription-admin-api/build-a-box-\u0026-bundles/update-subscription-bundling-configuration"},{"title":"Generate discount code for bundle","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-bundlings/discount/{token}","href":"/subscription-admin-api/build-a-box-\u0026-bundles/generate-discount-code-for-bundle"},{"title":"Get bundle details by handle","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-bundlings/external/get-bundle/{handle}","href":"/subscription-admin-api/build-a-box-\u0026-bundles/get-bundle-details-by-handle"}]},{"group":"Customization","pages":[{"title":"Get customer portal settings","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/customer-portal-settings/{id}","href":"/subscription-admin-api/customization/get-customer-portal-settings"},{"title":"Get custom CSS for customer portal","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-custom-csses/{id}","href":"/subscription-admin-api/customization/get-custom-css-for-customer-portal"},{"title":"Regenerate subscription widget scripts","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/theme-settings/regenerate-scripts-for-shop","href":"/subscription-admin-api/customization/regenerate-subscription-widget-scripts"}]},{"group":"Customer Retention","pages":[{"title":"Get customer retention activities","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/customer-retention-activities","href":"/subscription-admin-api/customer-retention/get-customer-retention-activities"}]},{"group":"Subscription Data","pages":[{"title":"Get delivery options for subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/data/contract-delivery-options","href":"/subscription-admin-api/subscription-data/get-delivery-options-for-subscription-contract"}]},{"group":"Customers","pages":[{"title":"Generate customer portal access link by customer ID or email","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/manage-subscription-link","href":"/subscription-admin-api/customers/generate-customer-portal-access-link-by-customer-id-or-email"},{"title":"Generate customer portal link","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/manage-subscription-link/{customerId}","href":"/subscription-admin-api/customers/generate-customer-portal-link"},{"title":"Retrieve customers with subscriptions","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-contract-details/customers","href":"/subscription-admin-api/customers/retrieve-customers-with-subscriptions"},{"title":"Get customer payment methods from Shopify","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-contract-details/shopify/customer/{customerId}/payment-methods","href":"/subscription-admin-api/customers/get-customer-payment-methods-from-shopify"},{"title":"Get detailed subscription information for a customer","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-customers-detail/valid/{customerId}","href":"/subscription-admin-api/customers/get-detailed-subscription-information-for-a-customer"},{"title":"Sync customer subscription details from Shopify","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-customers/sync-info/{customerId}","href":"/subscription-admin-api/customers/sync-customer-subscription-details-from-shopify"},{"title":"Get valid subscription contract IDs for a customer","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-customers/valid/{customerId}","href":"/subscription-admin-api/customers/get-valid-subscription-contract-ids-for-a-customer"},{"title":"Get customer details with subscriptions","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-customers/{id}","href":"/subscription-admin-api/customers/get-customer-details-with-subscriptions"}]},{"group":"Product Catalog","pages":[{"title":"Get all product swaps for a shop","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/product-swaps","href":"/subscription-admin-api/product-catalog/get-all-product-swaps-for-a-shop"},{"title":"Update an existing product swap automation","deprecated":true,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/product-swaps","href":"/subscription-admin-api/product-catalog/update-an-existing-product-swap-automation"},{"title":"Create a new product swap automation","deprecated":true,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/product-swaps","href":"/subscription-admin-api/product-catalog/create-a-new-product-swap-automation"},{"title":"Get product swap variant groups for a contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/product-swaps-by-variant-groups/{contractId}","href":"/subscription-admin-api/product-catalog/get-product-swap-variant-groups-for-a-contract"},{"title":"Get a specific product swap by ID","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/product-swaps/{id}","href":"/subscription-admin-api/product-catalog/get-a-specific-product-swap-by-id"},{"title":"Delete a product swap automation","deprecated":true,"version":null,"openapi":"/subscription/admin-api-swagger.json delete /api/external/v2/product-swaps/{id}","href":"/subscription-admin-api/product-catalog/delete-a-product-swap-automation"}]},{"group":"Subscription Management","pages":[{"title":"List quick checkout links","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/quick-checkout/links","href":"/subscription-admin-api/subscription-management/list-quick-checkout-links"},{"title":"Get subscription contract analytics and revenue metrics","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-contract-details/analytics/{contractId}","href":"/subscription-admin-api/subscription-management/get-subscription-contract-analytics-and-revenue-metrics"},{"title":"Get available billing intervals for selling plan(s)","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-contract-details/billing-interval","href":"/subscription-admin-api/subscription-management/get-available-billing-intervals-for-selling-plans"},{"title":"Create a new subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/subscription-contract-details/create-subscription-contract","href":"/subscription-admin-api/subscription-management/create-a-new-subscription-contract"},{"title":"Get current billing cycle number for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-contract-details/current-cycle/{contractId}","href":"/subscription-admin-api/subscription-management/get-current-billing-cycle-number-for-a-subscription-contract"},{"title":"Replace product variants in a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/subscription-contract-details/replace-variants-v3","href":"/subscription-admin-api/subscription-management/replace-product-variants-in-a-subscription-contract"},{"title":"Split or duplicate an existing subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/subscription-contract-details/split-existing-contract","href":"/subscription-admin-api/subscription-management/split-or-duplicate-an-existing-subscription-contract"},{"title":"Get subscription fulfillment details for latest order","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-contract-details/subscription-fulfillments/{contractId}","href":"/subscription-admin-api/subscription-management/get-subscription-fulfillment-details-for-latest-order"},{"title":"Update delivery interval for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-delivery-interval","href":"/subscription-admin-api/subscription-management/update-delivery-interval-for-a-subscription-contract"},{"title":"Update subscription delivery method","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-delivery-method","href":"/subscription-admin-api/subscription-management/update-subscription-delivery-method"},{"title":"Update delivery price for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-delivery-price","href":"/subscription-admin-api/subscription-management/update-delivery-price-for-a-subscription-contract"},{"title":"Turn custom delivery price on or off for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-delivery-price-override","href":"/subscription-admin-api/subscription-management/turn-custom-delivery-price-on-or-off-for-a-subscription-contract"},{"title":"Update maximum cycles for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-max-cycles","href":"/subscription-admin-api/subscription-management/update-maximum-cycles-for-a-subscription-contract"},{"title":"Update minimum cycles for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-min-cycles","href":"/subscription-admin-api/subscription-management/update-minimum-cycles-for-a-subscription-contract"},{"title":"Update order note for subscription","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-order-note/{contractId}","href":"/subscription-admin-api/subscription-management/update-order-note-for-subscription"},{"title":"Update subscription delivery address and method","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-shipping-address","href":"/subscription-admin-api/subscription-management/update-subscription-delivery-address-and-method"},{"title":"Update subscription contract status","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-status","href":"/subscription-admin-api/subscription-management/update-subscription-contract-status"},{"title":"Get raw Shopify GraphQL contract response","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-contracts/contract-external/{contractId}","href":"/subscription-admin-api/subscription-management/get-raw-shopify-graphql-contract-response"},{"title":"Update custom attributes on a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/update-custom-note-attributes","href":"/subscription-admin-api/subscription-management/update-custom-attributes-on-a-subscription-contract"}]},{"group":"Billing \u0026 Payments","pages":[{"title":"Update subscription billing attempt","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts","href":"/subscription-admin-api/billing-\u0026-payments/update-subscription-billing-attempt"},{"title":"Update order note for a billing attempt","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts-update-order-note/{id}","href":"/subscription-admin-api/billing-\u0026-payments/update-order-note-for-a-billing-attempt"},{"title":"Trigger immediate billing for an order","description":"Queues a billing attempt for immediate processing, bypassing the scheduled billing date.\n\n**Asynchronous processing:**\n- A successful response means the billing attempt was accepted and processing has started; it does not contain the payment result\n- The charge is sent to Shopify shortly after the call and the result is reported asynchronously\n- Track the result with `billingAttemptId` from the response. It can differ from the ID you sent, depending on the store's Manual Order Processing setting\n\n**What happens to the schedule:**\nThe store's **When billing manually** setting decides (**Shop Settings → Order Settings → Manual Order Processing**). This endpoint has no parameter to override it. New stores start on **Process upcoming scheduled order**.\n- **Process upcoming scheduled order**: the attempt you send is billed now instead of on its date, and the other upcoming orders keep their dates. No extra order is created. `billingAttemptId` equals `requestedBillingAttemptId`, and `billingDate` keeps the order's scheduled date. This is the option that sends the upcoming order early\n- **Create extra order only**: an extra one-time order is placed now, and the attempt you sent still bills on its date. `billingAttemptId` is a new attempt for the extra order, with `billingDate` set to now\n- **Create extra order and recalculate schedule**: an extra one-time order is placed now, and the future schedule is recalculated from today. `billingAttemptId` is a new attempt, with `billingDate` set to now\n- Whichever option is set, a failed attempt you retry (status `FAILURE`, `SHOPIFY_EXCEPTION`, `SKIPPED_INVENTORY_MGMT` or `SKIPPED_DUNNING_MGMT`) is billed again in place, with the same ID\n\n**Tracking the result:**\n- Webhooks: `subscription.billing-success` or `subscription.billing-failure`\n- Polling: `GET /api/external/v2/subscription-billing-attempts/past-orders?contractId={contractId}` and check the attempt `status`:\n - `IMMEDIATE_TRIGGERED` / `PROGRESS`: still processing\n - `SECURITY_CHALLENGE`: the card issuer requires 3D Secure; no webhook is sent for this state\n - `SUCCESS` / `FAILURE`: final result\n\n**Important Notes:**\n- The store's Appstle plan must include **Order now** (placing orders immediately). Paid plans include it today and the Free plan doesn't; a store on an older or custom plan may not have it, and support@appstle.com can check. Without it, the call returns `400` with the title `UserGeneratedError:You don't have permission to place immediate orders. Please upgrade your plan to enable this feature.`\n- Creates an actual order in Shopify and charges the customer's payment method\n- Cannot be undone once processed\n\n**Authentication:** Requires a valid `X-API-Key` header with a **Read \u0026 Write** key","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts/attempt-billing/{id}","href":"/subscription-admin-api/billing-\u0026-payments/trigger-immediate-billing-for-an-order"},{"title":"Get past orders","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-billing-attempts/past-orders","href":"/subscription-admin-api/billing-\u0026-payments/get-past-orders"},{"title":"Get past orders report with detailed filtering","description":"Retrieves a detailed report of past billing attempts across all subscription contracts of the shop, with advanced filtering options. This endpoint provides comprehensive data for analytics, troubleshooting, reporting and data warehouse syncs.\n\n**Initial (checkout) orders are not included.** Only renewal billing attempts are reported. Get the order that created each subscription from `GET /api/external/v2/subscription-contract-details` (fields `orderId`, `orderName`, `orderAmount`, `createdAt`, filterable by `fromCreatedDate` / `toCreatedDate`).\n\n**Filter Options:**\n- By status (required): SUCCESS, FAILURE, SKIPPED, SKIPPED_DUNNING_MGMT, SKIPPED_INVENTORY_MGMT, SECURITY_CHALLENGE, QUEUED (QUEUED returns upcoming orders)\n- By date range: `fromDay` / `toDay` in ISO-8601 format (e.g. `2026-01-01T00:00:00Z`), matched against the attempt time (or billing date when not yet attempted)\n- By attempt count: Filter by number of retry attempts\n- By contract status: Filter by subscription contract status\n- By contract ID (optional): Get report for specific subscription. Omit it to get the report for the whole shop\n\n**Pagination:**\n- Query parameters: `page` (zero-based, default 0), `size` (default 20, recommended max 250), `sort` (default newest first). With `status=QUEUED`, results are always sorted by billing date, soonest first, and `sort` doesn't change the order\n- Response headers: `X-Total-Count` (total number of records) and `Link` (next/prev/first/last page URLs)\n\n**Bulk / incremental sync:**\n- Initial backfill: page through `status=SUCCESS` without a date range\n- Incremental sync: page through `status=SUCCESS\u0026fromDay=\u003clast sync time>\u0026toDay=\u003cnow>`. A fixed `toDay` keeps pages stable while new orders are being created\n\n**Example:**\n`GET /api/external/v2/subscription-billing-attempts/past-orders/report?status=SUCCESS\u0026fromDay=2026-01-01T00:00:00Z\u0026toDay=2026-02-01T00:00:00Z\u0026page=0\u0026size=250`\n\n**Response Includes:**\n- Detailed billing attempt information\n- Shopify exception details for failed attempts (optional)\n- Retry attempt count\n- Processing timestamps\n- Order totals and line items\n\n**Authentication:** Requires valid X-API-Key header","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-billing-attempts/past-orders/report","href":"/subscription-admin-api/billing-\u0026-payments/get-past-orders-report-with-detailed-filtering"},{"title":"Reschedule a billing attempt to a new date","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts/reschedule-order/{id}","href":"/subscription-admin-api/billing-\u0026-payments/reschedule-a-billing-attempt-to-a-new-date"},{"title":"Skip a specific order","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts/skip-order/{id}","href":"/subscription-admin-api/billing-\u0026-payments/skip-a-specific-order"},{"title":"Skip the next upcoming order for a subscription","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts/skip-upcoming-order","href":"/subscription-admin-api/billing-\u0026-payments/skip-the-next-upcoming-order-for-a-subscription"},{"title":"Get upcoming orders (top orders)","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-billing-attempts/top-orders","href":"/subscription-admin-api/billing-\u0026-payments/get-upcoming-orders-top-orders"},{"title":"Unskip a previously skipped order","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts/unskip-order/{id}","href":"/subscription-admin-api/billing-\u0026-payments/unskip-a-previously-skipped-order"}]},{"group":"Subscription Products","pages":[{"title":"Add product with custom price to subscription","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contract-add-line-item","href":"/subscription-admin-api/subscription-products/add-product-with-custom-price-to-subscription"},{"title":"Add product to subscription","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-add-line-item","href":"/subscription-admin-api/subscription-products/add-product-to-subscription"},{"title":"Add multiple products to subscription","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-add-line-items","href":"/subscription-admin-api/subscription-products/add-multiple-products-to-subscription"},{"title":"Remove product from subscription","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-remove-line-item","href":"/subscription-admin-api/subscription-products/remove-product-from-subscription"},{"title":"Remove multiple products from subscription","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-remove-line-items","href":"/subscription-admin-api/subscription-products/remove-multiple-products-from-subscription"},{"title":"Update multiple properties of a subscription line item","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-line-item","href":"/subscription-admin-api/subscription-products/update-multiple-properties-of-a-subscription-line-item"},{"title":"Update product line item price","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-line-item-price","href":"/subscription-admin-api/subscription-products/update-product-line-item-price"},{"title":"Update line item pricing policy with cycle-based discounts","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-line-item-pricing-policy","href":"/subscription-admin-api/subscription-products/update-line-item-pricing-policy-with-cycle-based-discounts"},{"title":"Update product line item quantity in subscription","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-line-item-quantity","href":"/subscription-admin-api/subscription-products/update-product-line-item-quantity-in-subscription"},{"title":"Update selling plan for a subscription line item","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-line-item-selling-plan","href":"/subscription-admin-api/subscription-products/update-selling-plan-for-a-subscription-line-item"}]},{"group":"Subscription One-Time Products","pages":[{"title":"Get all one-time products for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-contract-one-offs-by-contractId","href":"/subscription-admin-api/subscription-one-time-products/get-all-one-time-products-for-a-subscription-contract"},{"title":"Add one-time product to subscription order","deprecated":true,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contract-one-offs-by-contractId-and-billing-attempt-id","href":"/subscription-admin-api/subscription-one-time-products/add-one-time-product-to-subscription-order"},{"title":"Remove one-time product from subscription order","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json delete /api/external/v2/subscription-contract-one-offs-by-contractId-and-billing-attempt-id","href":"/subscription-admin-api/subscription-one-time-products/remove-one-time-product-from-subscription-order"},{"title":"Get one-time products for next upcoming order","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/upcoming-subscription-contract-one-offs-by-contractId","href":"/subscription-admin-api/subscription-one-time-products/get-one-time-products-for-next-upcoming-order"}]},{"group":"Subscription Payments","pages":[{"title":"Update subscription payment method","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-existing-payment-method","href":"/subscription-admin-api/subscription-payments/update-subscription-payment-method"},{"title":"Send payment method update email to customer","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-payment-method","href":"/subscription-admin-api/subscription-payments/send-payment-method-update-email-to-customer"}]},{"group":"Subscription Plans","pages":[{"title":"Get all subscription groups","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-groups","href":"/subscription-admin-api/subscription-plans/get-all-subscription-groups"},{"title":"Update subscription group details and product assignments","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-groups","href":"/subscription-admin-api/subscription-plans/update-subscription-group-details-and-product-assignments"},{"title":"Create a new subscription group (selling plan group)","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/subscription-groups","href":"/subscription-admin-api/subscription-plans/create-a-new-subscription-group-selling-plan-group"},{"title":"Get all selling plans across all subscription groups","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-groups/all-selling-plans","href":"/subscription-admin-api/subscription-plans/get-all-selling-plans-across-all-subscription-groups"},{"title":"Remove products or variants from ALL subscription groups","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-groups/remove-products","href":"/subscription-admin-api/subscription-plans/remove-products-or-variants-from-all-subscription-groups"},{"title":"Add products or variants to an existing subscription group (async)","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/subscription-groups/v3/{id}/add-products","href":"/subscription-admin-api/subscription-plans/add-products-or-variants-to-an-existing-subscription-group-async"},{"title":"Check status of an async add-products job","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-groups/v3/{id}/add-products/status","href":"/subscription-admin-api/subscription-plans/check-status-of-an-async-add-products-job"},{"title":"Get subscription group by ID","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json get /api/external/v2/subscription-groups/{id}","href":"/subscription-admin-api/subscription-plans/get-subscription-group-by-id"},{"title":"Add products or variants to an existing subscription group","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-groups/{id}/add-products","href":"/subscription-admin-api/subscription-plans/add-products-or-variants-to-an-existing-subscription-group"},{"title":"Bulk add products or variants to an existing subscription group","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json post /api/external/v2/subscription-groups/{id}/bulk-add-products","href":"/subscription-admin-api/subscription-plans/bulk-add-products-or-variants-to-an-existing-subscription-group"},{"title":"Remove products or variants from a subscription group","deprecated":null,"version":null,"openapi":"/subscription/admin-api-swagger.json put /api/external/v2/subscription-groups/{id}/remove-products","href":"/subscription-admin-api/subscription-plans/remove-products-or-variants-from-a-subscription-group"}]}]},{"group":"Storefront API","pages":[{"group":"Billing \u0026 Payments","pages":[{"title":"Get backup payment recovery opt-in status","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/backup-payment-opt-in","href":"/subscription-storefront-api/billing-\u0026-payments/get-backup-payment-recovery-opt-in-status"},{"title":"Update backup payment recovery opt-in status","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/backup-payment-opt-in","href":"/subscription-storefront-api/billing-\u0026-payments/update-backup-payment-recovery-opt-in-status"},{"title":"Update subscription billing attempt","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-billing-attempts","href":"/subscription-storefront-api/billing-\u0026-payments/update-subscription-billing-attempt"},{"title":"Trigger immediate billing for an order","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-billing-attempts/attempt-billing/{id}","href":"/subscription-storefront-api/billing-\u0026-payments/trigger-immediate-billing-for-an-order"},{"title":"Recover a billing attempt stuck in progress","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-billing-attempts/fix-billing-attempt-in-progress/{id}","href":"/subscription-storefront-api/billing-\u0026-payments/recover-a-billing-attempt-stuck-in-progress"},{"title":"Get past orders","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-billing-attempts/past-orders","href":"/subscription-storefront-api/billing-\u0026-payments/get-past-orders"},{"title":"Get past orders report with detailed filtering","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-billing-attempts/past-orders/report","href":"/subscription-storefront-api/billing-\u0026-payments/get-past-orders-report-with-detailed-filtering"},{"title":"Process refund for subscription order","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-billing-attempts/refund-fulfillment/{id}","href":"/subscription-storefront-api/billing-\u0026-payments/process-refund-for-subscription-order"},{"title":"Calculate refund amount preview","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-billing-attempts/refund-preview/{id}","href":"/subscription-storefront-api/billing-\u0026-payments/calculate-refund-amount-preview"},{"title":"Reschedule a billing attempt to a new date","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-billing-attempts/reschedule-order/{id}","href":"/subscription-storefront-api/billing-\u0026-payments/reschedule-a-billing-attempt-to-a-new-date"},{"title":"Retry a failed billing attempt","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-billing-attempts/retry-failed-billing-attempt","href":"/subscription-storefront-api/billing-\u0026-payments/retry-a-failed-billing-attempt"},{"title":"Get URL for 3DS / SCA security challenge","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-billing-attempts/security-challenge-action-url/{id}","href":"/subscription-storefront-api/billing-\u0026-payments/get-url-for-3ds-sca-security-challenge"},{"title":"Skip a failed billing attempt's order","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-billing-attempts/skip-failed-order","href":"/subscription-storefront-api/billing-\u0026-payments/skip-a-failed-billing-attempts-order"},{"title":"Skip a specific order","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-billing-attempts/skip-order/{id}","href":"/subscription-storefront-api/billing-\u0026-payments/skip-a-specific-order"},{"title":"Skip the next upcoming order for a subscription","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-billing-attempts/skip-upcoming-order","href":"/subscription-storefront-api/billing-\u0026-payments/skip-the-next-upcoming-order-for-a-subscription"},{"title":"Get upcoming orders (top orders)","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-billing-attempts/top-orders","href":"/subscription-storefront-api/billing-\u0026-payments/get-upcoming-orders-top-orders"},{"title":"Unskip a previously skipped order","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-billing-attempts/unskip-order/{id}","href":"/subscription-storefront-api/billing-\u0026-payments/unskip-a-previously-skipped-order"},{"title":"Get subscription payment info for a contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-payment-infos/{contractId}","href":"/subscription-storefront-api/billing-\u0026-payments/get-subscription-payment-info-for-a-contract"}]},{"group":"Product Catalog","pages":[{"title":"List discount rules applicable to bundles","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/bundle-discount-rules","href":"/subscription-storefront-api/product-catalog/list-discount-rules-applicable-to-bundles"},{"title":"Get variant data for a list of variant IDs","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/product-infos/variant-data/{variantIds}","href":"/subscription-storefront-api/product-catalog/get-variant-data-for-a-list-of-variant-ids"},{"title":"Get product swap variant groups for a contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/product-swaps-by-variant-groups/{contractId}","href":"/subscription-storefront-api/product-catalog/get-product-swap-variant-groups-for-a-contract"},{"title":"Proxy a Shopify Storefront GraphQL request from the customer portal","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/storefront-graphql","href":"/subscription-storefront-api/product-catalog/proxy-a-shopify-storefront-graphql-request-from-the-customer-portal"}]},{"group":"Campaigns","pages":[{"title":"List applicable customer portal campaigns","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/campaigns/applicable","href":"/subscription-storefront-api/campaigns/list-applicable-customer-portal-campaigns"},{"title":"List applicable customer portal campaigns for multiple contracts in one call","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/campaigns/applicable-bulk","href":"/subscription-storefront-api/campaigns/list-applicable-customer-portal-campaigns-for-multiple-contracts-in-one-call"},{"title":"Get campaign landing details","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/campaigns/{id}/landing","href":"/subscription-storefront-api/campaigns/get-campaign-landing-details"},{"title":"Redeem a campaign offer","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/campaigns/{id}/redeem","href":"/subscription-storefront-api/campaigns/redeem-a-campaign-offer"},{"title":"Track a campaign banner event","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/campaigns/{id}/track","href":"/subscription-storefront-api/campaigns/track-a-campaign-banner-event"}]},{"group":"cancellation-flow-customer-portal-resource","pages":[{"title":"Get subscriptionscpapicancellation flowspublished","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/cancellation-flows/published","href":"/subscription-storefront-api/cancellation-flow-customer-portal-resource/get-subscriptionscpapicancellation-flowspublished"}]},{"group":"Customer Retention","pages":[{"title":"Get cancellation management configuration","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/cancellation-managements/{id}","href":"/subscription-storefront-api/customer-retention/get-cancellation-management-configuration"},{"title":"Record a customer retention activity","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/customer-retention-activities","href":"/subscription-storefront-api/customer-retention/record-a-customer-retention-activity"},{"title":"Get subscriptionscpapicustomer retention activitieslatest discount usage","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/customer-retention-activities/latest-discount-usage","href":"/subscription-storefront-api/customer-retention/get-subscriptionscpapicustomer-retention-activitieslatest-discount-usage"},{"title":"Get win-back offer landing details","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/win-back-campaigns/{id}/landing","href":"/subscription-storefront-api/customer-retention/get-win-back-offer-landing-details"},{"title":"Reactivate a subscription from a win-back offer","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/win-back-campaigns/{id}/reactivate","href":"/subscription-storefront-api/customer-retention/reactivate-a-subscription-from-a-win-back-offer"}]},{"group":"Subscription Contracts","pages":[{"title":"Execute a configured cancellation retention offer and record the retention activity","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/cancellation-retention-offers/execute","href":"/subscription-storefront-api/subscription-contracts/execute-a-configured-cancellation-retention-offer-and-record-the-retention-activity"},{"title":"Get currently logged-in customer ID","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/logged-in-customer","href":"/subscription-storefront-api/subscription-contracts/get-currently-logged-in-customer-id"},{"title":"Skip or unskip a product line item for next order","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/skip-unskip-subscription-contracts-product","href":"/subscription-storefront-api/subscription-contracts/skip-or-unskip-a-product-line-item-for-next-order"},{"title":"Update subscription contract details","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contract-details","href":"/subscription-storefront-api/subscription-contracts/update-subscription-contract-details"},{"title":"Get current billing cycle for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contract-details/current-cycle/{contractId}","href":"/subscription-storefront-api/subscription-contracts/get-current-billing-cycle-for-a-subscription-contract"},{"title":"Get order note for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contract-details/customer/{contractId}","href":"/subscription-storefront-api/subscription-contracts/get-order-note-for-a-subscription-contract"},{"title":"Merge an existing contract into another","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/subscription-contract-details/merge-contract","href":"/subscription-storefront-api/subscription-contracts/merge-an-existing-contract-into-another"},{"title":"Replace contract variants in bulk (v2)","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/subscription-contract-details/replace-variants-v2","href":"/subscription-storefront-api/subscription-contracts/replace-contract-variants-in-bulk-v2"},{"title":"Get current customer's saved Shopify payment methods","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contract-details/shopify/customer/payment-methods","href":"/subscription-storefront-api/subscription-contracts/get-current-customers-saved-shopify-payment-methods"},{"title":"Reschedule a planned subscription fulfillment","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contract-details/subscription-fulfillment/reschedule","href":"/subscription-storefront-api/subscription-contracts/reschedule-a-planned-subscription-fulfillment"},{"title":"List Shopify fulfillments for a specific order","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contract-details/subscription-fulfillments/order/{orderId}","href":"/subscription-storefront-api/subscription-contracts/list-shopify-fulfillments-for-a-specific-order"},{"title":"List Shopify fulfillments for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contract-details/subscription-fulfillments/{contractId}","href":"/subscription-storefront-api/subscription-contracts/list-shopify-fulfillments-for-a-subscription-contract"},{"title":"Swap a product within a Build-a-Box subscription","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contract-details/swap-bab-product","href":"/subscription-storefront-api/subscription-contracts/swap-a-product-within-a-build-a-box-subscription"},{"title":"Get subscription contract as a flattened map","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contract-raw/{contractId}","href":"/subscription-storefront-api/subscription-contracts/get-subscription-contract-as-a-flattened-map"},{"title":"Apply a discount code to a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-apply-discount","href":"/subscription-storefront-api/subscription-contracts/apply-a-discount-code-to-a-subscription-contract"},{"title":"Apply a cancellation-flow discount to a contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-cancellation-discount","href":"/subscription-storefront-api/subscription-contracts/apply-a-cancellation-flow-discount-to-a-contract"},{"title":"Edit custom attributes on a single line item","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-edit-line-item-attributes","href":"/subscription-storefront-api/subscription-contracts/edit-custom-attributes-on-a-single-line-item"},{"title":"Email customer portal magic link to subscriber","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contracts-email-magic-link","href":"/subscription-storefront-api/subscription-contracts/email-customer-portal-magic-link-to-subscriber"},{"title":"Read freeze (skip-billing) status of a contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contracts-freeze-status-detail","href":"/subscription-storefront-api/subscription-contracts/read-freeze-skip-billing-status-of-a-contract"},{"title":"Read freeze (skip-billing) status of a contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-freeze-status-detail","href":"/subscription-storefront-api/subscription-contracts/read-freeze-skip-billing-status-of-a-contract-1"},{"title":"Check whether anchor day overwrite is enabled","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contracts-is-overwrite-anchor-day","href":"/subscription-storefront-api/subscription-contracts/check-whether-anchor-day-overwrite-is-enabled"},{"title":"Update product-level custom attributes on a contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-product-custom-attributes","href":"/subscription-storefront-api/subscription-contracts/update-product-level-custom-attributes-on-a-contract"},{"title":"Remove a discount from a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-remove-discount","href":"/subscription-storefront-api/subscription-contracts/remove-a-discount-from-a-subscription-contract"},{"title":"Remove a line item from a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-remove-line-item","href":"/subscription-storefront-api/subscription-contracts/remove-a-line-item-from-a-subscription-contract"},{"title":"Update next billing date for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-update-billing-date","href":"/subscription-storefront-api/subscription-contracts/update-next-billing-date-for-a-subscription-contract"},{"title":"Update billing interval for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-update-billing-interval","href":"/subscription-storefront-api/subscription-contracts/update-billing-interval-for-a-subscription-contract"},{"title":"Update delivery method on a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-update-delivery-method","href":"/subscription-storefront-api/subscription-contracts/update-delivery-method-on-a-subscription-contract"},{"title":"Set existing Shopify payment method on contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-update-existing-payment-method","href":"/subscription-storefront-api/subscription-contracts/set-existing-shopify-payment-method-on-contract"},{"title":"Change contract frequency by selecting a compatible selling-plan frequency","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-update-frequency-by-compatible-plan","href":"/subscription-storefront-api/subscription-contracts/change-contract-frequency-by-selecting-a-compatible-selling-plan-frequency"},{"title":"Change contract frequency by selecting a new selling plan","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-update-frequency-by-selling-plan","href":"/subscription-storefront-api/subscription-contracts/change-contract-frequency-by-selecting-a-new-selling-plan"},{"title":"Update custom attributes on contract line items","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-update-line-item-attributes","href":"/subscription-storefront-api/subscription-contracts/update-custom-attributes-on-contract-line-items"},{"title":"Update line item quantity on a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-update-line-item-quantity","href":"/subscription-storefront-api/subscription-contracts/update-line-item-quantity-on-a-subscription-contract"},{"title":"Update order note on a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-update-order-note/{contractId}","href":"/subscription-storefront-api/subscription-contracts/update-order-note-on-a-subscription-contract"},{"title":"Trigger payment method re-collection email","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-update-payment-method","href":"/subscription-storefront-api/subscription-contracts/trigger-payment-method-re-collection-email"},{"title":"Get raw Shopify subscription contracts for multiple contracts in one call","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contracts/contract-external-bulk","href":"/subscription-storefront-api/subscription-contracts/get-raw-shopify-subscription-contracts-for-multiple-contracts-in-one-call"},{"title":"Get raw Shopify subscription contract (external view)","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contracts/contract-external/{contractId}","href":"/subscription-storefront-api/subscription-contracts/get-raw-shopify-subscription-contract-external-view"},{"title":"Get raw Shopify subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contracts/contract/{contractId}","href":"/subscription-storefront-api/subscription-contracts/get-raw-shopify-subscription-contract"},{"title":"Sync shipping price on contract from delivery profile","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts/sync-shipping-price/{contractId}","href":"/subscription-storefront-api/subscription-contracts/sync-shipping-price-on-contract-from-delivery-profile"},{"title":"Cancel and delete a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json delete /subscriptions/cp/api/subscription-contracts/{id}","href":"/subscription-storefront-api/subscription-contracts/cancel-and-delete-a-subscription-contract"},{"title":"Get current customer's subscription profile","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-customers","href":"/subscription-storefront-api/subscription-contracts/get-current-customers-subscription-profile"},{"title":"Get valid subscription contracts for a customer","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-customers-detail/valid/{id}","href":"/subscription-storefront-api/subscription-contracts/get-valid-subscription-contracts-for-a-customer"},{"title":"List a customer's valid subscription contract IDs","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-customers/valid/{id}","href":"/subscription-storefront-api/subscription-contracts/list-a-customers-valid-subscription-contract-ids"},{"title":"Update line item quantities for a classic Build-a-Box subscription","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/update-classic-bab-subscription/{contractId}","href":"/subscription-storefront-api/subscription-contracts/update-line-item-quantities-for-a-classic-build-a-box-subscription"},{"title":"Update subscription contract order note","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/update-contract-order-note/{contractId}","href":"/subscription-storefront-api/subscription-contracts/update-subscription-contract-order-note"},{"title":"Add a fixed pricing bundle line item, with its child products, to a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/v2/subscription-contracts-add-bundle-line-item","href":"/subscription-storefront-api/subscription-contracts/add-a-fixed-pricing-bundle-line-item-with-its-child-products-to-a-subscription-contract"},{"title":"Add a line item to a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/v2/subscription-contracts-add-line-item","href":"/subscription-storefront-api/subscription-contracts/add-a-line-item-to-a-subscription-contract"},{"title":"Add a line item to a specific section of a contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/v2/subscription-contracts-add-sectioned-line-item/{contractId}","href":"/subscription-storefront-api/subscription-contracts/add-a-line-item-to-a-specific-section-of-a-contract"}]},{"group":"Customer Portal","pages":[{"title":"Proxy GraphQL queries to Shopify Customer Account API","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/customer-account-api/graphql","href":"/subscription-storefront-api/customer-portal/proxy-graphql-queries-to-shopify-customer-account-api"},{"title":"Initiate Customer Account API OAuth flow","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/customer-account-api/initiate","href":"/subscription-storefront-api/customer-portal/initiate-customer-account-api-oauth-flow"},{"title":"Logout from Customer Account API","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/customer-account-api/logout","href":"/subscription-storefront-api/customer-portal/logout-from-customer-account-api"},{"title":"Handle OAuth callback from Shopify","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/customer-account-api/oauth/callback","href":"/subscription-storefront-api/customer-portal/handle-oauth-callback-from-shopify"},{"title":"Check Customer Account API authentication status","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/customer-account-api/status","href":"/subscription-storefront-api/customer-portal/check-customer-account-api-authentication-status"},{"title":"Get shop info for the currently signed-in shop","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/shop-infos-by-current-login","href":"/subscription-storefront-api/customer-portal/get-shop-info-for-the-currently-signed-in-shop"}]},{"group":"Customization","pages":[{"title":"Get customer portal settings","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/customer-portal-settings/{id}","href":"/subscription-storefront-api/customization/get-customer-portal-settings"},{"title":"Get customer portal label translations for locale","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/label-translations/locale","href":"/subscription-storefront-api/customization/get-customer-portal-label-translations-for-locale"},{"title":"Get shop customization CSS by category","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/shop-customizations/css/{category}","href":"/subscription-storefront-api/customization/get-shop-customization-css-by-category"},{"title":"Get custom CSS for customer portal","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-custom-csses/{id}","href":"/subscription-storefront-api/customization/get-custom-css-for-customer-portal"},{"title":"Get widget label translations for locale","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/widget-label-translations/locale","href":"/subscription-storefront-api/customization/get-widget-label-translations-for-locale"}]},{"group":"Subscription Data","pages":[{"title":"Get delivery options for subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/contract-delivery-options","href":"/subscription-storefront-api/subscription-data/get-delivery-options-for-subscription-contract"},{"title":"List live carrier-quoted shipping rates for a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/contract-live-shipping-rates","href":"/subscription-storefront-api/subscription-data/list-live-carrier-quoted-shipping-rates-for-a-subscription-contract"},{"title":"Get single product data by ID","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/product","href":"/subscription-storefront-api/subscription-data/get-single-product-data-by-id"},{"title":"List product handles for the shop","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/product-handles","href":"/subscription-storefront-api/subscription-data/list-product-handles-for-the-shop"},{"title":"Get products data with pagination","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/products","href":"/subscription-storefront-api/subscription-data/get-products-data-with-pagination"},{"title":"Get selling plans for products","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/products-selling-plans","href":"/subscription-storefront-api/subscription-data/get-selling-plans-for-products"},{"title":"Search subscription-enabled products with pagination","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/products1","href":"/subscription-storefront-api/subscription-data/search-subscription-enabled-products-with-pagination"},{"title":"List subscription products filtered by selling plans","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/selling-plan-products","href":"/subscription-storefront-api/subscription-data/list-subscription-products-filtered-by-selling-plans"},{"title":"List delivery options available for the shop","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/shop-delivery-options","href":"/subscription-storefront-api/subscription-data/list-delivery-options-available-for-the-shop"},{"title":"List subscription products available to the customer","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/subscription-products","href":"/subscription-storefront-api/subscription-data/list-subscription-products-available-to-the-customer"},{"title":"Get compatible selling-plan frequencies","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/v2/compatible-selling-plan-frequencies","href":"/subscription-storefront-api/subscription-data/get-compatible-selling-plan-frequencies"},{"title":"List products with their selling plans (v2)","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/v2/products-selling-plans","href":"/subscription-storefront-api/subscription-data/list-products-with-their-selling-plans-v2"},{"title":"Get variant contextual pricing","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/data/variant-contextual-pricing","href":"/subscription-storefront-api/subscription-data/get-variant-contextual-pricing"},{"title":"List saved addresses for the current customer","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/v2/data/addresses","href":"/subscription-storefront-api/subscription-data/list-saved-addresses-for-the-current-customer"},{"title":"List supported shipping countries","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/v2/data/countries","href":"/subscription-storefront-api/subscription-data/list-supported-shipping-countries"},{"title":"List enabled presentment currencies for the shop","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/v2/data/currencies","href":"/subscription-storefront-api/subscription-data/list-enabled-presentment-currencies-for-the-shop"}]},{"group":"Delivery \u0026 Shipping","pages":[{"title":"List delivery profile locations","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/delivery-profiles/get-locations","href":"/subscription-storefront-api/delivery-\u0026-shipping/list-delivery-profile-locations"},{"title":"Get a page of order events (paginated)","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/orders/{orderId}/events","href":"/subscription-storefront-api/delivery-\u0026-shipping/get-a-page-of-order-events-paginated"},{"title":"Get the live fulfillment status for an order","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/orders/{orderId}/live-status","href":"/subscription-storefront-api/delivery-\u0026-shipping/get-the-live-fulfillment-status-for-an-order"}]},{"group":"Loyalty Integration","pages":[{"title":"Get customer loyalty points and rewards data","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/loyalty-integration/customer","href":"/subscription-storefront-api/loyalty-integration/get-customer-loyalty-points-and-rewards-data"},{"title":"Get available ways to earn loyalty points","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/loyalty-integration/earn-options","href":"/subscription-storefront-api/loyalty-integration/get-available-ways-to-earn-loyalty-points"},{"title":"Redeem loyalty points for a reward","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/loyalty-integration/redeem","href":"/subscription-storefront-api/loyalty-integration/redeem-loyalty-points-for-a-reward"},{"title":"Get available loyalty point redemption options","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/loyalty-integration/redeem-options","href":"/subscription-storefront-api/loyalty-integration/get-available-loyalty-point-redemption-options"}]},{"group":"notification-resource","pages":[{"title":"Get subscriptionscpapinotification session","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/notification-session","href":"/subscription-storefront-api/notification-resource/get-subscriptionscpapinotification-session"}]},{"group":"Store Pickup","pages":[{"title":"List eligible pickup dates","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/pickup/eligible-dates","href":"/subscription-storefront-api/store-pickup/list-eligible-pickup-dates"},{"title":"Get the first eligible pickup date","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/pickup/eligible-dates/first","href":"/subscription-storefront-api/store-pickup/get-the-first-eligible-pickup-date"},{"title":"List eligible pickup times for a date","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/pickup/eligible-times","href":"/subscription-storefront-api/store-pickup/list-eligible-pickup-times-for-a-date"},{"title":"List eligible pickup times for a date","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/pickup/eligible-times","href":"/subscription-storefront-api/store-pickup/list-eligible-pickup-times-for-a-date-1"},{"title":"List available pickup locations","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/pickup/locations","href":"/subscription-storefront-api/store-pickup/list-available-pickup-locations"},{"title":"Update pickup and delivery details on a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/pickup/subscription-selection","href":"/subscription-storefront-api/store-pickup/update-pickup-and-delivery-details-on-a-subscription-contract"}]},{"group":"Subscription Actions","pages":[{"title":"Execute a server-authoritative next-order delay","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/subscription-actions/reschedule-by-days/execute","href":"/subscription-storefront-api/subscription-actions/execute-a-server-authoritative-next-order-delay"},{"title":"Preview a server-authoritative next-order delay","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/subscription-actions/reschedule-by-days/preview","href":"/subscription-storefront-api/subscription-actions/preview-a-server-authoritative-next-order-delay"}]},{"group":"Build-a-Box \u0026 Bundles","pages":[{"title":"Get subscription bundle settings by ID","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-bundle-settings/{id}","href":"/subscription-storefront-api/build-a-box-\u0026-bundles/get-subscription-bundle-settings-by-id"},{"title":"Get a subscription bundling configuration by token","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-bundlings/by-token/{token}","href":"/subscription-storefront-api/build-a-box-\u0026-bundles/get-a-subscription-bundling-configuration-by-token"},{"title":"List single-product Build-a-Box bundlings for the shop","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-bundlings/single-product","href":"/subscription-storefront-api/build-a-box-\u0026-bundles/list-single-product-build-a-box-bundlings-for-the-shop"},{"title":"Get public Build-a-Box bundle details by handle (v3)","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/v3/subscription-bundlings/external/get-bundle/{handle}","href":"/subscription-storefront-api/build-a-box-\u0026-bundles/get-public-build-a-box-bundle-details-by-handle-v3"}]},{"group":"Subscription Management","pages":[{"title":"Replace product variants in a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/subscription-contract-details/replace-variants-v3","href":"/subscription-storefront-api/subscription-management/replace-product-variants-in-a-subscription-contract"},{"title":"Split or duplicate an existing subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/subscription-contract-details/split-existing-contract","href":"/subscription-storefront-api/subscription-management/split-or-duplicate-an-existing-subscription-contract"},{"title":"Update subscription delivery address and method","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-update-shipping-address","href":"/subscription-storefront-api/subscription-management/update-subscription-delivery-address-and-method"},{"title":"Update subscription contract status","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contracts-update-status","href":"/subscription-storefront-api/subscription-management/update-subscription-contract-status"},{"title":"Update custom attributes on a subscription contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/update-custom-note-attributes","href":"/subscription-storefront-api/subscription-management/update-custom-attributes-on-a-subscription-contract"}]},{"group":"Subscription Contract Details","pages":[{"title":"Swap a product and change its delivery frequency in one change","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/subscription-contract-details/swap-product-frequency","href":"/subscription-storefront-api/subscription-contract-details/swap-a-product-and-change-its-delivery-frequency-in-one-change"},{"title":"Preview a product swap with its delivery frequency and recurring price","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json post /subscriptions/cp/api/subscription-contract-details/swap-product-frequency/preview","href":"/subscription-storefront-api/subscription-contract-details/preview-a-product-swap-with-its-delivery-frequency-and-recurring-price"}]},{"group":"Subscription One-Time Products","pages":[{"title":"List one-time add-on products for a contract","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-contract-one-offs-by-contractId","href":"/subscription-storefront-api/subscription-one-time-products/list-one-time-add-on-products-for-a-contract"},{"title":"Save a one-time add-on for a billing attempt","deprecated":true,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contract-one-offs-by-contractId-and-billing-attempt-id","href":"/subscription-storefront-api/subscription-one-time-products/save-a-one-time-add-on-for-a-billing-attempt"},{"title":"Delete a one-time add-on from a billing attempt","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json delete /subscriptions/cp/api/subscription-contract-one-offs-by-contractId-and-billing-attempt-id","href":"/subscription-storefront-api/subscription-one-time-products/delete-a-one-time-add-on-from-a-billing-attempt"},{"title":"Update quantity of a one-time add-on","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json put /subscriptions/cp/api/subscription-contract-one-offs-update-quantity","href":"/subscription-storefront-api/subscription-one-time-products/update-quantity-of-a-one-time-add-on"},{"title":"Get one-time add-ons for the next upcoming order","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/upcoming-subscription-contract-one-offs-by-contractId","href":"/subscription-storefront-api/subscription-one-time-products/get-one-time-add-ons-for-the-next-upcoming-order"}]},{"group":"subscription-gift-resource","pages":[{"title":"Get subscriptionscpapisubscription gifts","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-gifts","href":"/subscription-storefront-api/subscription-gift-resource/get-subscriptionscpapisubscription-gifts"}]},{"group":"Subscription Plans","pages":[{"title":"List all selling plans available to the customer","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/subscription-groups/all-selling-plans","href":"/subscription-storefront-api/subscription-plans/list-all-selling-plans-available-to-the-customer"}]},{"group":"upcoming-order-reward-resource","pages":[{"title":"Get subscriptionscpapiupcoming order rewards","deprecated":null,"version":null,"openapi":"/subscription/storefront-api-swagger.json get /subscriptions/cp/api/upcoming-order-rewards","href":"/subscription-storefront-api/upcoming-order-reward-resource/get-subscriptionscpapiupcoming-order-rewards"}]}]}]},{"tab":"Loyalty","icon":"star","pages":[{"title":"Loyalty","href":"/loyalty/introduction"}]},{"tab":"Memberships","icon":"id-card","pages":[{"title":"Memberships","href":"/memberships/introduction"}]},{"tab":"Bundles","icon":"boxes-stacked","pages":[{"title":"Bundles","href":"/bundles/introduction"}]}]},"basePath":"","title":"Get past orders - Appstle","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-D6S0Yh6q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}