Import Vouchers to Campaign

Imports vouchers to an existing campaign.

Discount type, expiration date and the remaining attributes will be taken from the Campaign settings.

Returns

Returns 202 HTTP status code on success and id of the scheduled asynchronous action. It informs that your request has been accepted and vouchers will be added to the repository asynchronously. To check the result and status, pass the async action id using Get Async Action endpoint.

Returns 400 HTTP error status code when the request includes incorrect data e.g. wrong data type or duplicated codes.

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