Create Promotion Codes
POST/v2/promotions/:promotionID/codes
Use this endpoint to create promotion codes for a specific promotion.
note
When a promotion expires, the promotion codes attached to the promotion automatically become invalid. However, when you re-enable the expired promotion, the promotion codes attached to the promotion are deleted.
Request
Responses
- 201
- 401
Response Headers
Unauthorized