Create a promotion
POST/v1/promotions
Creates a new promotion (coupon) for your company.
Required scope: promotions:write
Request
Responses
- 201
- 401
- 403
- 404
- 422
The created promotion.
Unauthenticated — the request is missing a credential, or the Bearer token / API key is invalid, expired, or revoked.
Insufficient scope — the credential is authenticated but lacks a scope the endpoint requires.
Not found — no resource matches the id in the path (or it belongs to a different company).
Validation failed — the request body failed schema validation. errors[] lists every offending field.