Generate

sales Rule Coupon Management V1Generate Post

post

Generate coupon for a rule

Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"couponSpec":{"rule_id":"<integer>","format":"<string>","quantity":"<integer>","length":"<integer>","prefix":"<string>","suffix":"<string>","delimiter_at_every":"<integer>","delimiter":"<string>","extension_attributes":"<object>"}}
Responses
200

OK

application/json
Responseobject
post
/V1/coupons/generate