v1

latestOpenAPI 3.0.12026-07-244011,5573.5 MB
Reward Suppliers

Upload manual coupons file

Uploads a coupon code file (CSV or text) to the manual coupon supplier's pool.

post/v2/reward-suppliers/manual-coupons/{reward_supplier_id}/coupons

Path parameters

reward_supplier_idstring required

Query parameters

allow_restricted_charactersboolean
allow_expiredboolean
discard_duplicatedboolean
default_expiry_datestring

RFC 3339 or RFC 9557 date-time with a numeric UTC offset and an optional IANA time-zone suffix in square brackets. Precision up to milliseconds.

Example:2025-10-24T02:00:00-07:00

Response

Successful response

couponsstring[] required
created_atstring required

RFC 3339 or RFC 9557 date-time with a numeric UTC offset and an optional IANA time-zone suffix in square brackets. Precision up to milliseconds.

filenamestring nullable required
idstring required
number_of_coupons_to_uploadinteger required
operation_type'COUPON_DELETE' | 'COUPON_UPLOAD' required
request_messagestring required
result_messagestring required
reward_supplier_idstring required
status'FAILED' | 'SUCCESS' required

Example response

{
  "created_at": "2025-10-24T02:00:00-07:00",
  "uploaded_coupons": [
    {
      "expires_at": "2025-10-24T02:00:00-07:00"
    }
  ]
}