List discounts

GET {{baseUrl}}/discounts

Returns a paginated list of discounts. Use the query parameters to page through results.

By default, Paddle returns discounts that are active. Use the status query parameter to return discounts that are archived or expired.

Request Params

KeyDatatypeRequiredDescription
afterstringReturn entities after the specified Paddle ID when working with paginated endpoints. Used in the meta.pagination.next URL in responses for list operations.
codestringReturn entities that match the discount code. Use a comma-separated list to specify multiple discount codes.
idstringReturn only the IDs specified. Use a comma-separated list to get multiple entities.
order_bystringOrder returned entities by the specified field and direction ([ASC] or [DESC]). For example, ?order_by=id[ASC].

Valid fields for ordering: id. | | per_page | number | | Set how many entities are returned per page. Paddle returns the maximum number of results if a number greater than the maximum is requested. Check meta.pagination.per_page in the response to see how many were returned.

Default: 50; Maximum: 200. | | status | string | | Return entities that match the specified status. Use a comma-separated list to specify multiple status values. |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring