api
coupons

Generate coupons for coupon series

post/api/coupon/generate

Request

  • Base URL: https://vivenu.com
  • URL: https://vivenu.com/api/coupon/generate
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Request body

couponSeriesIdstring required

The ID of the coupon series.

sellerIdstring required

The ID of the seller.

couponAmountinteger required

The amount of coupons to generate

couponCodePrefixstring nullable

The prefix of the coupon code

Response

OK

status'success' | 'partial' required

The status of the request

couponAmountinteger required

The amount of coupons to generate

couponIdsstring[] required

The IDs of the generated coupons

Changes

No recorded changes to this operation across all 48 revisions of this API.