Get Promotion Codes
GET/v2/promotions/:promotionID/codes
You can use this endpoint to retrieve promotion codes.
note
- The
codes.max_uses
attribute represents the maximum usage of the codes. - The
codes.uses
attribute represents the remaining number of times the codes can be used for the promotion. - Codes created before April 27, 2023 will only have
codes.uses
attribute in the response body.
Request
Responses
- 200
- 401
Response Headers
Unauthorized