...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Tip |
---|
Available from CRM.COM R14.2.0 |
Excerpt |
---|
It applies a promo code on an existing subscription |
Resource URL
Parameters
Name | Type | Description | ||||||||
token | String | The token retrieved from the login method | ||||||||
subscription_identifier (semi-optional) | Identifier | The identifier of the subscription that the promo code will be applied on. The allowed subscription identifier fields are the following:
| ||||||||
accounts_receivable_identifier (semi-optional) | Accounts Receivable Identifier | The accounts receivable identifier that can be used to perform the subscription modification. The allowed accounts receivable identifier fields are the following:
| ||||||||
promo_code (mandatory) | String | The code of the promo code that will be redeemed |
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
...
Expand | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
HTTP Method: POST
Request: Body:
Response:
|
...
Response:
|