Create a new Coupon
POST/coupon
Creates a new Coupon and attaches it to the requested Company.
A Coupon functions as a description for the CouponCodes. The Coupons are not used by visitors, instead they use the CouponCodes.
The Coupon holds the basic information that all underlying CouponCodes use, e.g. if the CouponCodes will be used on Orders or Products, or the value of the CouponCode or discount, depending on the type.
Request​
Responses​
- 200
- 403
- 404
- 406
Coupon created.
Unauthorized. You do not have permission to create a Coupon for the Company.
Company not found.
Request is invalid, see error context for validation errors.