Get Affiliate
GET
/admin/affiliates/{id}
const url = 'http://localhost:9000/admin/affiliates/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:9000/admin/affiliates/exampleParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
affiliate
object
id
string
name
string
email
string
phone
string
status
string
currency_code
string
primary_address_id
string
created_at
string format: date-time
*addresses
string
promotions
Array<object>
object
Example generated
{ "affiliate": { "id": "example", "name": "example", "email": "example", "phone": "example", "status": "example", "currency_code": "example", "primary_address_id": "example", "created_at": "2026-04-15T12:00:00Z", "*addresses": "example", "promotions": [ {} ] }}