v1
latestOpenAPI 3.0.02026-07-2671142187.3 KBSubscriptions
Link add-ons to a subscription
Link one or more add-ons to a subscription by subscription id
post/subscriptions/{subscriptionId}/add-ons
Path parameters
subscriptionIdinteger required
The subscription id
Headers
api-tokenstring required
Your API access token for authentication and access to the Helcim API
Request body
Example request
{
"addOns": [
{
"addOnId": 123456,
"quantity": 5
}
]
}Response
Successful linking of add-ons to the subscription. The response body contains the data representation of all newly linked add-ons.
Example response
{
"data": [
{
"addOnId": 123456,
"name": "My linked add-on",
"description": "",
"amount": 3.5,
"firstProcessedNumber": 0,
"lastProcessedNumber": 0,
"isActive": "true",
"frequency": "recurring",
"quantity": 5
}
]
}