Migrate subscription
Changed onMigrates to a later version of the current plan. With starting_phase omitted and billing_anchor omitted or unchanged, migration amends the subscription in place: unchanged items retain their service periods and both response entries have the same ID. Existing addons must remain compatible with the target plan. Incompatible phase timelines or billing settings return an error. Providing starting_phase or a different billing_anchor explicitly requests replacement, which resets the phase timeline, may produce billing adjustments, and does not transfer addons. Custom subscriptions cannot be migrated.
Request
- Base URL: http://localhost:8888/api/v3
- URL: http://localhost:8888/api/v3/openmeter/subscriptions/{subscriptionId}/migrate
- Auth: none declared
Path parameters
ULID (Universally Unique Lexicographically Sortable Identifier).
Request body
Example request
{
"timing": "2023-01-01T01:01:01.001Z",
"billing_anchor": "2023-01-01T01:01:01.001Z"
}Response
The request has succeeded.
Changes
- ○
added to the
//////////////response propertyallOflist for the response status - ○
removed from the
//////////////response propertyallOflist for the response status
- ○
- ○
endpoint added
- ○