Salla Docs
Merchant API
Partner APIs
Storefront
Salla CLI
Salla Docs
    Light Mode

    List Affiliates

    GET/affiliates
    Last modified: a month ago

    This endpoint allows you to fetch a list of marketing affiliates.

    `marketing.read`- Marketing Read Only

    Request

    None

    Request samples

    Responses

    Success(200)
    HTTP Code: 200
    Content Type : JSONapplication/json
    Data Schema
    No schema defined
    Example
    {
      "status": 200,
      "success": true,
      "data": [
        {
          "id": 611208326,
          "code": "frm11",
          "marketer_name": "User Name",
          "marketer_city": "Medina",
          "commission_type": "fixed",
          "amount": {
            "amount": 300,
            "currency": "SAR"
          },
          "profit": {
            "amount": 150,
            "currency": "SAR"
          },
          "links": {
            "affiliate": "https://salla.sa/dev-wofftr4xsra5xtlv?utm_source=aff&utm_campaign=CXNAZ",
            "statistics": "https://salla.sa/dev-wofftr4xsra5xtlv/marketing/statistics/1604086218"
          },
          "apply_to": "first_order",
          "visits_count": 17,
          "notes": "Notes Here"
        }
      ],
      "pagenation": {
        "count": 10,
        "total": 10,
        "perPage": 65,
        "currentPage": 10,
        "totalPages": 10,
        "links": []
      }
    }
    Last modified: a month ago