Create coupon code

Overview

Add a code to a coupon. Pass the coupon ID in the couponId path parameter.

A coupon code is a string of characters that a customer can use to apply the coupon to a purchase.

Code quantities

📘

To create multiple versions of the same coupon code, set the codeQuantity body parameter to greater than 1.

When multiple versions of the code are created, a sequentially or randomly generated numerical value is appended to the code text. This is controlled by the codeTypes body parameter:

  • 'Sequential': the numerical values are generated sequentially.
  • 'Random': random numerical values are appended.
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!