Import Vouchers

Method imports standalone vouchers and gift cards to the repository.

📘

Important notes

  • Start and expiration dates need to be provided in compliance with the ISO 8601 norms. For example, 2020-03-11T09:00:00.000Z.
  • custom code attributes (not supported by-default) need to be added as code metadata.
  • note that you cannot import two same codes to a single Voucherify Project.

Returns

Returns 202 HTTP status code on success and the id of the scheduled async action. It informs that your request has been accepted and vouchers will be added to the repository asynchronously. To check the import status and result, copy async action id from the response and pass it using this endpoint.

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