Affiliates
Get Affiliate
Detail view: referrals, attributed orders, affiliate wallet ledger and payout requests.
get/v1/shops/{shopId}/affiliates/{customerId}
Response
Example response
{
"affiliate": {
"id": 1,
"email": "customer@sellauth.test",
"shop_id": 1,
"balance": "0.00",
"affiliate_balance": "0.00",
"affiliate_code": "PARTNER10",
"affiliate_code_set_at": "2026-09-04 21:06:20",
"affiliate_tier_id": null,
"affiliate_referrer_earnings": "0.00",
"created_at": "2026-09-04T21:06:20.000000Z",
"referrals_count": 0,
"affiliate_tier": null
},
"referrals": [],
"attributed_invoices": [],
"wallet_transactions": [],
"payout_requests": [
{
"id": 1,
"shop_id": 1,
"shop_customer_id": 1,
"amount": 25,
"status": "pending",
"payout_details": "PayPal: customer@sellauth.test",
"seller_note": null,
"processed_by": null,
"processed_at": null,
"created_at": "2026-09-04T21:06:20.000000Z",
"updated_at": "2026-09-04T21:06:20.000000Z"
}
],
"balance_mode": "shared"
}Changes
No recorded changes to this endpoint across all 2 revisions of this API.