Affiliates

Detail view: referrals, attributed orders, affiliate wallet ledger and payout requests.

get/v1/shops/{shopId}/affiliates/{customerId}

Request

Response

balance_modestring

Example response

{
  "affiliate": {
    "id": 1,
    "email": "customer@sellauth.test",
    "shop_id": 1,
    "balance": "100.00",
    "affiliate_balance": "0.00",
    "affiliate_code": "PARTNER10",
    "affiliate_code_set_at": "2026-11-01 20:00:51",
    "affiliate_tier_id": null,
    "affiliate_referrer_earnings": "0.00",
    "created_at": "2026-11-01T20:00:51.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-11-01T20:00:51.000000Z",
      "updated_at": "2026-11-01T20:00:51.000000Z"
    }
  ],
  "balance_mode": "shared"
}

Changes

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status