{"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":"github","href":"https://github.com/AppstleInc"}},"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":""},"chroma":{"liveDeploymentHistoryId":"6ae04bff87a96311da529678","collectionId":"7dd33d71-018e-46ff-8916-1f74f27a80b3","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae04bff87a96311da529678"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae04bff87a96311da529678","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"Subscriptions","count":262},{"language":"default","tag":"Admin API","count":183},{"language":"default","tag":"Storefront API","count":173},{"language":"default","tag":"Memberships","count":118},{"language":"default","tag":"Subscription Contracts","count":63},{"language":"default","tag":"Membership Contracts","count":62},{"language":"default","tag":"Customer Portal API","count":55},{"language":"default","tag":"Loyalty","count":46},{"language":"default","tag":"Billing \u0026 Payments","count":28},{"language":"default","tag":"Bundles","count":25}]},"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":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt","slug":"/memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt","pageMetadata":{"title":"Update membership billing attempt","description":"Updates billing attempt details for a membership contract. Billing attempts represent individual charge attempts for recurring membership orders.\n\n**Key Information Updated:**\n- **Billing Date**: Next scheduled billing/charge date\n- **Status**: Success, failed, pending, or scheduled\n- **Error Messages**: Failure reasons for declined payments\n- **Retry Count**: Number of retry attempts made\n- **Order ID**: Associated Shopify order if billing succeeded\n- **Amount**: Billing amount charged or attempted\n\n**Billing Attempt Lifecycle:**\n1. **Scheduled**: Billing attempt is queued for future processing\n2. **Pending**: Charge is being processed by payment gateway\n3. **Success**: Payment captured, order created\n4. **Failed**: Payment declined or error occurred\n5. **Retrying**: Automatic retry scheduled after failure\n\n**Common Use Cases:**\n- Reschedule failed billing attempts to a new date\n- Update billing date to align with customer preferences\n- Mark manual payment reconciliation in external systems\n- Sync billing status with external payment processors\n- Trigger retry logic for failed payment attempts\n- Update billing metadata for reporting and analytics\n\n**Important Notes:**\n- Changing billing date will affect the membership's billing cycle\n- Only pending or failed attempts can typically be modified\n- Successfully billed attempts are immutable in most cases\n\n**Authentication:** Requires API key authentication via X-API-Key header or api_key parameter","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts","href":"/memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt","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 li: \"li\",\n ol: \"ol\",\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: \"Updates billing attempt details for a membership contract. Billing attempts represent individual charge attempts for recurring membership orders.\"\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Key Information Updated:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Billing Date\"\n }), \": Next scheduled billing/charge date\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Status\"\n }), \": Success, failed, pending, or scheduled\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Error Messages\"\n }), \": Failure reasons for declined payments\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Retry Count\"\n }), \": Number of retry attempts made\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Order ID\"\n }), \": Associated Shopify order if billing succeeded\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Amount\"\n }), \": Billing amount charged or attempted\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Billing Attempt Lifecycle:\"\n })\n }), \"\\n\", _jsxs(_components.ol, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Scheduled\"\n }), \": Billing attempt is queued for future processing\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Pending\"\n }), \": Charge is being processed by payment gateway\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Success\"\n }), \": Payment captured, order created\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Failed\"\n }), \": Payment declined or error occurred\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Retrying\"\n }), \": Automatic retry scheduled after failure\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Common Use Cases:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Reschedule failed billing attempts to a new date\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Update billing date to align with customer preferences\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Mark manual payment reconciliation in external systems\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Sync billing status with external payment processors\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Trigger retry logic for failed payment attempts\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Update billing metadata for reporting and analytics\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Important Notes:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Changing billing date will affect the membership’s billing cycle\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Only pending or failed attempts can typically be modified\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Successfully billed attempts are immutable in most cases\"\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Authentication:\"\n }), \" Requires API key authentication via X-API-Key header or api_key parameter\"]\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":"Update membership billing attempt","description":"Updates billing attempt details for a membership contract. Billing attempts represent individual charge attempts for recurring membership orders.\n\n**Key Information Updated:**\n- **Billing Date**: Next scheduled billing/charge date\n- **Status**: Success, failed, pending, or scheduled\n- **Error Messages**: Failure reasons for declined payments\n- **Retry Count**: Number of retry attempts made\n- **Order ID**: Associated Shopify order if billing succeeded\n- **Amount**: Billing amount charged or attempted\n\n**Billing Attempt Lifecycle:**\n1. **Scheduled**: Billing attempt is queued for future processing\n2. **Pending**: Charge is being processed by payment gateway\n3. **Success**: Payment captured, order created\n4. **Failed**: Payment declined or error occurred\n5. **Retrying**: Automatic retry scheduled after failure\n\n**Common Use Cases:**\n- Reschedule failed billing attempts to a new date\n- Update billing date to align with customer preferences\n- Mark manual payment reconciliation in external systems\n- Sync billing status with external payment processors\n- Trigger retry logic for failed payment attempts\n- Update billing metadata for reporting and analytics\n\n**Important Notes:**\n- Changing billing date will affect the membership's billing cycle\n- Only pending or failed attempts can typically be modified\n- Successfully billed attempts are immutable in most cases\n\n**Authentication:** Requires API key authentication via X-API-Key header or api_key parameter","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts","href":"/memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Updates billing attempt details for a membership contract. Billing attempts represent individual charge attempts for recurring membership orders.\n\n**Key Information Updated:**\n- **Billing Date**: Next scheduled billing/charge date\n- **Status**: Success, failed, pending, or scheduled\n- **Error Messages**: Failure reasons for declined payments\n- **Retry Count**: Number of retry attempts made\n- **Order ID**: Associated Shopify order if billing succeeded\n- **Amount**: Billing amount charged or attempted\n\n**Billing Attempt Lifecycle:**\n1. **Scheduled**: Billing attempt is queued for future processing\n2. **Pending**: Charge is being processed by payment gateway\n3. **Success**: Payment captured, order created\n4. **Failed**: Payment declined or error occurred\n5. **Retrying**: Automatic retry scheduled after failure\n\n**Common Use Cases:**\n- Reschedule failed billing attempts to a new date\n- Update billing date to align with customer preferences\n- Mark manual payment reconciliation in external systems\n- Sync billing status with external payment processors\n- Trigger retry logic for failed payment attempts\n- Update billing metadata for reporting and analytics\n\n**Important Notes:**\n- Changing billing date will affect the membership's billing cycle\n- Only pending or failed attempts can typically be modified\n- Successfully billed attempts are immutable in most cases\n\n**Authentication:** Requires API key authentication via X-API-Key header or api_key parameter","operationId":"updateSubscriptionBillingAttemptV2","parameters":["10a44466-9ff4-42bd-9278-cce68ea64262","90f509b7-3c38-49b4-8264-7464470f1016"],"requestBody":"2e2a3d9c-5acd-46a6-a9ee-de7cb7647be0","responses":{"200":"0b56be6c-384a-46a8-9e81-de6fc6425d48","400":"6a0b5f00-d05c-463b-9e64-5bd7b35ec047","401":"2dc42f75-dfd1-44f9-90fc-2f6f1d965491","404":"c412c1c6-875a-4384-a150-04acd586d381"},"summary":"Update membership billing attempt","tags":["Billing \u0026 Orders"],"method":"put","type":"path","servers":["98a02612-1a78-40c2-8320-a479a74f714d"],"security":[],"path":"/api/external/v2/subscription-billing-attempts","baseUrlOptions":["https://membership-admin.appstle.com"],"title":"Update membership billing attempt","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","node","php","go","ruby"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"10a44466-9ff4-42bd-9278-cce68ea64262":{"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"}},"90f509b7-3c38-49b4-8264-7464470f1016":{"in":"header","name":"X-API-Key","required":false,"schema":{"type":"string","isRequired":false,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"properties":{"retryingNeeded":{"type":"boolean","isRequired":true,"uniqueKey":"retryingNeeded","typeLabel":"boolean"},"shop":{"description":"Shop domain identifier","example":"my-store.myshopify.com","type":"string","isRequired":true,"uniqueKey":"shop","typeLabel":"string"},"applyUsageCharge":{"type":"boolean","uniqueKey":"applyUsageCharge","typeLabel":"boolean"},"attemptCount":{"description":"Number of billing retry attempts","example":1,"format":"int32","type":"integer","uniqueKey":"attemptCount","typeLabel":"integer\u003cint32>"},"attemptTime":{"format":"date-time","type":"string","uniqueKey":"attemptTime","typeLabel":"string\u003cdate-time>"},"billingAttemptId":{"description":"Shopify billing attempt ID","type":"string","uniqueKey":"billingAttemptId","typeLabel":"string"},"billingAttemptResponseMessage":{"type":"string","uniqueKey":"billingAttemptResponseMessage","typeLabel":"string"},"billingDate":{"description":"Scheduled billing date for this attempt","format":"date-time","type":"string","uniqueKey":"billingDate","typeLabel":"string\u003cdate-time>"},"contractId":{"description":"Associated subscription contract ID","example":67890,"format":"int64","type":"integer","uniqueKey":"contractId","typeLabel":"integer\u003cint64>"},"graphOrderId":{"type":"string","uniqueKey":"graphOrderId","typeLabel":"string"},"id":{"description":"Unique identifier of the billing attempt record","example":12345,"format":"int64","type":"integer","uniqueKey":"id","typeLabel":"integer\u003cint64>"},"orderAmount":{"description":"Total order amount","example":29.99,"format":"double","type":"number","uniqueKey":"orderAmount","typeLabel":"number\u003cdouble>"},"orderAmountUSD":{"format":"double","type":"number","uniqueKey":"orderAmountUSD","typeLabel":"number\u003cdouble>"},"orderId":{"description":"Shopify order ID if billing was successful","format":"int64","type":"integer","uniqueKey":"orderId","typeLabel":"integer\u003cint64>"},"orderName":{"description":"Shopify order name/number","example":"#1001","type":"string","uniqueKey":"orderName","typeLabel":"string"},"orderNote":{"description":"Order note or special instructions","type":"string","uniqueKey":"orderNote","typeLabel":"string"},"progressAttemptCount":{"format":"int32","type":"integer","uniqueKey":"progressAttemptCount","typeLabel":"integer\u003cint32>"},"recurringChargeId":{"format":"int64","type":"integer","uniqueKey":"recurringChargeId","typeLabel":"integer\u003cint64>"},"securityChallengeSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"securityChallengeSentStatus","typeLabel":"enum\u003cstring>"},"status":{"description":"Current status of the billing attempt","enum":["SUCCESS","FAILURE","REQUESTING","PROGRESS","QUEUED","SKIPPED","SOCIAL_CONNECTION_NULL","CONTRACT_CANCELLED","CONTRACT_ENDED","CONTRACT_PAUSED","AUTO_CHARGE_DISABLED","SKIPPED_DUNNING_MGMT","SECURITY_CHALLENGE","SHOPIFY_EXCEPTION"],"type":"string","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"transactionFailedEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"transactionFailedEmailSentStatus","typeLabel":"enum\u003cstring>"},"transactionFailedSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"transactionFailedSmsSentStatus","typeLabel":"enum\u003cstring>"},"transactionRate":{"format":"double","type":"number","uniqueKey":"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":"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":"upcomingOrderSmsSentStatus","typeLabel":"enum\u003cstring>"},"upgradeDowngradeBilling":{"type":"boolean","uniqueKey":"upgradeDowngradeBilling","typeLabel":"boolean"},"usageChargeStatus":{"enum":["SUCCESS","FAILED","TO_BE_TRIED"],"type":"string","uniqueKey":"usageChargeStatus","typeLabel":"enum\u003cstring>"},"variantList":{"items":{"properties":{"image":{"type":"string","uniqueKey":"variantList.items.[INDEX].image","typeLabel":"string"},"productId":{"type":"string","uniqueKey":"variantList.items.[INDEX].productId","typeLabel":"string"},"productTitle":{"type":"string","uniqueKey":"variantList.items.[INDEX].productTitle","typeLabel":"string"},"quantity":{"format":"int32","type":"integer","uniqueKey":"variantList.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"sellingPlanId":{"type":"string","uniqueKey":"variantList.items.[INDEX].sellingPlanId","typeLabel":"string"},"title":{"type":"string","uniqueKey":"variantList.items.[INDEX].title","typeLabel":"string"},"variantId":{"format":"int64","type":"integer","uniqueKey":"variantList.items.[INDEX].variantId","typeLabel":"integer\u003cint64>"}},"type":"object","uniqueKey":"variantList.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"variantList","typeLabel":"object[]"}},"required":["retryingNeeded","shop"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"retryingNeeded":true,"shop":"my-store.myshopify.com","applyUsageCharge":true,"attemptCount":1,"attemptTime":"2023-11-07T05:31:56Z","billingAttemptId":"\u003cstring>","billingAttemptResponseMessage":"\u003cstring>","billingDate":"2023-11-07T05:31:56Z","contractId":67890,"graphOrderId":"\u003cstring>","id":12345,"orderAmount":29.99,"orderAmountUSD":123,"orderId":123,"orderName":"#1001","orderNote":"\u003cstring>","progressAttemptCount":123,"recurringChargeId":123,"transactionRate":123,"upgradeDowngradeBilling":true,"variantList":[{"image":"\u003cstring>","productId":"\u003cstring>","productTitle":"\u003cstring>","quantity":123,"sellingPlanId":"\u003cstring>","title":"\u003cstring>","variantId":123}]}}},"exampleType":"generated"}},"description":"Updated billing attempt details including billing date, status, and metadata","required":true,"exampleType":"generated"},"responses":{"0b56be6c-384a-46a8-9e81-de6fc6425d48":{"content":{"application/json":{"schema":{"properties":{"retryingNeeded":{"type":"boolean","isRequired":true,"uniqueKey":"retryingNeeded","typeLabel":"boolean"},"shop":{"description":"Shop domain identifier","example":"my-store.myshopify.com","type":"string","isRequired":true,"uniqueKey":"shop","typeLabel":"string"},"applyUsageCharge":{"type":"boolean","uniqueKey":"applyUsageCharge","typeLabel":"boolean"},"attemptCount":{"description":"Number of billing retry attempts","example":1,"format":"int32","type":"integer","uniqueKey":"attemptCount","typeLabel":"integer\u003cint32>"},"attemptTime":{"format":"date-time","type":"string","uniqueKey":"attemptTime","typeLabel":"string\u003cdate-time>"},"billingAttemptId":{"description":"Shopify billing attempt ID","type":"string","uniqueKey":"billingAttemptId","typeLabel":"string"},"billingAttemptResponseMessage":{"type":"string","uniqueKey":"billingAttemptResponseMessage","typeLabel":"string"},"billingDate":{"description":"Scheduled billing date for this attempt","format":"date-time","type":"string","uniqueKey":"billingDate","typeLabel":"string\u003cdate-time>"},"contractId":{"description":"Associated subscription contract ID","example":67890,"format":"int64","type":"integer","uniqueKey":"contractId","typeLabel":"integer\u003cint64>"},"graphOrderId":{"type":"string","uniqueKey":"graphOrderId","typeLabel":"string"},"id":{"description":"Unique identifier of the billing attempt record","example":12345,"format":"int64","type":"integer","uniqueKey":"id","typeLabel":"integer\u003cint64>"},"orderAmount":{"description":"Total order amount","example":29.99,"format":"double","type":"number","uniqueKey":"orderAmount","typeLabel":"number\u003cdouble>"},"orderAmountUSD":{"format":"double","type":"number","uniqueKey":"orderAmountUSD","typeLabel":"number\u003cdouble>"},"orderId":{"description":"Shopify order ID if billing was successful","format":"int64","type":"integer","uniqueKey":"orderId","typeLabel":"integer\u003cint64>"},"orderName":{"description":"Shopify order name/number","example":"#1001","type":"string","uniqueKey":"orderName","typeLabel":"string"},"orderNote":{"description":"Order note or special instructions","type":"string","uniqueKey":"orderNote","typeLabel":"string"},"progressAttemptCount":{"format":"int32","type":"integer","uniqueKey":"progressAttemptCount","typeLabel":"integer\u003cint32>"},"recurringChargeId":{"format":"int64","type":"integer","uniqueKey":"recurringChargeId","typeLabel":"integer\u003cint64>"},"securityChallengeSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"securityChallengeSentStatus","typeLabel":"enum\u003cstring>"},"status":{"description":"Current status of the billing attempt","enum":["SUCCESS","FAILURE","REQUESTING","PROGRESS","QUEUED","SKIPPED","SOCIAL_CONNECTION_NULL","CONTRACT_CANCELLED","CONTRACT_ENDED","CONTRACT_PAUSED","AUTO_CHARGE_DISABLED","SKIPPED_DUNNING_MGMT","SECURITY_CHALLENGE","SHOPIFY_EXCEPTION"],"type":"string","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"transactionFailedEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"transactionFailedEmailSentStatus","typeLabel":"enum\u003cstring>"},"transactionFailedSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"transactionFailedSmsSentStatus","typeLabel":"enum\u003cstring>"},"transactionRate":{"format":"double","type":"number","uniqueKey":"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":"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":"upcomingOrderSmsSentStatus","typeLabel":"enum\u003cstring>"},"upgradeDowngradeBilling":{"type":"boolean","uniqueKey":"upgradeDowngradeBilling","typeLabel":"boolean"},"usageChargeStatus":{"enum":["SUCCESS","FAILED","TO_BE_TRIED"],"type":"string","uniqueKey":"usageChargeStatus","typeLabel":"enum\u003cstring>"},"variantList":{"items":{"properties":{"image":{"type":"string","uniqueKey":"variantList.items.[INDEX].image","typeLabel":"string"},"productId":{"type":"string","uniqueKey":"variantList.items.[INDEX].productId","typeLabel":"string"},"productTitle":{"type":"string","uniqueKey":"variantList.items.[INDEX].productTitle","typeLabel":"string"},"quantity":{"format":"int32","type":"integer","uniqueKey":"variantList.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"sellingPlanId":{"type":"string","uniqueKey":"variantList.items.[INDEX].sellingPlanId","typeLabel":"string"},"title":{"type":"string","uniqueKey":"variantList.items.[INDEX].title","typeLabel":"string"},"variantId":{"format":"int64","type":"integer","uniqueKey":"variantList.items.[INDEX].variantId","typeLabel":"integer\u003cint64>"}},"type":"object","uniqueKey":"variantList.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"variantList","typeLabel":"object[]"}},"required":["retryingNeeded","shop"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"retryingNeeded":true,"shop":"my-store.myshopify.com","applyUsageCharge":true,"attemptCount":1,"attemptTime":"2023-11-07T05:31:56Z","billingAttemptId":"\u003cstring>","billingAttemptResponseMessage":"\u003cstring>","billingDate":"2023-11-07T05:31:56Z","contractId":67890,"graphOrderId":"\u003cstring>","id":12345,"orderAmount":29.99,"orderAmountUSD":123,"orderId":123,"orderName":"#1001","orderNote":"\u003cstring>","progressAttemptCount":123,"recurringChargeId":123,"securityChallengeSentStatus":"SENT","status":"SUCCESS","transactionFailedEmailSentStatus":"SENT","transactionFailedSmsSentStatus":"SENT","transactionRate":123,"upcomingOrderEmailSentStatus":"SENT","upcomingOrderSmsSentStatus":"SENT","upgradeDowngradeBilling":true,"usageChargeStatus":"SUCCESS","variantList":[{"image":"\u003cstring>","productId":"\u003cstring>","productTitle":"\u003cstring>","quantity":123,"sellingPlanId":"\u003cstring>","title":"\u003cstring>","variantId":123}]}}},"exampleType":"generated"}},"description":"Billing attempt successfully updated","exampleType":"generated"},"6a0b5f00-d05c-463b-9e64-5bd7b35ec047":{"content":{"*/*":{"schema":{"properties":{"retryingNeeded":{"type":"boolean","isRequired":true,"uniqueKey":"retryingNeeded","typeLabel":"boolean"},"shop":{"description":"Shop domain identifier","example":"my-store.myshopify.com","type":"string","isRequired":true,"uniqueKey":"shop","typeLabel":"string"},"applyUsageCharge":{"type":"boolean","uniqueKey":"applyUsageCharge","typeLabel":"boolean"},"attemptCount":{"description":"Number of billing retry attempts","example":1,"format":"int32","type":"integer","uniqueKey":"attemptCount","typeLabel":"integer\u003cint32>"},"attemptTime":{"format":"date-time","type":"string","uniqueKey":"attemptTime","typeLabel":"string\u003cdate-time>"},"billingAttemptId":{"description":"Shopify billing attempt ID","type":"string","uniqueKey":"billingAttemptId","typeLabel":"string"},"billingAttemptResponseMessage":{"type":"string","uniqueKey":"billingAttemptResponseMessage","typeLabel":"string"},"billingDate":{"description":"Scheduled billing date for this attempt","format":"date-time","type":"string","uniqueKey":"billingDate","typeLabel":"string\u003cdate-time>"},"contractId":{"description":"Associated subscription contract ID","example":67890,"format":"int64","type":"integer","uniqueKey":"contractId","typeLabel":"integer\u003cint64>"},"graphOrderId":{"type":"string","uniqueKey":"graphOrderId","typeLabel":"string"},"id":{"description":"Unique identifier of the billing attempt record","example":12345,"format":"int64","type":"integer","uniqueKey":"id","typeLabel":"integer\u003cint64>"},"orderAmount":{"description":"Total order amount","example":29.99,"format":"double","type":"number","uniqueKey":"orderAmount","typeLabel":"number\u003cdouble>"},"orderAmountUSD":{"format":"double","type":"number","uniqueKey":"orderAmountUSD","typeLabel":"number\u003cdouble>"},"orderId":{"description":"Shopify order ID if billing was successful","format":"int64","type":"integer","uniqueKey":"orderId","typeLabel":"integer\u003cint64>"},"orderName":{"description":"Shopify order name/number","example":"#1001","type":"string","uniqueKey":"orderName","typeLabel":"string"},"orderNote":{"description":"Order note or special instructions","type":"string","uniqueKey":"orderNote","typeLabel":"string"},"progressAttemptCount":{"format":"int32","type":"integer","uniqueKey":"progressAttemptCount","typeLabel":"integer\u003cint32>"},"recurringChargeId":{"format":"int64","type":"integer","uniqueKey":"recurringChargeId","typeLabel":"integer\u003cint64>"},"securityChallengeSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"securityChallengeSentStatus","typeLabel":"enum\u003cstring>"},"status":{"description":"Current status of the billing attempt","enum":["SUCCESS","FAILURE","REQUESTING","PROGRESS","QUEUED","SKIPPED","SOCIAL_CONNECTION_NULL","CONTRACT_CANCELLED","CONTRACT_ENDED","CONTRACT_PAUSED","AUTO_CHARGE_DISABLED","SKIPPED_DUNNING_MGMT","SECURITY_CHALLENGE","SHOPIFY_EXCEPTION"],"type":"string","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"transactionFailedEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"transactionFailedEmailSentStatus","typeLabel":"enum\u003cstring>"},"transactionFailedSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"transactionFailedSmsSentStatus","typeLabel":"enum\u003cstring>"},"transactionRate":{"format":"double","type":"number","uniqueKey":"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":"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":"upcomingOrderSmsSentStatus","typeLabel":"enum\u003cstring>"},"upgradeDowngradeBilling":{"type":"boolean","uniqueKey":"upgradeDowngradeBilling","typeLabel":"boolean"},"usageChargeStatus":{"enum":["SUCCESS","FAILED","TO_BE_TRIED"],"type":"string","uniqueKey":"usageChargeStatus","typeLabel":"enum\u003cstring>"},"variantList":{"items":{"properties":{"image":{"type":"string","uniqueKey":"variantList.items.[INDEX].image","typeLabel":"string"},"productId":{"type":"string","uniqueKey":"variantList.items.[INDEX].productId","typeLabel":"string"},"productTitle":{"type":"string","uniqueKey":"variantList.items.[INDEX].productTitle","typeLabel":"string"},"quantity":{"format":"int32","type":"integer","uniqueKey":"variantList.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"sellingPlanId":{"type":"string","uniqueKey":"variantList.items.[INDEX].sellingPlanId","typeLabel":"string"},"title":{"type":"string","uniqueKey":"variantList.items.[INDEX].title","typeLabel":"string"},"variantId":{"format":"int64","type":"integer","uniqueKey":"variantList.items.[INDEX].variantId","typeLabel":"integer\u003cint64>"}},"type":"object","uniqueKey":"variantList.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"variantList","typeLabel":"object[]"}},"required":["retryingNeeded","shop"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"retryingNeeded":true,"shop":"my-store.myshopify.com","applyUsageCharge":true,"attemptCount":1,"attemptTime":"2023-11-07T05:31:56Z","billingAttemptId":"\u003cstring>","billingAttemptResponseMessage":"\u003cstring>","billingDate":"2023-11-07T05:31:56Z","contractId":67890,"graphOrderId":"\u003cstring>","id":12345,"orderAmount":29.99,"orderAmountUSD":123,"orderId":123,"orderName":"#1001","orderNote":"\u003cstring>","progressAttemptCount":123,"recurringChargeId":123,"securityChallengeSentStatus":"SENT","status":"SUCCESS","transactionFailedEmailSentStatus":"SENT","transactionFailedSmsSentStatus":"SENT","transactionRate":123,"upcomingOrderEmailSentStatus":"SENT","upcomingOrderSmsSentStatus":"SENT","upgradeDowngradeBilling":true,"usageChargeStatus":"SUCCESS","variantList":[{"image":"\u003cstring>","productId":"\u003cstring>","productTitle":"\u003cstring>","quantity":123,"sellingPlanId":"\u003cstring>","title":"\u003cstring>","variantId":123}]}}},"exampleType":"generated"}},"description":"Invalid request - validation failed or billing attempt cannot be modified","exampleType":"generated"},"2dc42f75-dfd1-44f9-90fc-2f6f1d965491":{"content":{"*/*":{"schema":{"properties":{"retryingNeeded":{"type":"boolean","isRequired":true,"uniqueKey":"retryingNeeded","typeLabel":"boolean"},"shop":{"description":"Shop domain identifier","example":"my-store.myshopify.com","type":"string","isRequired":true,"uniqueKey":"shop","typeLabel":"string"},"applyUsageCharge":{"type":"boolean","uniqueKey":"applyUsageCharge","typeLabel":"boolean"},"attemptCount":{"description":"Number of billing retry attempts","example":1,"format":"int32","type":"integer","uniqueKey":"attemptCount","typeLabel":"integer\u003cint32>"},"attemptTime":{"format":"date-time","type":"string","uniqueKey":"attemptTime","typeLabel":"string\u003cdate-time>"},"billingAttemptId":{"description":"Shopify billing attempt ID","type":"string","uniqueKey":"billingAttemptId","typeLabel":"string"},"billingAttemptResponseMessage":{"type":"string","uniqueKey":"billingAttemptResponseMessage","typeLabel":"string"},"billingDate":{"description":"Scheduled billing date for this attempt","format":"date-time","type":"string","uniqueKey":"billingDate","typeLabel":"string\u003cdate-time>"},"contractId":{"description":"Associated subscription contract ID","example":67890,"format":"int64","type":"integer","uniqueKey":"contractId","typeLabel":"integer\u003cint64>"},"graphOrderId":{"type":"string","uniqueKey":"graphOrderId","typeLabel":"string"},"id":{"description":"Unique identifier of the billing attempt record","example":12345,"format":"int64","type":"integer","uniqueKey":"id","typeLabel":"integer\u003cint64>"},"orderAmount":{"description":"Total order amount","example":29.99,"format":"double","type":"number","uniqueKey":"orderAmount","typeLabel":"number\u003cdouble>"},"orderAmountUSD":{"format":"double","type":"number","uniqueKey":"orderAmountUSD","typeLabel":"number\u003cdouble>"},"orderId":{"description":"Shopify order ID if billing was successful","format":"int64","type":"integer","uniqueKey":"orderId","typeLabel":"integer\u003cint64>"},"orderName":{"description":"Shopify order name/number","example":"#1001","type":"string","uniqueKey":"orderName","typeLabel":"string"},"orderNote":{"description":"Order note or special instructions","type":"string","uniqueKey":"orderNote","typeLabel":"string"},"progressAttemptCount":{"format":"int32","type":"integer","uniqueKey":"progressAttemptCount","typeLabel":"integer\u003cint32>"},"recurringChargeId":{"format":"int64","type":"integer","uniqueKey":"recurringChargeId","typeLabel":"integer\u003cint64>"},"securityChallengeSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"securityChallengeSentStatus","typeLabel":"enum\u003cstring>"},"status":{"description":"Current status of the billing attempt","enum":["SUCCESS","FAILURE","REQUESTING","PROGRESS","QUEUED","SKIPPED","SOCIAL_CONNECTION_NULL","CONTRACT_CANCELLED","CONTRACT_ENDED","CONTRACT_PAUSED","AUTO_CHARGE_DISABLED","SKIPPED_DUNNING_MGMT","SECURITY_CHALLENGE","SHOPIFY_EXCEPTION"],"type":"string","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"transactionFailedEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"transactionFailedEmailSentStatus","typeLabel":"enum\u003cstring>"},"transactionFailedSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"transactionFailedSmsSentStatus","typeLabel":"enum\u003cstring>"},"transactionRate":{"format":"double","type":"number","uniqueKey":"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":"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":"upcomingOrderSmsSentStatus","typeLabel":"enum\u003cstring>"},"upgradeDowngradeBilling":{"type":"boolean","uniqueKey":"upgradeDowngradeBilling","typeLabel":"boolean"},"usageChargeStatus":{"enum":["SUCCESS","FAILED","TO_BE_TRIED"],"type":"string","uniqueKey":"usageChargeStatus","typeLabel":"enum\u003cstring>"},"variantList":{"items":{"properties":{"image":{"type":"string","uniqueKey":"variantList.items.[INDEX].image","typeLabel":"string"},"productId":{"type":"string","uniqueKey":"variantList.items.[INDEX].productId","typeLabel":"string"},"productTitle":{"type":"string","uniqueKey":"variantList.items.[INDEX].productTitle","typeLabel":"string"},"quantity":{"format":"int32","type":"integer","uniqueKey":"variantList.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"sellingPlanId":{"type":"string","uniqueKey":"variantList.items.[INDEX].sellingPlanId","typeLabel":"string"},"title":{"type":"string","uniqueKey":"variantList.items.[INDEX].title","typeLabel":"string"},"variantId":{"format":"int64","type":"integer","uniqueKey":"variantList.items.[INDEX].variantId","typeLabel":"integer\u003cint64>"}},"type":"object","uniqueKey":"variantList.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"variantList","typeLabel":"object[]"}},"required":["retryingNeeded","shop"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"retryingNeeded":true,"shop":"my-store.myshopify.com","applyUsageCharge":true,"attemptCount":1,"attemptTime":"2023-11-07T05:31:56Z","billingAttemptId":"\u003cstring>","billingAttemptResponseMessage":"\u003cstring>","billingDate":"2023-11-07T05:31:56Z","contractId":67890,"graphOrderId":"\u003cstring>","id":12345,"orderAmount":29.99,"orderAmountUSD":123,"orderId":123,"orderName":"#1001","orderNote":"\u003cstring>","progressAttemptCount":123,"recurringChargeId":123,"securityChallengeSentStatus":"SENT","status":"SUCCESS","transactionFailedEmailSentStatus":"SENT","transactionFailedSmsSentStatus":"SENT","transactionRate":123,"upcomingOrderEmailSentStatus":"SENT","upcomingOrderSmsSentStatus":"SENT","upgradeDowngradeBilling":true,"usageChargeStatus":"SUCCESS","variantList":[{"image":"\u003cstring>","productId":"\u003cstring>","productTitle":"\u003cstring>","quantity":123,"sellingPlanId":"\u003cstring>","title":"\u003cstring>","variantId":123}]}}},"exampleType":"generated"}},"description":"Authentication required - invalid or missing API key","exampleType":"generated"},"c412c1c6-875a-4384-a150-04acd586d381":{"content":{"*/*":{"schema":{"properties":{"retryingNeeded":{"type":"boolean","isRequired":true,"uniqueKey":"retryingNeeded","typeLabel":"boolean"},"shop":{"description":"Shop domain identifier","example":"my-store.myshopify.com","type":"string","isRequired":true,"uniqueKey":"shop","typeLabel":"string"},"applyUsageCharge":{"type":"boolean","uniqueKey":"applyUsageCharge","typeLabel":"boolean"},"attemptCount":{"description":"Number of billing retry attempts","example":1,"format":"int32","type":"integer","uniqueKey":"attemptCount","typeLabel":"integer\u003cint32>"},"attemptTime":{"format":"date-time","type":"string","uniqueKey":"attemptTime","typeLabel":"string\u003cdate-time>"},"billingAttemptId":{"description":"Shopify billing attempt ID","type":"string","uniqueKey":"billingAttemptId","typeLabel":"string"},"billingAttemptResponseMessage":{"type":"string","uniqueKey":"billingAttemptResponseMessage","typeLabel":"string"},"billingDate":{"description":"Scheduled billing date for this attempt","format":"date-time","type":"string","uniqueKey":"billingDate","typeLabel":"string\u003cdate-time>"},"contractId":{"description":"Associated subscription contract ID","example":67890,"format":"int64","type":"integer","uniqueKey":"contractId","typeLabel":"integer\u003cint64>"},"graphOrderId":{"type":"string","uniqueKey":"graphOrderId","typeLabel":"string"},"id":{"description":"Unique identifier of the billing attempt record","example":12345,"format":"int64","type":"integer","uniqueKey":"id","typeLabel":"integer\u003cint64>"},"orderAmount":{"description":"Total order amount","example":29.99,"format":"double","type":"number","uniqueKey":"orderAmount","typeLabel":"number\u003cdouble>"},"orderAmountUSD":{"format":"double","type":"number","uniqueKey":"orderAmountUSD","typeLabel":"number\u003cdouble>"},"orderId":{"description":"Shopify order ID if billing was successful","format":"int64","type":"integer","uniqueKey":"orderId","typeLabel":"integer\u003cint64>"},"orderName":{"description":"Shopify order name/number","example":"#1001","type":"string","uniqueKey":"orderName","typeLabel":"string"},"orderNote":{"description":"Order note or special instructions","type":"string","uniqueKey":"orderNote","typeLabel":"string"},"progressAttemptCount":{"format":"int32","type":"integer","uniqueKey":"progressAttemptCount","typeLabel":"integer\u003cint32>"},"recurringChargeId":{"format":"int64","type":"integer","uniqueKey":"recurringChargeId","typeLabel":"integer\u003cint64>"},"securityChallengeSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"securityChallengeSentStatus","typeLabel":"enum\u003cstring>"},"status":{"description":"Current status of the billing attempt","enum":["SUCCESS","FAILURE","REQUESTING","PROGRESS","QUEUED","SKIPPED","SOCIAL_CONNECTION_NULL","CONTRACT_CANCELLED","CONTRACT_ENDED","CONTRACT_PAUSED","AUTO_CHARGE_DISABLED","SKIPPED_DUNNING_MGMT","SECURITY_CHALLENGE","SHOPIFY_EXCEPTION"],"type":"string","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"transactionFailedEmailSentStatus":{"enum":["SENT","UNSENT","FAILED","EMAIL_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED"],"type":"string","uniqueKey":"transactionFailedEmailSentStatus","typeLabel":"enum\u003cstring>"},"transactionFailedSmsSentStatus":{"enum":["SENT","UNSENT","FAILED","SMS_SETTINGS_DISABLED","CUSTOMER_PAYMENT_EMPTY","CONTRACT_CANCELLED","PHONE_NUMBER_EMPTY"],"type":"string","uniqueKey":"transactionFailedSmsSentStatus","typeLabel":"enum\u003cstring>"},"transactionRate":{"format":"double","type":"number","uniqueKey":"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":"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":"upcomingOrderSmsSentStatus","typeLabel":"enum\u003cstring>"},"upgradeDowngradeBilling":{"type":"boolean","uniqueKey":"upgradeDowngradeBilling","typeLabel":"boolean"},"usageChargeStatus":{"enum":["SUCCESS","FAILED","TO_BE_TRIED"],"type":"string","uniqueKey":"usageChargeStatus","typeLabel":"enum\u003cstring>"},"variantList":{"items":{"properties":{"image":{"type":"string","uniqueKey":"variantList.items.[INDEX].image","typeLabel":"string"},"productId":{"type":"string","uniqueKey":"variantList.items.[INDEX].productId","typeLabel":"string"},"productTitle":{"type":"string","uniqueKey":"variantList.items.[INDEX].productTitle","typeLabel":"string"},"quantity":{"format":"int32","type":"integer","uniqueKey":"variantList.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"sellingPlanId":{"type":"string","uniqueKey":"variantList.items.[INDEX].sellingPlanId","typeLabel":"string"},"title":{"type":"string","uniqueKey":"variantList.items.[INDEX].title","typeLabel":"string"},"variantId":{"format":"int64","type":"integer","uniqueKey":"variantList.items.[INDEX].variantId","typeLabel":"integer\u003cint64>"}},"type":"object","uniqueKey":"variantList.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"variantList","typeLabel":"object[]"}},"required":["retryingNeeded","shop"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"retryingNeeded":true,"shop":"my-store.myshopify.com","applyUsageCharge":true,"attemptCount":1,"attemptTime":"2023-11-07T05:31:56Z","billingAttemptId":"\u003cstring>","billingAttemptResponseMessage":"\u003cstring>","billingDate":"2023-11-07T05:31:56Z","contractId":67890,"graphOrderId":"\u003cstring>","id":12345,"orderAmount":29.99,"orderAmountUSD":123,"orderId":123,"orderName":"#1001","orderNote":"\u003cstring>","progressAttemptCount":123,"recurringChargeId":123,"securityChallengeSentStatus":"SENT","status":"SUCCESS","transactionFailedEmailSentStatus":"SENT","transactionFailedSmsSentStatus":"SENT","transactionRate":123,"upcomingOrderEmailSentStatus":"SENT","upcomingOrderSmsSentStatus":"SENT","upgradeDowngradeBilling":true,"usageChargeStatus":"SUCCESS","variantList":[{"image":"\u003cstring>","productId":"\u003cstring>","productTitle":"\u003cstring>","quantity":123,"sellingPlanId":"\u003cstring>","title":"\u003cstring>","variantId":123}]}}},"exampleType":"generated"}},"description":"Billing attempt not found","exampleType":"generated"}},"security":{},"servers":{"98a02612-1a78-40c2-8320-a479a74f714d":{"url":"https://membership-admin.appstle.com"}}},"originalFileLocation":"memberships/admin-api-swagger.json"},"subdomain":"appstleinc-aeca3e0a","siteName":"Appstle","title":"Update membership billing attempt - Appstle","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-06T07:00:43.560Z","originalFileLocation":"memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt.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=\"Updates billing attempt details for a membership contract. Billing attempts represent individual charge attempts for recurring membership orders. Key Information Updated: - Billing Date: Next scheduled billing/charge date - Status: Success, failed, pending, or scheduled - Error Messages: Failure reasons for declined payments - Retry Count: Number of retry attempts made - Order ID: Associated Shopify order if billing succeeded - Amount: Billing amount charged or attempted Billing Attempt Lifecycle: 1. Scheduled: Billing attempt is queued for future processing 2. Pending: Charge is being processed by payment gateway 3. Success: Payment captured, order created 4. Failed: Payment declined or error occurred 5. Retrying: Automatic retry scheduled after failure Common Use Cases: - Reschedule failed billing attempts to a new date - Update billing date to align with customer preferences - Mark manual payment reconciliation in external systems - Sync billing status with external payment processors - Trigger retry logic for failed payment attempts - Update billing metadata for reporting and analytics Important Notes: - Changing billing date will affect the membership\u0026#x27;s billing cycle - Only pending or failed attempts can typically be modified - Successfully billed attempts are immutable in most cases Authentication: Requires API key authentication via X-API-Key header or api_key parameter\">\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=\"Update membership billing attempt - Appstle\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates billing attempt details for a membership contract. Billing attempts represent individual charge attempts for recurring membership orders. Key Information Updated: - Billing Date: Next scheduled billing/charge date - Status: Success, failed, pending, or scheduled - Error Messages: Failure reasons for declined payments - Retry Count: Number of retry attempts made - Order ID: Associated Shopify order if billing succeeded - Amount: Billing amount charged or attempted Billing Attempt Lifecycle: 1. Scheduled: Billing attempt is queued for future processing 2. Pending: Charge is being processed by payment gateway 3. Success: Payment captured, order created 4. Failed: Payment declined or error occurred 5. Retrying: Automatic retry scheduled after failure Common Use Cases: - Reschedule failed billing attempts to a new date - Update billing date to align with customer preferences - Mark manual payment reconciliation in external systems - Sync billing status with external payment processors - Trigger retry logic for failed payment attempts - Update billing metadata for reporting and analytics Important Notes: - Changing billing date will affect the membership\u0026#x27;s billing cycle - Only pending or failed attempts can typically be modified - Successfully billed attempts are immutable in most cases Authentication: Requires API key authentication via X-API-Key header or api_key parameter\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Appstle\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.appstle.com/memberships-admin-api/billing-\u0026amp;-orders/update-membership-billing-attempt\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://appstleinc-aeca3e0a.mintlify.app/_mintlify/api/og/v2?division=Billing+%26+Orders\u0026amp;title=Update+membership+billing+attempt\u0026amp;description=Updates+billing+attempt+details+for+a+membership+contract.+Billing+attempts+represent+individual+charge+attempts+for+recurring+membership+orders.%0A%0A**Key+Informa\u0026amp;theme=f3911f4da205a97f19a260f1\u0026amp;signature=4e84bac4ab22ce7563d4a2e1a270c3a7107b80e7f40029fb7fe03d3fd454909a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update membership billing attempt - Appstle\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates billing attempt details for a membership contract. Billing attempts represent individual charge attempts for recurring membership orders. Key Information Updated: - Billing Date: Next scheduled billing/charge date - Status: Success, failed, pending, or scheduled - Error Messages: Failure reasons for declined payments - Retry Count: Number of retry attempts made - Order ID: Associated Shopify order if billing succeeded - Amount: Billing amount charged or attempted Billing Attempt Lifecycle: 1. Scheduled: Billing attempt is queued for future processing 2. Pending: Charge is being processed by payment gateway 3. Success: Payment captured, order created 4. Failed: Payment declined or error occurred 5. Retrying: Automatic retry scheduled after failure Common Use Cases: - Reschedule failed billing attempts to a new date - Update billing date to align with customer preferences - Mark manual payment reconciliation in external systems - Sync billing status with external payment processors - Trigger retry logic for failed payment attempts - Update billing metadata for reporting and analytics Important Notes: - Changing billing date will affect the membership\u0026#x27;s billing cycle - Only pending or failed attempts can typically be modified - Successfully billed attempts are immutable in most cases Authentication: Requires API key authentication via X-API-Key header or api_key parameter\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://appstleinc-aeca3e0a.mintlify.app/_mintlify/api/og/v2?division=Billing+%26+Orders\u0026amp;title=Update+membership+billing+attempt\u0026amp;description=Updates+billing+attempt+details+for+a+membership+contract.+Billing+attempts+represent+individual+charge+attempts+for+recurring+membership+orders.%0A%0A**Key+Informa\u0026amp;theme=f3911f4da205a97f19a260f1\u0026amp;signature=4e84bac4ab22ce7563d4a2e1a270c3a7107b80e7f40029fb7fe03d3fd454909a\">\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/memberships-admin-api/billing-\u0026amp;-orders/update-membership-billing-attempt\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/memberships-admin-api/billing-%26-orders/update-membership-billing-attempt.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/memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt#webpage\",\"url\":\"https://developers.appstle.com/memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt\",\"name\":\"Update membership billing attempt\",\"description\":\"Updates billing attempt details for a membership contract. Billing attempts represent individual charge attempts for recurring membership orders. Key Information Updated: - Billing Date: Next scheduled billing/charge date - Status: Success, failed, pending, or scheduled - Error Messages: Failure reasons for declined payments - Retry Count: Number of retry attempts made - Order ID: Associated Shopify order if billing succeeded - Amount: Billing amount charged or attempted Billing Attempt Lifecycle: 1. Scheduled: Billing attempt is queued for future processing 2. Pending: Charge is being processed by payment gateway 3. Success: Payment captured, order created 4. Failed: Payment declined or error occurred 5. Retrying: Automatic retry scheduled after failure Common Use Cases: - Reschedule failed billing attempts to a new date - Update billing date to align with customer preferences - Mark manual payment reconciliation in external systems - Sync billing status with external payment processors - Trigger retry logic for failed payment attempts - Update billing metadata for reporting and analytics Important Notes: - Changing billing date will affect the membership's billing cycle - Only pending or failed attempts can typically be modified - Successfully billed attempts are immutable in most cases Authentication: Requires API key authentication via X-API-Key header or api_key parameter\",\"dateModified\":\"2026-09-06T07:00:43.560Z\",\"isPartOf\":{\"@id\":\"https://developers.appstle.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.appstle.com/memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.appstle.com/memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Admin API\",\"item\":\"https://developers.appstle.com/memberships-admin-api/cancellation-flow-configuration/get-cancellation-flow-configuration\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update membership billing attempt\",\"item\":\"https://developers.appstle.com/memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.appstle.com/memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt#apireference\",\"headline\":\"Update membership billing attempt\",\"name\":\"Update membership billing attempt\",\"description\":\"Updates billing attempt details for a membership contract. Billing attempts represent individual charge attempts for recurring membership orders. Key Information Updated: - Billing Date: Next scheduled billing/charge date - Status: Success, failed, pending, or scheduled - Error Messages: Failure reasons for declined payments - Retry Count: Number of retry attempts made - Order ID: Associated Shopify order if billing succeeded - Amount: Billing amount charged or attempted Billing Attempt Lifecycle: 1. Scheduled: Billing attempt is queued for future processing 2. Pending: Charge is being processed by payment gateway 3. Success: Payment captured, order created 4. Failed: Payment declined or error occurred 5. Retrying: Automatic retry scheduled after failure Common Use Cases: - Reschedule failed billing attempts to a new date - Update billing date to align with customer preferences - Mark manual payment reconciliation in external systems - Sync billing status with external payment processors - Trigger retry logic for failed payment attempts - Update billing metadata for reporting and analytics Important Notes: - Changing billing date will affect the membership's billing cycle - Only pending or failed attempts can typically be modified - Successfully billed attempts are immutable in most cases Authentication: Requires API key authentication via X-API-Key header or api_key parameter\",\"url\":\"https://developers.appstle.com/memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt\",\"mainEntityOfPage\":{\"@id\":\"https://developers.appstle.com/memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt#webpage\"},\"dateModified\":\"2026-09-06T07:00:43.560Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Appstle","nav":{"global":null,"products":[{"product":"Subscriptions","icon":"arrows-rotate","description":"Recurring orders, selling plans, and the customer portal","pages":[{"title":"Subscriptions","href":"/subscription/introduction"}]},{"product":"Loyalty","icon":"medal","description":"Points, VIP tiers, rewards, referrals, and store credit","pages":[{"title":"Loyalty","href":"/loyalty/introduction"}]},{"product":"Memberships","icon":"id-card","description":"Membership plans, member perks, billing, and access control","groups":[{"group":"Get Started","pages":[{"title":"Appstle Memberships: Tiered Plans \u0026 Access Control","sidebarTitle":"Introduction","href":"/memberships/introduction"},{"title":"Authenticate with the Appstle Memberships API","sidebarTitle":"Authentication","href":"/memberships/authentication"},{"title":"Get started with Appstle Memberships API","sidebarTitle":"Quickstart","href":"/memberships/quickstart"}]},{"group":"Guides","pages":[{"title":"Appstle Memberships third-party integration guide","sidebarTitle":"Integration guide","href":"/memberships/integration-guide"},{"title":"Automate memberships with Shopify Flow","sidebarTitle":"Shopify Flow","href":"/memberships/shopify-flow"},{"title":"Shopify metafields and tags for Appstle Memberships","sidebarTitle":"Metafields \u0026 tags","href":"/memberships/metafields-and-tags"}]},{"group":"Partner Integration","pages":[{"title":"Partner Integration Framework overview","sidebarTitle":"Framework overview","href":"/memberships/partner-framework-overview"},{"title":"Partner Integration Framework","sidebarTitle":"Partner integration","href":"/memberships/partner-integration"}]},{"group":"Webhooks","pages":[{"title":"Appstle Memberships webhook events and setup","sidebarTitle":"Webhooks","href":"/memberships/webhooks"}]},{"group":"Admin API","pages":[{"group":"Cancellation Flow Configuration","pages":[{"title":"Get cancellation flow configuration","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/cancellation-managements/{id}","href":"/memberships-admin-api/cancellation-flow-configuration/get-cancellation-flow-configuration"}]},{"group":"Customer Discount History","pages":[{"title":"Get past discount codes for contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/customer-discount-code-infos/get-past-discounts","href":"/memberships-admin-api/customer-discount-history/get-past-discount-codes-for-contract"}]},{"group":"Customer Payment Methods","pages":[{"title":"Get customer payment token information","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/customer-payments/token/{customerId}","href":"/memberships-admin-api/customer-payment-methods/get-customer-payment-token-information"}]},{"group":"Customer Portal Configuration","pages":[{"title":"Get customer portal settings","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/customer-portal-settings/{id}","href":"/memberships-admin-api/customer-portal-configuration/get-customer-portal-settings"}]},{"group":"Membership Contracts","pages":[{"title":"Generate customer portal authentication token","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/customer-portal-token","href":"/memberships-admin-api/membership-contracts/generate-customer-portal-authentication-token"},{"title":"Generate customer portal magic link","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/manage-subscription-link/{customerId}","href":"/memberships-admin-api/membership-contracts/generate-customer-portal-magic-link"},{"title":"Add product line item to membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contract-add-line-item","href":"/memberships-admin-api/membership-contracts/add-product-line-item-to-membership-contract"},{"title":"Get membership contract list","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-contract-details","href":"/memberships-admin-api/membership-contracts/get-membership-contract-list"},{"title":"Get billing interval options for selling plans","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-contract-details/billing-interval","href":"/memberships-admin-api/membership-contracts/get-billing-interval-options-for-selling-plans"},{"title":"Get customer payment methods","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-contract-details/shopify/customer/{customerId}/payment-methods","href":"/memberships-admin-api/membership-contracts/get-customer-payment-methods"},{"title":"Get membership order fulfillment details","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-contract-details/subscription-fulfillments/{contractId}","href":"/memberships-admin-api/membership-contracts/get-membership-order-fulfillment-details"},{"title":"Get pending downgrade for a membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-contract-details/{contractId}/pending-downgrade","href":"/memberships-admin-api/membership-contracts/get-pending-downgrade-for-a-membership-contract"},{"title":"Cancel pending downgrade for a membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json delete /api/external/v2/subscription-contract-details/{contractId}/pending-downgrade","href":"/memberships-admin-api/membership-contracts/cancel-pending-downgrade-for-a-membership-contract"},{"title":"Update product variant in membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contract-update-variant","href":"/memberships-admin-api/membership-contracts/update-product-variant-in-membership-contract"},{"title":"Create and add custom discount to membership","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-add-discount","href":"/memberships-admin-api/membership-contracts/create-and-add-custom-discount-to-membership"},{"title":"Add product to membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-add-line-item","href":"/memberships-admin-api/membership-contracts/add-product-to-membership-contract"},{"title":"Apply discount code to membership","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-apply-discount","href":"/memberships-admin-api/membership-contracts/apply-discount-code-to-membership"},{"title":"Send customer portal magic link via email","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-contracts-email-magic-link","href":"/memberships-admin-api/membership-contracts/send-customer-portal-magic-link-via-email"},{"title":"Remove discount from membership","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-remove-discount","href":"/memberships-admin-api/membership-contracts/remove-discount-from-membership"},{"title":"Remove product from membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-remove-line-item","href":"/memberships-admin-api/membership-contracts/remove-product-from-membership-contract"},{"title":"Update membership contract billing date","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-billing-date","href":"/memberships-admin-api/membership-contracts/update-membership-contract-billing-date"},{"title":"Update billing interval for membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-billing-interval","href":"/memberships-admin-api/membership-contracts/update-billing-interval-for-membership-contract"},{"title":"Update custom note attributes on membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-custom-note-attributes","href":"/memberships-admin-api/membership-contracts/update-custom-note-attributes-on-membership-contract"},{"title":"Update delivery interval for membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-delivery-interval","href":"/memberships-admin-api/membership-contracts/update-delivery-interval-for-membership-contract"},{"title":"Update membership line item quantity and pricing","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-line-item","href":"/memberships-admin-api/membership-contracts/update-membership-line-item-quantity-and-pricing"},{"title":"Update custom attributes on membership line item","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-line-item-attributes","href":"/memberships-admin-api/membership-contracts/update-custom-attributes-on-membership-line-item"},{"title":"Update maximum billing cycles for membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-max-cycles","href":"/memberships-admin-api/membership-contracts/update-maximum-billing-cycles-for-membership-contract"},{"title":"Update minimum billing cycles for membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-min-cycles","href":"/memberships-admin-api/membership-contracts/update-minimum-billing-cycles-for-membership-contract"},{"title":"Update order note/instructions for membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-order-note/{contractId}","href":"/memberships-admin-api/membership-contracts/update-order-noteinstructions-for-membership-contract"},{"title":"Update membership payment method","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-payment-method","href":"/memberships-admin-api/membership-contracts/update-membership-payment-method"},{"title":"Update shipping address for membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-shipping-address","href":"/memberships-admin-api/membership-contracts/update-shipping-address-for-membership-contract"},{"title":"Update membership contract status (pause/resume/activate)","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contracts-update-status","href":"/memberships-admin-api/membership-contracts/update-membership-contract-status-pauseresumeactivate"},{"title":"Get raw membership contract details from Shopify","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-contracts/contract-external/{contractId}","href":"/memberships-admin-api/membership-contracts/get-raw-membership-contract-details-from-shopify"},{"title":"Cancel membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json delete /api/external/v2/subscription-contracts/{id}","href":"/memberships-admin-api/membership-contracts/cancel-membership-contract"},{"title":"Get detailed customer membership information","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-customers-detail/valid/{customerId}","href":"/memberships-admin-api/membership-contracts/get-detailed-customer-membership-information"},{"title":"Sync customer information","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json delete /api/external/v2/subscription-customers/sync-info/{customerId}","href":"/memberships-admin-api/membership-contracts/sync-customer-information"},{"title":"Get valid membership contract IDs for customer","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-customers/valid/{customerId}","href":"/memberships-admin-api/membership-contracts/get-valid-membership-contract-ids-for-customer"},{"title":"Get membership customer details","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-customers/{customerId}","href":"/memberships-admin-api/membership-contracts/get-membership-customer-details"}]},{"group":"Shipping \u0026 Delivery Profiles","pages":[{"title":"Create shipping/delivery profile (V1 format - Legacy)","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json post /api/external/v2/delivery-profiles/create-shipping-profile","href":"/memberships-admin-api/shipping-\u0026-delivery-profiles/create-shippingdelivery-profile-v1-format--legacy"},{"title":"Create shipping/delivery profile (V2 format)","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json post /api/external/v2/delivery-profiles/v2/create-shipping-profile","href":"/memberships-admin-api/shipping-\u0026-delivery-profiles/create-shippingdelivery-profile-v2-format"}]},{"group":"Product Swap Rules","pages":[{"title":"Get product swap options for membership items","description":"Retrieves available product swap/substitution options for specified variants based on configured swap rules. Returns multiple levels of swap suggestions allowing members to exchange products in their memberships.\n\n**Key Features:**\n- **Variant-Based Swaps**: Get swap options for specific product variants\n- **Multi-Level Suggestions**: Returns up to 4 levels of swap alternatives\n- **Quantity Preservation**: Maintains quantities when suggesting swaps\n- **Recurring Order Rules**: Only returns swaps configured for every recurring order\n- **Group-Based Matching**: Uses variant groups to find compatible swaps\n- **Product Enrichment**: Includes product details (title, price, images)\n\n**How Swap Rules Work:**\n1. Merchant configures swap rules defining which products can substitute others\n2. Rules are organized by variant groups (e.g., coffee roasts, tea flavors)\n3. Each rule specifies \"from\" variants and \"to\" variants\n4. Rules can be limited to specific membership frequencies or all orders\n5. Members can swap products within the allowed groups\n\n**Request Structure:**\n- **Variant Quantity List**: Array of variant IDs with quantities\n- Each entry contains variant ID and quantity\n- System finds swap options for all provided variants\n\n**Response Structure:**\n- Returns nested list of swap options (up to 5 levels)\n- Level 0: Original variants (as provided in request)\n- Levels 1-4: Progressive swap suggestions\n- Each level contains variant IDs, quantities, titles, prices, images\n- Variants appear with full Shopify product data\n\n**Use Cases:**\n- Display product swap options in customer portal\n- Allow members to switch between flavor/size variants\n- Build custom product selection interfaces\n- Enable seasonal product swaps (summer/winter varieties)\n- Offer alternative products when items are out of stock\n- Let members customize memberships within allowed product groups\n\n**Example Scenario:**\nMember has \"Dark Roast Coffee (12oz)\" in membership. API returns:\n- Level 0: Dark Roast Coffee 12oz (original)\n- Level 1: Medium Roast Coffee 12oz, Light Roast Coffee 12oz\n- Level 2: Dark Roast Coffee 16oz, Decaf Dark Roast 12oz\n- Level 3: Espresso Blend 12oz, French Roast 12oz\n- Level 4: Additional variants based on swap rules\n\n**Authentication:** Requires API key authentication via X-API-Key header or api_key parameter","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json post /api/external/v2/product-swaps-by-variant-groups","href":"/memberships-admin-api/product-swap-rules/get-product-swap-options-for-membership-items"}]},{"group":"Billing \u0026 Orders","pages":[{"title":"Update membership billing attempt","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts","href":"/memberships-admin-api/billing-\u0026-orders/update-membership-billing-attempt"},{"title":"Update order note for billing attempt","description":"Updates the order note/instructions for a specific upcoming billing attempt. These notes are stored with the billing attempt and will appear on the Shopify order when it's created. Order notes are visible to merchants in Shopify admin and can be printed on packing slips.\n\n**How It Works:**\n1. Accepts a billing attempt ID and new order note text\n2. Updates the billing attempt record immediately\n3. Note will be included when the order is created during billing\n4. Previous order note (if any) is completely replaced\n5. Empty string will clear the existing order note\n\n**Important Timing Considerations:**\n- Can only update billing attempts with status: `QUEUED` or `SCHEDULED`\n- Cannot update billing attempts that have already been processed (`SUCCESS` or `FAILED`)\n- Changes apply to the next billing cycle only (does not affect past orders)\n- For recurring notes across all future orders, use membership contract order notes instead\n\n**Character Limits \u0026 Validation:**\n- **Maximum Length**: 5000 characters (Shopify's order note limit)\n- **Encoding**: Supports UTF-8 (emojis, international characters allowed)\n- **HTML**: Not rendered - plain text only, HTML tags will display as text\n- **Line Breaks**: Preserved using `\\n` characters\n- **Special Characters**: Quotes, apostrophes automatically escaped\n\n**Common Use Cases:**\n- **Delivery Instructions**: \"Please leave package at side door\" or \"Ring doorbell twice\"\n- **Special Handling**: \"Fragile items - handle with care\" or \"Refrigerate immediately\"\n- **Gift Messages**: \"Happy Birthday! Love, Sarah\" (for gift memberships)\n- **Custom Requests**: \"Include extra ice packs\" or \"No substitutions please\"\n- **One-Time Changes**: \"Skip broccoli this week, double the carrots instead\"\n- **Fulfillment Notes**: \"Use expedited shipping\" or \"Pack items separately\"\n\n**Order Note vs Contract Note:**\n- **Billing Attempt Note** (this endpoint): Applies to ONE specific upcoming order only\n- **Contract Note** (`/subscription-contracts-update-order-note`): Applies to ALL future orders\n- If both exist, they are concatenated in the final Shopify order\n\n**Example Workflows:**\n```\nScenario 1: One-time delivery instruction\n1. Customer going on vacation next week\n2. Call this endpoint to add \"Deliver to neighbor at #123\" for next billing attempt\n3. Following orders resume normal delivery (no note)\n\nScenario 2: Clearing unwanted notes\n1. Previous note says \"Call before delivery\"\n2. Customer requests removal\n3. Call this endpoint with orderNote=\"\" (empty string)\n4. Note cleared from next order\n\nScenario 3: Gift message for specific order\n1. Customer's membership ships to recipient monthly\n2. Special occasion (birthday) on next delivery\n3. Add gift message to next billing attempt only\n4. Regular shipments continue without message\n```\n\n**Integration Tips:**\n- Fetch upcoming billing attempts via `/subscription-billing-attempts` endpoint first\n- Check `status` field to ensure billing attempt can be modified\n- Display character counter in UI (5000 char limit)\n- Sanitize input to prevent injection attacks\n- Consider validating against profanity/spam filters\n\n**Error Handling:**\n- **404**: Billing attempt ID doesn't exist or belongs to different shop\n- **400**: Billing attempt already processed (status is SUCCESS/FAILED)\n- **400**: Order note exceeds 5000 character limit\n- **401**: Invalid or missing API key\n\n**Authentication:** Requires API key authentication via X-API-Key header or api_key parameter","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts-update-order-note/{id}","href":"/memberships-admin-api/billing-\u0026-orders/update-order-note-for-billing-attempt"},{"title":"Retry billing for failed attempt","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts/attempt-billing/{id}","href":"/memberships-admin-api/billing-\u0026-orders/retry-billing-for-failed-attempt"},{"title":"Get past orders","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-billing-attempts/past-orders","href":"/memberships-admin-api/billing-\u0026-orders/get-past-orders"},{"title":"Get paginated past or upcoming orders report","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-billing-attempts/past-orders/report","href":"/memberships-admin-api/billing-\u0026-orders/get-paginated-past-or-upcoming-orders-report"},{"title":"Skip upcoming membership order","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-billing-attempts/skip-order/{id}","href":"/memberships-admin-api/billing-\u0026-orders/skip-upcoming-membership-order"},{"title":"Get upcoming orders","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-billing-attempts/top-orders","href":"/memberships-admin-api/billing-\u0026-orders/get-upcoming-orders"}]},{"group":"One-Time Add-Ons","pages":[{"title":"Get one-time add-ons for a membership contract","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-contract-one-offs-by-contractId","href":"/memberships-admin-api/one-time-add-ons/get-one-time-add-ons-for-a-membership-contract"},{"title":"Add one-time product to upcoming order","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json put /api/external/v2/subscription-contract-one-offs-by-contractId-and-billing-attempt-id","href":"/memberships-admin-api/one-time-add-ons/add-one-time-product-to-upcoming-order"},{"title":"Remove one-time product from upcoming order","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json delete /api/external/v2/subscription-contract-one-offs-by-contractId-and-billing-attempt-id","href":"/memberships-admin-api/one-time-add-ons/remove-one-time-product-from-upcoming-order"}]},{"group":"Custom CSS Styling","pages":[{"title":"Get custom CSS styling configuration","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-custom-csses/{id}","href":"/memberships-admin-api/custom-css-styling/get-custom-css-styling-configuration"}]},{"group":"Membership Plans","pages":[{"title":"List all membership plan groups","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-groups","href":"/memberships-admin-api/membership-plans/list-all-membership-plan-groups"},{"title":"Get a membership plan group","deprecated":null,"version":null,"openapi":"/memberships/admin-api-swagger.json get /api/external/v2/subscription-groups/{subscriptionGroupId}","href":"/memberships-admin-api/membership-plans/get-a-membership-plan-group"}]}]},{"group":"Customer Portal API","pages":[{"group":"Cancellation Flow Configuration","pages":[{"title":"Get cancellation flow settings","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/cancellation-managements/{id}","href":"/memberships-customer-portal-api/cancellation-flow-configuration/get-cancellation-flow-settings"}]},{"group":"Customer Discount History","pages":[{"title":"Get past discount history","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/customer-discount-code-infos/get-past-discounts","href":"/memberships-customer-portal-api/customer-discount-history/get-past-discount-history"}]},{"group":"Customer Portal Configuration","pages":[{"title":"Get customer portal settings","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/customer-portal-settings/{id}","href":"/memberships-customer-portal-api/customer-portal-configuration/get-customer-portal-settings"},{"title":"Get customer portal label translations for locale","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/label-translations/locale","href":"/memberships-customer-portal-api/customer-portal-configuration/get-customer-portal-label-translations-for-locale"}]},{"group":"Customer Retention","pages":[{"title":"Create retention activity record","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json post /memberships/cp/api/customer-retention-activities","href":"/memberships-customer-portal-api/customer-retention/create-retention-activity-record"}]},{"group":"Product \u0026 Inventory Data","pages":[{"title":"Get product details by ID","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/data/product","href":"/memberships-customer-portal-api/product-\u0026-inventory-data/get-product-details-by-id"},{"title":"Get product with selling plans and variants","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/data/product-selling-plan-variant","href":"/memberships-customer-portal-api/product-\u0026-inventory-data/get-product-with-selling-plans-and-variants"},{"title":"Search membership-enabled products with pagination","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/data/products","href":"/memberships-customer-portal-api/product-\u0026-inventory-data/search-membership-enabled-products-with-pagination"},{"title":"List products attached to selling plans","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/data/selling-plan-products","href":"/memberships-customer-portal-api/product-\u0026-inventory-data/list-products-attached-to-selling-plans"},{"title":"Get contextual pricing for a variant by currency","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/data/variant-contextual-pricing","href":"/memberships-customer-portal-api/product-\u0026-inventory-data/get-contextual-pricing-for-a-variant-by-currency"}]},{"group":"Shipping \u0026 Delivery Profiles","pages":[{"title":"Get pickup locations","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/delivery-profiles/get-locations","href":"/memberships-customer-portal-api/shipping-\u0026-delivery-profiles/get-pickup-locations"}]},{"group":"Loyalty Integration","pages":[{"title":"Get loyalty customer details","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/loyalty-integration/customer","href":"/memberships-customer-portal-api/loyalty-integration/get-loyalty-customer-details"},{"title":"Get loyalty point earn options","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/loyalty-integration/earn-options","href":"/memberships-customer-portal-api/loyalty-integration/get-loyalty-point-earn-options"},{"title":"Redeem loyalty points","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json post /memberships/cp/api/loyalty-integration/redeem","href":"/memberships-customer-portal-api/loyalty-integration/redeem-loyalty-points"},{"title":"Get loyalty point redeem options","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/loyalty-integration/redeem-options","href":"/memberships-customer-portal-api/loyalty-integration/get-loyalty-point-redeem-options"}]},{"group":"notification-resource","pages":[{"title":"Get membershipscpapinotification session","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/notification-session","href":"/memberships-customer-portal-api/notification-resource/get-membershipscpapinotification-session"}]},{"group":"Product Swap Rules","pages":[{"title":"Get product swap options by variant","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json post /memberships/cp/api/product-swaps-by-variant-groups","href":"/memberships-customer-portal-api/product-swap-rules/get-product-swap-options-by-variant"}]},{"group":"Shop Settings","pages":[{"title":"Get shop info for current user","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/shop-infos-by-current-login","href":"/memberships-customer-portal-api/shop-settings/get-shop-info-for-current-user"}]},{"group":"Billing \u0026 Orders","pages":[{"title":"Update billing attempt","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-billing-attempts","href":"/memberships-customer-portal-api/billing-\u0026-orders/update-billing-attempt"},{"title":"Trigger billing attempt","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-billing-attempts/attempt-billing/{id}","href":"/memberships-customer-portal-api/billing-\u0026-orders/trigger-billing-attempt"},{"title":"Get past orders","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-billing-attempts/past-orders","href":"/memberships-customer-portal-api/billing-\u0026-orders/get-past-orders"},{"title":"Skip an upcoming billing order","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-billing-attempts/skip-order/{id}","href":"/memberships-customer-portal-api/billing-\u0026-orders/skip-an-upcoming-billing-order"},{"title":"Get upcoming orders","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-billing-attempts/top-orders","href":"/memberships-customer-portal-api/billing-\u0026-orders/get-upcoming-orders"}]},{"group":"Membership Contracts","pages":[{"title":"Update membership contract details","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contract-details","href":"/memberships-customer-portal-api/membership-contracts/update-membership-contract-details"},{"title":"Get current billing cycle","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-contract-details/current-cycle/{contractId}","href":"/memberships-customer-portal-api/membership-contracts/get-current-billing-cycle"},{"title":"Get customer membership details","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-contract-details/customer/{contractId}","href":"/memberships-customer-portal-api/membership-contracts/get-customer-membership-details"},{"title":"Get customer payment methods","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-contract-details/shopify/customer/{customerId}/payment-methods","href":"/memberships-customer-portal-api/membership-contracts/get-customer-payment-methods"},{"title":"List Shopify fulfillments for a membership contract","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-contract-details/subscription-fulfillments/{contractId}","href":"/memberships-customer-portal-api/membership-contracts/list-shopify-fulfillments-for-a-membership-contract"},{"title":"Get pending downgrade","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-contract-details/{contractId}/pending-downgrade","href":"/memberships-customer-portal-api/membership-contracts/get-pending-downgrade"},{"title":"Cancel pending downgrade","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json delete /memberships/cp/api/subscription-contract-details/{contractId}/pending-downgrade","href":"/memberships-customer-portal-api/membership-contracts/cancel-pending-downgrade"},{"title":"Update line item variant","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contract-update-variant","href":"/memberships-customer-portal-api/membership-contracts/update-line-item-variant"},{"title":"Apply discount code","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contracts-apply-discount","href":"/memberships-customer-portal-api/membership-contracts/apply-discount-code"},{"title":"Apply cancellation retention discount","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contracts-cancellation-discount","href":"/memberships-customer-portal-api/membership-contracts/apply-cancellation-retention-discount"},{"title":"Send magic link email","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-contracts-email-magic-link","href":"/memberships-customer-portal-api/membership-contracts/send-magic-link-email"},{"title":"Remove discount from contract","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contracts-remove-discount","href":"/memberships-customer-portal-api/membership-contracts/remove-discount-from-contract"},{"title":"Remove line item from contract","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contracts-remove-line-item","href":"/memberships-customer-portal-api/membership-contracts/remove-line-item-from-contract"},{"title":"Update next billing date","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contracts-update-billing-date","href":"/memberships-customer-portal-api/membership-contracts/update-next-billing-date"},{"title":"Update billing interval","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contracts-update-billing-interval","href":"/memberships-customer-portal-api/membership-contracts/update-billing-interval"},{"title":"Update existing payment method details","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contracts-update-existing-payment-method","href":"/memberships-customer-portal-api/membership-contracts/update-existing-payment-method-details"},{"title":"Update line item attributes","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contracts-update-line-item-attributes","href":"/memberships-customer-portal-api/membership-contracts/update-line-item-attributes"},{"title":"Update order note","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contracts-update-order-note/{contractId}","href":"/memberships-customer-portal-api/membership-contracts/update-order-note"},{"title":"Update payment method","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contracts-update-payment-method","href":"/memberships-customer-portal-api/membership-contracts/update-payment-method"},{"title":"Update shipping address","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contracts-update-shipping-address","href":"/memberships-customer-portal-api/membership-contracts/update-shipping-address"},{"title":"Update membership contract status","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contracts-update-status","href":"/memberships-customer-portal-api/membership-contracts/update-membership-contract-status"},{"title":"Get raw Shopify membership contract data","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-contracts/contract-external/{contractId}","href":"/memberships-customer-portal-api/membership-contracts/get-raw-shopify-membership-contract-data"},{"title":"Get membership contract details","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-contracts/contract/{contractId}","href":"/memberships-customer-portal-api/membership-contracts/get-membership-contract-details"},{"title":"Cancel a membership contract","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json delete /memberships/cp/api/subscription-contracts/{id}","href":"/memberships-customer-portal-api/membership-contracts/cancel-a-membership-contract"},{"title":"Get current customer's membership profile","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-customers","href":"/memberships-customer-portal-api/membership-contracts/get-current-customers-membership-profile"},{"title":"Get valid membership contracts for a customer","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-customers-detail/valid/{id}","href":"/memberships-customer-portal-api/membership-contracts/get-valid-membership-contracts-for-a-customer"},{"title":"List current customer's valid membership contract IDs","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-customers/valid","href":"/memberships-customer-portal-api/membership-contracts/list-current-customers-valid-membership-contract-ids"},{"title":"Add line item to contract","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/v2/subscription-contracts-add-line-item","href":"/memberships-customer-portal-api/membership-contracts/add-line-item-to-contract"}]},{"group":"One-Time Add-Ons","pages":[{"title":"Get one-off items for contract","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-contract-one-offs-by-contractId","href":"/memberships-customer-portal-api/one-time-add-ons/get-one-off-items-for-contract"},{"title":"Add or update one-off item","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json put /memberships/cp/api/subscription-contract-one-offs-by-contractId-and-billing-attempt-id","href":"/memberships-customer-portal-api/one-time-add-ons/add-or-update-one-off-item"}]},{"group":"Custom CSS Styling","pages":[{"title":"Get custom CSS styles","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-custom-csses/{id}","href":"/memberships-customer-portal-api/custom-css-styling/get-custom-css-styles"}]},{"group":"Membership Plans","pages":[{"title":"Get all selling plans","deprecated":null,"version":null,"openapi":"/memberships/storefront-api-swagger.json get /memberships/cp/api/subscription-groups/all-selling-plans","href":"/memberships-customer-portal-api/membership-plans/get-all-selling-plans"}]}]}]},{"product":"Bundles","icon":"boxes-stacked","description":"Fixed, dynamic, and volume-discount bundles plus Build-a-Box","pages":[{"title":"Bundles","href":"/bundles/introduction"}]}]},"title":"Update membership billing attempt - Appstle","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-D5fEM6aW.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js","Markdown-Cfiy0xZO.js","clsx-rL8ZCCw4.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-aeztFa9U.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BywkCr5C.js"]}