Subscriptions

Change Subscription Plan

Change subscription plan with automatic period recalculation.

Recalculates paid_until based on pricing difference between old and new plans, accounting for quantity discounts.

post/companies/{company_id}/subscriptions/{subscription_id}/actions/change_plan

Request

  • Base URL: https://api.radist.online/v2
  • URL: https://api.radist.online/v2/companies/{company_id}/subscriptions/{subscription_id}/actions/change_plan
  • Auth: one of:
    • API key in header X-Api-Key
    • OAuth 2 (password, token URL https://auth.radist.online/auth/realms/radist/protocol/openid-connect/token)

Path parameters

company_idinteger required
subscription_idinteger required

Request body

new_subscription_plan'FREE' | 'START' | 'STANDARD' | 'ADVANCED' required
previewboolean

Response

Successful Response

previewboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.