Bulk Create Coupon Codes

Bulk-create coupon codes for a coupon definition by providing a list of codes.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Creates multiple coupon codes in a single request (each code can be unlimited or have a defined stock). Returns a summary with successfully created codes and per-item validation/processing errors; if all items fail, the endpoint responds with 400, otherwise 201 (even if some items failed).

Max codes in request: 1000


Path Params
string
required
Defaults to UUID of Coupon
Body Params
codes
array of objects
required

Array of coupon code objects (maximum 1,000 items).

codes*
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json