Publish Voucher

(will be depracated, use Create Publication instead) This method selects a voucher that is suitable for publication and assigns it to given customer.

This method selects a voucher that is suitable for publication, adds a publish entry and returns the publication object with the voucher object.

A voucher is suitable for publication when it's active and hasn't been published yet.

🚧

Clearly define the source of the voucher

You must clearly define which source you want to publish voucher code from. It can be either a code from a campaign or a specific voucher identified by code.

📘

Auto-update campaign

In case you want to ensure the number of publishable codes increases automatically with the number of customers, you should use auto-update campaign.

Returns

Returns a publication object which embeds a published voucher.

Language
Click Try It! to start a request and see the response here!