List discount codes
Retrieve a paginated list of discount codes for a partner / a given discount / the whole program.
Authorizations
Default authentication mechanism
Query Parameters
The ID of the partner to retrieve discount codes for. If omitted, returns discount codes for the whole program.
Filter discount codes by discount ID.
The page number for pagination. The first page is 1.
x <= 90071992547409911
The number of items per page.
x <= 10050
Response
The list of discount codes.
The unique ID of the discount code.
"dcode_1JVR7XRCSR0EDBAF39FZ4PMYE"
The alphanumeric discount code that customers can apply at checkout.
"PARTNER10OFF"
The ID of the discount this code belongs to.
The ID of the partner this discount code is assigned to.
The ID of the partner's referral link this discount code is associated with.
When this discount code was disabled, which happens when a partner is banned or deactivated. We don't delete the discount code to avoid another partner claiming a banned/deactivated code (abuse vector).