Add a voucher to a subscription
1 min
POST
https://api.fictive.com/REST/api/accounts/{accountReference}/subscriptions/{subscriptionId}/vouchers
accountReferencestring
subscriptionIdinteger
X-TokenIdstringThe eSuite Token Id
X-SessionIdstringThe eSuite Session Id
X-VersionstringThe eSuite Version
OriginstringThe eSuite Origin
voucherCodeobjectVoucher code.
204No Content
400Request is invalid.
403Unable to authenticate using the provided session.
404No subscriptions found.
500Internal Server Error.
curl --request POST \
--url https://api.fictive.com/REST/api/accounts/{accountReference}/subscriptions/{subscriptionId}/vouchers \
--header 'accept: application/json' \
--header 'x-version: string'Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.