ReDoc documentation

coupons/generate

coupons/generate

post/V1/coupons/generate

Generate coupon for a rule

Request
Request Body schema:
required
object (sales-rule-data-coupon-generation-spec-interface)

CouponGenerationSpecInterface

Responses
200

200 Success.

401

401 Unauthorized

500

Internal Server error

default

Unexpected error

Request samples
{
  • "couponSpec": {
    }
}
Response samples
[
  • "string"
]