Start a subscription

Sets up a new subscription for the account. If there is already an active subscription, the request will follow the standard proration rules to determine when the new subscription should start. These considerations can be explicitly overridden in the request itself.

A discount can be applied to this subscription by passing a discount_id, offer_id, or offer_code. However, only one of these fields can be provided. If multiple fields are provided, the request will fail.

Authorized scopes:

  • owner
  • admin:full
  • admin:limited
  • account:update
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The id of the application.

uuid
required

The id of the account.

Body Params
boolean

If true, the subscription will be created immediately, regardless of any existing subs or payments.

boolean

If true, the request will NOT attempt to prorate the existing payment. If true, and if there's a current subscription, the current subscription will play out until the end of the current billing period. Thereafter, the new subscription will start.

uuid
required

The id of the plan group to subscribe.

uuid
required

The id of the plan to subscribe.

uuid

The id of the discount to apply.

uuid

The id of the offer to apply.

string

The offer code to apply.

referral
object
string

An external id to associate with the subscription.

metadata
object

Metadata to associate with the subscription. Key names and values must be strings.

This is ignored by Revenue HQ and will be returned in the API payload exactly as supplied.

string
enum

The underlying billing system that will manage the subscription.

Allowed:
Headers
integer
Responses
204

Subscription update successfully

401

Unauthorized

Language
Credentials
Bearer
token
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json