Create coupon
POST/v1/coupons
Creates a discount coupon. The code must be unique per organization. Use discount_type=percentage with discount_value between 0 and 100, or discount_type=fixed_amount with discount_value in cents (÷100 → BRL).
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Coupon created.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.