A Promotion Code represents a customer-redeemable code for a coupon. Multiple codes for a single coupon can be created.
In addition to the Errors applicable to all API endpoints, the following errors are specific to creating a promotion code:
|status code||error code||description|
|404||coupon.not-found||No coupon was found meeting the requirements. Make sure to specify the right coupon id and API key.
|409||promotion-code.exists||The promotion code