Create subscription

Activates a subscription for a customer. Subscription type IDs differ between staging and production; resolve them per environment before creating subscriptions.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
customerIdintegerRequired
subscriptionTypeIdintegerRequired
validTodatetimeRequired
validFromdatetimeOptional
dependantCustomerIdslist of integersOptional
Provide for a family subscription to link dependants to the main member.

Response

Successful.
messagestring
subscriptionobject

Errors

400
Bad Request Error
401
Unauthorized Error
409
Conflict Error