Add subscription to existing customer

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

You can use this API to add a subscription to an existing customer. As each customer can only have one plan, the customer must not have any other plans associated with their account when you use this.

Returned variables

Variable nameDescription
customerUniqueIdThe unique identifier of the customer in the Billsby platform
subscriptionUniqueIdThe unique identifier of the subscription in the Billsby platform
Path Params
string
required

Your companies Billsby subdomain - for example, if you login at widgets.billsby.com, your companyDomain is widgets

string
required

The unique identifier of the customer in the Billsby platform

Body Params
int32
required

The unique identifier of the cycle in the Billsby platform

int32

The number of units for unit based plans

address
object

The address of the customer

string

Any additional email addresses given by the customer

string

The country associated with the phone number

string

The country dial code for the customer phone number

string

The customer's phone number

boolean

Gas the customer given marketing consent: true or false

string

Tax registration number

string
customFieldResponse
array of objects

Any responses to custom fields

customFieldResponse
addOns
array of objects

Any add-ons to be included in the plan, along with the quantity of each add-on if unit based

addOns
int32

Any allowances to be included with the plan

couponCodes
array of objects

The coupon code to be used for the plan

couponCodes
Response

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