List discount codes
list_discount_codesRetrieve a paginated list of discount codes for a program, or filter by partner, discount, or code to audit and manage promotions.
Instructions
Retrieve a paginated list of discount codes in a program or filtered by partner, discount, or code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Filter discount codes by the alphanumeric code (e.g. `PARTNER10OFF`). | |
| page | No | The page number for pagination. The first page is `1`. | |
| account | No | Exact configured private workspace profile label; not a tenant or provider account ID. | |
| page_size | No | The number of items per page. | |
| partner_id | No | The ID of the partner to retrieve discount codes for. If omitted, returns discount codes for the whole program. | |
| discount_id | No | Filter discount codes by discount ID. |