Create a Subscription
Create a new subscription with the given parameters.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
ID of the plan associated with this subscription.
When the subscription is intended to start. Must be a date in YYYY-MM-DD format or "next possible".
ID of the previous energy supplier. Required if switching from another energy supplier.
Response
Type of object is always subscription.
Unique identifier for the subscription.
Unique number for the subscription.
When the subscription is intended to start. Must be a date in YYYY-MM-DD format or "next possible".
When the subscription was created.
Status of the subscription.
pending
, active
, ended
When the subscription became active.
When the subscription was terminated.
When the subscription ended.