# docs/api-reference/discount-codes/list

<Tip>
  Filter by `partnerId` or `discountId`. If both are omitted, this returns
  discount codes for the whole program.
</Tip>
