Skip or move a delivery, change products and delivery rhythms, update the address, pause, resume, cancel or reactivate a FlowIQ subscription from your own system.
Use these endpoints when your own system (an ERP, a back office, a booking system) is where your team manages subscriptions. A change made here is the same change your team makes in FlowIQ, the customer makes in their portal, or the AI makes over WhatsApp: FlowIQ updates every delivery it affects, prices products from your store, and creates each Shopify order on its delivery date with the change in it.
Make subscription changes through FlowIQ (this API, FlowIQ itself, the portal or WhatsApp), not on the Shopify order. FlowIQ creates each delivery’s Shopify order on its date from the subscription, so a change made only in Shopify is not carried to the next delivery.
Nothing here charges a card or sets a price. Retrying a failed charge, charging early, credits and discounts stay in FlowIQ.
Request
POST https://api.flowiq.live/v1/subscriptions/{id}/{action}
{id} is the subscription’s id from list or get. Use an organisation API key with write permission (Settings, API Keys) as a Bearer token; a subscription on another account answers 404.Deliveries are named by their delivery_number (shown in the subscription’s schedule). Dates are calendar days in South Africa, YYYY-MM-DD; a moved delivery keeps the time of day it had. A delivery can only be moved to tomorrow or later, and one that is due in the next 15 minutes can no longer be changed (it may already be charging).
Limits: 60 changes per minute per key. Send an Idempotency-Key so a retried request is not applied twice (how it works).
Actions
Action
Body
What it does
skip
delivery_number
Skips one scheduled delivery. Nothing is charged or sent for it
unskip
delivery_number
Puts a skipped delivery back on its date
reschedule
delivery_number, date
Moves one delivery to another day. The others stay where they are
schedule
start_date and/or every_weeks (1-26)
start_date moves the whole schedule so the next delivery falls on that day, the rest following at the same rhythm. every_weeks changes how often it delivers, keeping the next date. On a subscription with a rhythm per product, every_weeks puts every product on that rhythm
Replaces the products on every delivery still to come with this list (send the full list). Prices come from your store. every_weeks sets a new product’s rhythm on a subscription with a rhythm per product
Changes the products of one delivery only. The subscription’s other deliveries keep their products
item-rhythm
variant_id, every_weeks (1-26), preview?
On a subscription with a rhythm per product (for example meals every 6 weeks, supplements every 4), changes how often one product is delivered
address
address, delivery_number?
Without delivery_number: the address for every delivery still to come. With it: that delivery only
pause
resume_on?
Pauses the subscription, until resume_on if given (it restarts by itself that day), else until it is resumed. On a paused subscription, changes or removes the restart date
resume
Resumes a paused subscription
cancel
reason? (up to 500 characters)
Cancels the subscription. Its deliveries still to come are cancelled
reactivate
Brings a cancelled subscription back; its deliveries still to come are scheduled again
address takes first_name, last_name, company, address1, address2, city, province, province_code, zip, country, country_code, phone, with at least address1, city or zip.items and item-rhythm take "preview": true to see the new price and schedule without changing anything.A cancelled subscription accepts only reactivate. A change the subscription’s state does not allow (moving the schedule of a paused subscription, changing a delivery that already happened) answers 409 action_refused with the reason.
POST /v1/subscriptions/{id}/pause{ "resume_on": "2027-01-15" }
What FlowIQ does
The change is applied the same way as a change made in FlowIQ: every delivery it affects is updated, and the subscriber discount and delivery fee are worked out again when each delivery is charged.
The customer gets the store’s usual message for that change, if the store sends one (for example on a pause or a cancellation), exactly as when the change is made in FlowIQ.
Your subscription webhooks fire as for any other change (subscription.updated, subscription.paused, subscription.cancelled, …), including for changes you made through this API.
Response
The answer carries the subscription as get returns it after the change, with its schedule, plus result, FlowIQ’s own summary of the change.
A field is missing or malformed (the message names it), or a date is today or earlier
403
forbidden_scope
The key has no write permission
404
not_found
No such subscription on your account, no such delivery on it, or an unknown action
409
action_refused
FlowIQ refused the change, with the reason in message: the delivery already happened or is due now, the subscription is cancelled or paused, it delivers everything on one rhythm (item-rhythm), or a product is not in your store
429
rate_limited
More than 60 changes in a minute
502
upstream_error
A service FlowIQ depends on did not answer; safe to retry with the same Idempotency-Key
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FlowIQ API Documentation","colors":{"primary":"#C4520F","light":"#F36E21","dark":"#C4520F"},"logo":{"light":"https://mintcdn.com/flowapt/QUdYGUKLfZc69ji2/light-top-left.png?fit=max\u0026auto=format\u0026n=QUdYGUKLfZc69ji2\u0026q=85\u0026s=15f1f6f316bbdf2d7518f3a9d2332758","dark":"https://mintcdn.com/flowapt/QUdYGUKLfZc69ji2/dark-top-left.png?fit=max\u0026auto=format\u0026n=QUdYGUKLfZc69ji2\u0026q=85\u0026s=67fbd1065c93902594f3149a6f454259"},"favicon":"https://mintcdn.com/flowapt/YLAUShXn-JEVOqCc/favicon.png?fit=max\u0026auto=format\u0026n=YLAUShXn-JEVOqCc\u0026q=85\u0026s=16459ff4684135640c651a7182c643a7","api":{"openapi":["flowiq-api-reference/openapi.json","flowiq-api-reference/openapi-send-text.json","flowiq-api-reference/openapi-send-image.json","flowiq-api-reference/openapi-send-video.json","flowiq-api-reference/openapi-send-audio.json","flowiq-api-reference/openapi-send-document.json","flowiq-api-reference/openapi-send-location.json","flowiq-api-reference/openapi-send-contacts.json","flowiq-api-reference/openapi-send-interactive-buttons.json","flowiq-api-reference/openapi-send-interactive-list.json","flowiq-api-reference/openapi-send-reaction.json","flowiq-api-reference/openapi-send-typing.json","flowiq-api-reference/openapi-send-read.json","flowiq-api-reference/openapi-send-template.json","flowiq-api-reference/openapi-broadcast-analytics.json","flowiq-api-reference/openapi-instagram.json","flowiq-api-reference/openapi-instagram-send-text.json","flowiq-api-reference/openapi-instagram-send-image.json","flowiq-api-reference/openapi-instagram-send-video.json","flowiq-api-reference/openapi-instagram-send-audio.json","flowiq-api-reference/openapi-messenger.json","flowiq-api-reference/openapi-messenger-send-text.json","flowiq-api-reference/openapi-messenger-send-image.json","flowiq-api-reference/openapi-messenger-send-video.json","flowiq-api-reference/openapi-messenger-send-audio.json","flowiq-api-reference/openapi-messenger-send-file.json"]},"navbar":{"links":[{"href":"mailto:dev@flowapt.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.flowiq.live"}},"footer":{"socials":{"x":"https://x.com/byflowapt","linkedin":"https://linkedin.com/company/flowapt"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"square-terminal","href":"https://app.flowiq.live"},{"anchor":"Support","icon":"envelope","href":"mailto:dev@flowapt.com"},{"anchor":"Flowapt","icon":"globe","href":"https://flowapt.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flowapt","hasAudioNarration":false,"actualSubdomain":"flowapt","customDomains":["docs.flowapt.com"],"gitSource":{"type":"github","owner":"mattflowapt","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0429689421b24d9c46bf2c","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Send Messages","count":21},{"language":"default","tag":"WhatsApp","count":17},{"language":"default","tag":"Calling","count":12},{"language":"default","tag":"Webhooks","count":7},{"language":"default","tag":"Messenger","count":7},{"language":"default","tag":"Subscriptions","count":6},{"language":"default","tag":"Instagram","count":6},{"language":"default","tag":"Answer and end","count":4},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Contacts \u0026 Conversations","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"flowiq-api-reference/change-subscription","slug":"/flowiq-api-reference/change-subscription","pageMetadata":{"title":"Change a subscription","description":"Skip or move a delivery, change products and delivery rhythms, update the address, pause, resume, cancel or reactivate a FlowIQ subscription from your own system.","href":"/flowiq-api-reference/change-subscription"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Skip or move a delivery, change products and delivery rhythms, update the address, pause, resume, cancel or reactivate a FlowIQ subscription from your own system.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use these endpoints when your own system (an ERP, a back office, a booking system) is where your team manages subscriptions. A change made here is the same change your team makes in FlowIQ, the customer makes in their portal, or the AI makes over WhatsApp: FlowIQ updates every delivery it affects, prices products from your store, and creates each Shopify order on its delivery date with the change in it.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Make subscription changes through FlowIQ (this API, FlowIQ itself, the portal or WhatsApp), not on the Shopify order. FlowIQ creates each delivery’s Shopify order on its date from the subscription, so a change made only in Shopify is not carried to the next delivery.`})}),`\n`,_jsx(_components.p,{children:`Nothing here charges a card or sets a price. Retrying a failed charge, charging early, credits and discounts stay in FlowIQ.`}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST https://api.flowiq.live/v1/subscriptions/{id}/{action}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`{id}`}),` is the subscription’s `,_jsx(_components.code,{children:`id`}),` from `,_jsx(_components.a,{href:`/flowiq-api-reference/endpoint/list-subscriptions`,children:`list`}),` or `,_jsx(_components.a,{href:`/flowiq-api-reference/endpoint/get-subscription`,children:`get`}),`. Use an organisation API key with `,_jsx(_components.strong,{children:`write`}),` permission (Settings, API Keys) as a Bearer token; a subscription on another account answers `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Deliveries are named by their `,_jsx(_components.code,{children:`delivery_number`}),` (shown in the subscription’s `,_jsx(_components.code,{children:`schedule`}),`). Dates are calendar days in South Africa, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`; a moved delivery keeps the time of day it had. A delivery can only be moved to tomorrow or later, and one that is due in the next 15 minutes can no longer be changed (it may already be charging).`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.flowiq.live/v1/subscriptions/3f2c6a1e-8b0d-4c55-9f7e-1d2a3b4c5d6e/reschedule\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer fiq_YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: erp-change-88213\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"delivery_number\": 3, \"date\": \"2026-12-18\" }'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Limits: 60 changes per minute per key. Send an `,_jsx(_components.code,{children:`Idempotency-Key`}),` so a retried request is not applied twice (`,_jsx(_components.a,{href:`/flowiq-api-reference/conventions`,children:`how it works`}),`).`]}),`\n`,_jsx(Heading,{level:`2`,id:`actions`,children:`Actions`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Action`}),_jsx(_components.th,{children:`Body`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`skip`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`delivery_number`})}),_jsx(_components.td,{children:`Skips one scheduled delivery. Nothing is charged or sent for it`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unskip`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`delivery_number`})}),_jsx(_components.td,{children:`Puts a skipped delivery back on its date`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reschedule`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`delivery_number`}),`, `,_jsx(_components.code,{children:`date`})]}),_jsx(_components.td,{children:`Moves one delivery to another day. The others stay where they are`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`schedule`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`start_date`}),` and/or `,_jsx(_components.code,{children:`every_weeks`}),` (1-26)`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`start_date`}),` moves the whole schedule so the next delivery falls on that day, the rest following at the same rhythm. `,_jsx(_components.code,{children:`every_weeks`}),` changes how often it delivers, keeping the next date. On a subscription with a rhythm per product, `,_jsx(_components.code,{children:`every_weeks`}),` puts every product on that rhythm`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`items`}),`: `,_jsx(_components.code,{children:`[{ \"variant_id\", \"quantity\", \"every_weeks\"? }]`}),`, `,_jsx(_components.code,{children:`preview`}),`?`]}),_jsxs(_components.td,{children:[`Replaces the products on `,_jsx(_components.strong,{children:`every`}),` delivery still to come with this list (send the full list). Prices come from your store. `,_jsx(_components.code,{children:`every_weeks`}),` sets a new product’s rhythm on a subscription with a rhythm per product`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`delivery-items`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`delivery_number`}),`, `,_jsx(_components.code,{children:`items`}),`: `,_jsx(_components.code,{children:`[{ \"variant_id\", \"quantity\" }]`})]}),_jsxs(_components.td,{children:[`Changes the products of `,_jsx(_components.strong,{children:`one`}),` delivery only. The subscription’s other deliveries keep their products`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`item-rhythm`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`variant_id`}),`, `,_jsx(_components.code,{children:`every_weeks`}),` (1-26), `,_jsx(_components.code,{children:`preview`}),`?`]}),_jsx(_components.td,{children:`On a subscription with a rhythm per product (for example meals every 6 weeks, supplements every 4), changes how often one product is delivered`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`address`}),`, `,_jsx(_components.code,{children:`delivery_number`}),`?`]}),_jsxs(_components.td,{children:[`Without `,_jsx(_components.code,{children:`delivery_number`}),`: the address for every delivery still to come. With it: that delivery only`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pause`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`resume_on`}),`?`]}),_jsxs(_components.td,{children:[`Pauses the subscription, until `,_jsx(_components.code,{children:`resume_on`}),` if given (it restarts by itself that day), else until it is resumed. On a paused subscription, changes or removes the restart date`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`resume`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Resumes a paused subscription`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cancel`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`reason`}),`? (up to 500 characters)`]}),_jsx(_components.td,{children:`Cancels the subscription. Its deliveries still to come are cancelled`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reactivate`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Brings a cancelled subscription back; its deliveries still to come are scheduled again`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`address`}),` takes `,_jsx(_components.code,{children:`first_name`}),`, `,_jsx(_components.code,{children:`last_name`}),`, `,_jsx(_components.code,{children:`company`}),`, `,_jsx(_components.code,{children:`address1`}),`, `,_jsx(_components.code,{children:`address2`}),`, `,_jsx(_components.code,{children:`city`}),`, `,_jsx(_components.code,{children:`province`}),`, `,_jsx(_components.code,{children:`province_code`}),`, `,_jsx(_components.code,{children:`zip`}),`, `,_jsx(_components.code,{children:`country`}),`, `,_jsx(_components.code,{children:`country_code`}),`, `,_jsx(_components.code,{children:`phone`}),`, with at least `,_jsx(_components.code,{children:`address1`}),`, `,_jsx(_components.code,{children:`city`}),` or `,_jsx(_components.code,{children:`zip`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`items`}),` and `,_jsx(_components.code,{children:`item-rhythm`}),` take `,_jsx(_components.code,{children:`\"preview\": true`}),` to see the new price and schedule without changing anything.`]}),`\n`,_jsxs(_components.p,{children:[`A cancelled subscription accepts only `,_jsx(_components.code,{children:`reactivate`}),`. A change the subscription’s state does not allow (moving the schedule of a paused subscription, changing a delivery that already happened) answers `,_jsx(_components.code,{children:`409 action_refused`}),` with the reason.`]}),`\n`,_jsx(Heading,{level:`3`,id:`examples`,children:`Examples`}),`\n`,_jsx(_components.p,{children:`Change the products on every delivery:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`POST /v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/subscriptions/{`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}/items`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [ { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"variant_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"54737885561111\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"quantity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }, { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"variant_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"49070790869271\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"quantity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"every_weeks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } ] }`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Pause until 15 January:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`POST /v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/subscriptions/{`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}/pause`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"resume_on\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-01-15\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`what-flowiq-does`,children:`What FlowIQ does`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The change is applied the same way as a change made in FlowIQ: every delivery it affects is updated, and the subscriber discount and delivery fee are worked out again when each delivery is charged.`}),`\n`,_jsx(_components.li,{children:`The customer gets the store’s usual message for that change, if the store sends one (for example on a pause or a cancellation), exactly as when the change is made in FlowIQ.`}),`\n`,_jsxs(_components.li,{children:[`Your `,_jsx(_components.a,{href:`/flowiq-api-reference/subscription-webhooks`,children:`subscription webhooks`}),` fire as for any other change (`,_jsx(_components.code,{children:`subscription.updated`}),`, `,_jsx(_components.code,{children:`subscription.paused`}),`, `,_jsx(_components.code,{children:`subscription.cancelled`}),`, …), including for changes you made through this API.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`The answer carries the subscription as `,_jsx(_components.a,{href:`/flowiq-api-reference/endpoint/get-subscription`,children:`get`}),` returns it after the change, with its `,_jsx(_components.code,{children:`schedule`}),`, plus `,_jsx(_components.code,{children:`result`}),`, FlowIQ’s own summary of the change.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"organization_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a4234f32-…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"reschedule\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"preview\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"changed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"delivery_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"order_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"old_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-01-11\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"new_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-12-18\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subscription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3f2c6a1e-…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"schedule\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [ `}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`…`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ] }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A preview answers `,_jsx(_components.code,{children:`\"preview\": true, \"changed\": false`}),` with the quote in `,_jsx(_components.code,{children:`result`}),` and no `,_jsx(_components.code,{children:`subscription`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Errors use the `,_jsx(_components.a,{href:`/flowiq-api-reference/conventions`,children:`standard shape`}),` with a `,_jsx(_components.code,{children:`code`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`validation_error`})}),_jsx(_components.td,{children:`A field is missing or malformed (the message names it), or a date is today or earlier`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`forbidden_scope`})}),_jsx(_components.td,{children:`The key has no write permission`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsx(_components.td,{children:`No such subscription on your account, no such delivery on it, or an unknown action`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`action_refused`})}),_jsxs(_components.td,{children:[`FlowIQ refused the change, with the reason in `,_jsx(_components.code,{children:`message`}),`: the delivery already happened or is due now, the subscription is cancelled or paused, it delivers everything on one rhythm (`,_jsx(_components.code,{children:`item-rhythm`}),`), or a product is not in your store`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`rate_limited`})}),_jsx(_components.td,{children:`More than 60 changes in a minute`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`upstream_error`})}),_jsxs(_components.td,{children:[`A service FlowIQ depends on did not answer; safe to retry with the same `,_jsx(_components.code,{children:`Idempotency-Key`})]})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Change a subscription","description":"Skip or move a delivery, change products and delivery rhythms, update the address, pause, resume, cancel or reactivate a FlowIQ subscription from your own system.","href":"/flowiq-api-reference/change-subscription"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Actions","slug":"actions","depth":2,"children":[{"title":"Examples","slug":"examples","depth":3,"children":[]}]},{"title":"What FlowIQ does","slug":"what-flowiq-does","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"flowapt","siteName":"FlowIQ API Documentation","title":"Change a subscription - FlowIQ API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T11:54:24.952Z","originalFileLocation":"flowiq-api-reference/change-subscription.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Skip or move a delivery, change products and delivery rhythms, update the address, pause, resume, cancel or reactivate a FlowIQ subscription from your own system.\">\u003cmeta data-mint-head name=\"application-name\" content=\"FlowIQ API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flowapt/WfinyEZfsUDoAQO_/_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/flowapt/WfinyEZfsUDoAQO_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flowapt/WfinyEZfsUDoAQO_/_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/flowapt/WfinyEZfsUDoAQO_/_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/flowapt/WfinyEZfsUDoAQO_/_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/flowapt/WfinyEZfsUDoAQO_/_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/flowapt/WfinyEZfsUDoAQO_/_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/flowapt/WfinyEZfsUDoAQO_/_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/flowapt/WfinyEZfsUDoAQO_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Change a subscription - FlowIQ API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Skip or move a delivery, change products and delivery rhythms, update the address, pause, resume, cancel or reactivate a FlowIQ subscription from your own system.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FlowIQ API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.flowapt.com/flowiq-api-reference/change-subscription\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flowapt.mintlify.site/_mintlify/api/og/v2?division=Subscriptions\u0026amp;title=Change+a+subscription\u0026amp;description=Skip+or+move+a+delivery%2C+change+products+and+delivery+rhythms%2C+update+the+address%2C+pause%2C+resume%2C+cancel+or+reactivate+a+FlowIQ+subscription+from+your+own+syste\u0026amp;theme=5d3902551c83490f1113d1b6\u0026amp;signature=a83e9e4a5c1f672769339b616ed112d8a8980af481ad1aada488e1e18d282f79\">\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=\"Change a subscription - FlowIQ API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Skip or move a delivery, change products and delivery rhythms, update the address, pause, resume, cancel or reactivate a FlowIQ subscription from your own system.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flowapt.mintlify.site/_mintlify/api/og/v2?division=Subscriptions\u0026amp;title=Change+a+subscription\u0026amp;description=Skip+or+move+a+delivery%2C+change+products+and+delivery+rhythms%2C+update+the+address%2C+pause%2C+resume%2C+cancel+or+reactivate+a+FlowIQ+subscription+from+your+own+syste\u0026amp;theme=5d3902551c83490f1113d1b6\u0026amp;signature=a83e9e4a5c1f672769339b616ed112d8a8980af481ad1aada488e1e18d282f79\">\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/flowapt/WfinyEZfsUDoAQO_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FlowIQ API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#C4520F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.flowapt.com/flowiq-api-reference/change-subscription\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/flowiq-api-reference/change-subscription.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.flowapt.com/#organization\",\"name\":\"FlowIQ API Documentation\",\"url\":\"https://docs.flowapt.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/flowapt/QUdYGUKLfZc69ji2/light-top-left.png?fit=max\u0026auto=format\u0026n=QUdYGUKLfZc69ji2\u0026q=85\u0026s=15f1f6f316bbdf2d7518f3a9d2332758\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.flowapt.com#website\",\"name\":\"FlowIQ API Documentation\",\"url\":\"https://docs.flowapt.com\",\"publisher\":{\"@id\":\"https://docs.flowapt.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.flowapt.com/flowiq-api-reference/change-subscription#webpage\",\"url\":\"https://docs.flowapt.com/flowiq-api-reference/change-subscription\",\"name\":\"Change a subscription\",\"description\":\"Skip or move a delivery, change products and delivery rhythms, update the address, pause, resume, cancel or reactivate a FlowIQ subscription from your own system.\",\"dateModified\":\"2026-11-23T11:54:24.952Z\",\"isPartOf\":{\"@id\":\"https://docs.flowapt.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.flowapt.com/flowiq-api-reference/change-subscription#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.flowapt.com/flowiq-api-reference/change-subscription#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Subscriptions\",\"item\":\"https://docs.flowapt.com/flowiq-api-reference/subscriptions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Change a subscription\",\"item\":\"https://docs.flowapt.com/flowiq-api-reference/change-subscription\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.flowapt.com/flowiq-api-reference/change-subscription#article\",\"headline\":\"Change a subscription\",\"name\":\"Change a subscription\",\"description\":\"Skip or move a delivery, change products and delivery rhythms, update the address, pause, resume, cancel or reactivate a FlowIQ subscription from your own system.\",\"url\":\"https://docs.flowapt.com/flowiq-api-reference/change-subscription\",\"mainEntityOfPage\":{\"@id\":\"https://docs.flowapt.com/flowiq-api-reference/change-subscription#webpage\"},\"dateModified\":\"2026-11-23T11:54:24.952Z\",\"publisher\":{\"@id\":\"https://docs.flowapt.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.flowapt.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FlowIQ API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"FlowIQ API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/flowiq-api-reference/change-subscription.md","siteName":"FlowIQ API Documentation","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"square-terminal","href":"https://app.flowiq.live"},{"anchor":"Support","icon":"envelope","href":"mailto:dev@flowapt.com"},{"anchor":"Flowapt","icon":"globe","href":"https://flowapt.com"}]},"groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/index"},{"title":"Quickstart","href":"/flowiq-quickstart"},{"title":"Conventions","href":"/flowiq-api-reference/conventions"}]},{"group":"WhatsApp","pages":[{"group":"Send Messages","pages":[{"title":"Send Text Message","openapi":"flowiq-api-reference/openapi-send-text.json POST /send-whatsapp","href":"/flowiq-api-reference/endpoint/send-text"},{"title":"Send Image","openapi":"flowiq-api-reference/openapi-send-image.json POST /send-whatsapp","href":"/flowiq-api-reference/endpoint/send-image"},{"title":"Send Video","openapi":"flowiq-api-reference/openapi-send-video.json POST /send-whatsapp","href":"/flowiq-api-reference/endpoint/send-video"},{"title":"Send Audio","openapi":"flowiq-api-reference/openapi-send-audio.json POST /send-whatsapp","href":"/flowiq-api-reference/endpoint/send-audio"},{"title":"Send Document","openapi":"flowiq-api-reference/openapi-send-document.json POST /send-whatsapp","href":"/flowiq-api-reference/endpoint/send-document"},{"title":"Send Location","openapi":"flowiq-api-reference/openapi-send-location.json POST /send-whatsapp","href":"/flowiq-api-reference/endpoint/send-location"},{"title":"Send Contact Card","openapi":"flowiq-api-reference/openapi-send-contacts.json POST /send-whatsapp","href":"/flowiq-api-reference/endpoint/send-contacts"},{"title":"Send Interactive Buttons","openapi":"flowiq-api-reference/openapi-send-interactive-buttons.json POST /send-whatsapp","href":"/flowiq-api-reference/endpoint/send-interactive-buttons"},{"title":"Send Interactive List","openapi":"flowiq-api-reference/openapi-send-interactive-list.json POST /send-whatsapp","href":"/flowiq-api-reference/endpoint/send-interactive-list"},{"title":"Send Reaction","openapi":"flowiq-api-reference/openapi-send-reaction.json POST /send-whatsapp","href":"/flowiq-api-reference/endpoint/send-reaction"},{"title":"Send Typing Indicator","openapi":"flowiq-api-reference/openapi-send-typing.json POST /send-whatsapp","href":"/flowiq-api-reference/endpoint/send-typing"},{"title":"Mark Message as Read","openapi":"flowiq-api-reference/openapi-send-read.json POST /send-whatsapp","href":"/flowiq-api-reference/endpoint/send-read"}]},{"group":"Templates \u0026 Broadcasts","pages":[{"title":"Send Template","openapi":"flowiq-api-reference/openapi-send-template.json POST /send-template","href":"/flowiq-api-reference/endpoint/send-template"},{"title":"Broadcast Analytics","openapi":"flowiq-api-reference/openapi-broadcast-analytics.json GET /broadcast-analytics","href":"/flowiq-api-reference/endpoint/broadcast-analytics"}]},{"group":"Contacts \u0026 Conversations","pages":[{"title":"Get Contact","openapi":"flowiq-api-reference/openapi.json GET /contact","href":"/flowiq-api-reference/endpoint/get-contact"},{"title":"Create Contact","openapi":"POST /contact","href":"/flowiq-api-reference/endpoint/contact"},{"title":"Conversations","openapi":"GET /conversations","href":"/flowiq-api-reference/endpoint/conversations"}]}]},{"group":"Calling","pages":[{"title":"Calling","href":"/flowiq-api-reference/calling"},{"group":"Calls","pages":[{"title":"List Calls","openapi":"flowiq-api-reference/openapi-calls.json GET /v1/calls","href":"/flowiq-api-reference/endpoint/list-calls"},{"title":"Get Call","openapi":"flowiq-api-reference/openapi-calls.json GET /v1/calls/{call_id}","href":"/flowiq-api-reference/endpoint/get-call"},{"title":"Start Call","openapi":"flowiq-api-reference/openapi-calls.json POST /v1/calls","href":"/flowiq-api-reference/endpoint/start-call"}]},{"group":"Answer and end","pages":[{"title":"Pre-accept Call","openapi":"flowiq-api-reference/openapi-calls.json POST /v1/calls/pre-accept","href":"/flowiq-api-reference/endpoint/pre-accept-call"},{"title":"Accept Call","openapi":"flowiq-api-reference/openapi-calls.json POST /v1/calls/accept","href":"/flowiq-api-reference/endpoint/accept-call"},{"title":"Reject Call","openapi":"flowiq-api-reference/openapi-calls.json POST /v1/calls/reject","href":"/flowiq-api-reference/endpoint/reject-call"},{"title":"End Call","openapi":"flowiq-api-reference/openapi-calls.json POST /v1/calls/terminate","href":"/flowiq-api-reference/endpoint/end-call"}]},{"group":"Permission","pages":[{"title":"Get Call Permission","openapi":"flowiq-api-reference/openapi-calls.json GET /v1/calls/permissions/{whatsapp_id}","href":"/flowiq-api-reference/endpoint/get-call-permission"},{"title":"Request Call Permission","openapi":"flowiq-api-reference/openapi-calls.json POST /v1/calls/permission-requests","href":"/flowiq-api-reference/endpoint/request-call-permission"}]},{"group":"Settings","pages":[{"title":"Get Calling Settings","openapi":"flowiq-api-reference/openapi-calls.json GET /v1/calling/settings","href":"/flowiq-api-reference/endpoint/get-calling-settings"},{"title":"Update Calling Settings","openapi":"flowiq-api-reference/openapi-calls.json PATCH /v1/calling/settings","href":"/flowiq-api-reference/endpoint/update-calling-settings"}]}]},{"group":"Instagram","pages":[{"title":"Instagram API","sidebarTitle":"Overview","href":"/flowiq-api-reference/instagram"},{"group":"Send Messages","pages":[{"title":"Send Instagram Text","sidebarTitle":"Send Text Message","openapi":"flowiq-api-reference/openapi-instagram-send-text.json POST /send-instagram","href":"/flowiq-api-reference/endpoint/send-instagram-text"},{"title":"Send Instagram Image","sidebarTitle":"Send Image","openapi":"flowiq-api-reference/openapi-instagram-send-image.json POST /send-instagram","href":"/flowiq-api-reference/endpoint/send-instagram-image"},{"title":"Send Instagram Video","sidebarTitle":"Send Video","openapi":"flowiq-api-reference/openapi-instagram-send-video.json POST /send-instagram","href":"/flowiq-api-reference/endpoint/send-instagram-video"},{"title":"Send Instagram Audio","sidebarTitle":"Send Audio","openapi":"flowiq-api-reference/openapi-instagram-send-audio.json POST /send-instagram","href":"/flowiq-api-reference/endpoint/send-instagram-audio"}]},{"title":"Instagram Conversations","sidebarTitle":"Conversations","openapi":"flowiq-api-reference/openapi-instagram.json GET /instagram-conversations","href":"/flowiq-api-reference/endpoint/instagram-conversations"}]},{"group":"Messenger","pages":[{"title":"Messenger API","sidebarTitle":"Overview","href":"/flowiq-api-reference/messenger"},{"group":"Send Messages","pages":[{"title":"Send Messenger Text","sidebarTitle":"Send Text Message","openapi":"flowiq-api-reference/openapi-messenger-send-text.json POST /send-messenger","href":"/flowiq-api-reference/endpoint/send-messenger-text"},{"title":"Send Messenger Image","sidebarTitle":"Send Image","openapi":"flowiq-api-reference/openapi-messenger-send-image.json POST /send-messenger","href":"/flowiq-api-reference/endpoint/send-messenger-image"},{"title":"Send Messenger Video","sidebarTitle":"Send Video","openapi":"flowiq-api-reference/openapi-messenger-send-video.json POST /send-messenger","href":"/flowiq-api-reference/endpoint/send-messenger-video"},{"title":"Send Messenger Audio","sidebarTitle":"Send Audio","openapi":"flowiq-api-reference/openapi-messenger-send-audio.json POST /send-messenger","href":"/flowiq-api-reference/endpoint/send-messenger-audio"},{"title":"Send Messenger File","sidebarTitle":"Send File","openapi":"flowiq-api-reference/openapi-messenger-send-file.json POST /send-messenger","href":"/flowiq-api-reference/endpoint/send-messenger-file"}]},{"title":"Messenger Conversations","sidebarTitle":"Conversations","openapi":"flowiq-api-reference/openapi-messenger.json GET /messenger-conversations","href":"/flowiq-api-reference/endpoint/messenger-conversations"}]},{"group":"Subscriptions","pages":[{"title":"Subscriptions","href":"/flowiq-api-reference/subscriptions"},{"title":"List Subscriptions","openapi":"flowiq-api-reference/openapi-subscriptions.json GET /v1/subscriptions","href":"/flowiq-api-reference/endpoint/list-subscriptions"},{"title":"Get Subscription","openapi":"flowiq-api-reference/openapi-subscriptions.json GET /v1/subscriptions/{id}","href":"/flowiq-api-reference/endpoint/get-subscription"},{"title":"Upcoming Deliveries","openapi":"flowiq-api-reference/openapi-subscriptions.json GET /v1/subscriptions/upcoming","href":"/flowiq-api-reference/endpoint/upcoming-deliveries"},{"title":"Subscription by Shopify Order","openapi":"flowiq-api-reference/openapi-subscriptions.json GET /v1/subscriptions/by-order/{order_id}","description":"Which subscription a Shopify order belongs to, and which delivery of it the order is.","href":"/flowiq-api-reference/endpoint/subscription-by-order"},{"title":"Change a subscription","href":"/flowiq-api-reference/change-subscription"},{"title":"Subscription Webhooks","description":"Receive a POST from FlowIQ whenever a subscription is created, renewed, paused, resumed, changed or cancelled, or a payment fails.","href":"/flowiq-api-reference/subscription-webhooks"}]},{"group":"Tickets","pages":[{"title":"Update a ticket","href":"/flowiq-api-reference/update-ticket"},{"title":"Ticket Events","href":"/flowiq-api-reference/ticket-webhooks"}]},{"group":"Webhooks","pages":[{"title":"Events","href":"/flowiq-api-reference/webhooks"},{"title":"List Webhooks","openapi":"GET /get-webhooks","href":"/flowiq-api-reference/endpoint/get-webhooks"},{"title":"Create Webhook","openapi":"POST /set-webhooks","href":"/flowiq-api-reference/endpoint/create-webhook"},{"title":"Delete Webhook","openapi":"DELETE /set-webhooks","href":"/flowiq-api-reference/endpoint/delete-webhook"},{"group":"Delivery log","pages":[{"title":"List Deliveries","openapi":"flowiq-api-reference/openapi-webhook-deliveries.json GET /v1/webhooks/deliveries","href":"/flowiq-api-reference/endpoint/list-webhook-deliveries"},{"title":"Get Delivery","openapi":"flowiq-api-reference/openapi-webhook-deliveries.json GET /v1/webhooks/deliveries/{id}","href":"/flowiq-api-reference/endpoint/get-webhook-delivery"},{"title":"Retry Delivery","openapi":"flowiq-api-reference/openapi-webhook-deliveries.json POST /v1/webhooks/deliveries/{id}/retry","href":"/flowiq-api-reference/endpoint/retry-webhook-delivery"}]}]},{"group":"Reporting \u0026 AI","pages":[{"title":"Reporting API","href":"/flowiq-api-reference/reporting-api"},{"title":"AI Assistants (MCP)","href":"/flowiq-api-reference/mcp"}]}]},"basePath":"","title":"Change a subscription - FlowIQ API Documentation","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}