---
title: "GET /admin/affiliates/{id}/referral_codes"
method: GET
path: "/admin/affiliates/{id}/referral_codes"
tags: ["affiliate"]
---

# GET /admin/affiliates/{id}/referral_codes

`GET /admin/affiliates/{id}/referral_codes`

Retrieves list referral codes given to this affiliate.

## Response `200`

- object
  - `coupons` object[]
    - `code` string
    - `discount_type` 'percentage' | 'fixed_amount' | 'free_shipping'
    - `discount_value` number

## Other responses

- `403` — Not authenticated

---

[API](https://skmtc.dev/goaffpro/apis/goaffpro-api.md) · [All operations](https://skmtc.dev/goaffpro/apis/goaffpro-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goaffpro/goaffpro-api/revisions/832de9c7d0ae/schema)
