ReDoc documentation
Generate coupon for a rule
required | object (sales-rule-data-coupon-generation-spec-interface) CouponGenerationSpecInterface |
200 Success.
401 Unauthorized
Internal Server error
Unexpected error
{- "couponSpec": {
- "rule_id": 0,
- "format": "string",
- "quantity": 0,
- "length": 0,
- "prefix": "string",
- "suffix": "string",
- "delimiter_at_every": 0,
- "delimiter": "string",
- "extension_attributes": { }
}
}
[- "string"
]