Manage coupon codes in coupon pools

This endpoint allows you to upload, assign, and unassign coupons in Coupon Pools in batches. It supports both pre-assigned and unassigned coupons. Uploaded coupon batches are processed asynchronously.
Each request can process up to 50,000 coupon codes.

Path Params
string
required

The ID of an existing coupon pool for which the source is set to uploaded.

string
required

The action carried on the coupons, which can be add, assign, or unassign.

Body Params

Request body to import coupons to the specified coupon pool.

coupons
array of strings

Coupon codes to be added to the coupon pool

coupons
Responses

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