API referenceSections

SubscriptionChange

SubscriptionChange object
  • plan_id string optional
  • latest_revision boolean optional
  • state string optional
    Allowed values: "" "active" "suspended"
  • expires_at string (date-time) | null optional
  • clear_expiry boolean optional
  • overrides Limits optional

Used by

POST/api/v1/tenants/{tid}/customers/{cid}/subscription/previewShow a subscription change and the limits the customer would be past, without applying it
PUT/api/v1/tenants/{tid}/customers/{cid}/subscriptionApply a subscription change (plan, revision, state, expiry, overrides)