Skip to main content
GET
/
v1
/
referral_items
List
curl --request GET \
  --url https://{defaultHost}/v1/referral_items \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "pagination": {
    "count": 1,
    "limit": 20,
    "page": 1,
    "url": "/v1/referral_items"
  },
  "data": [
    {
      "id": "57b45a05-3bc4-4412-8c0a-92108f3c722c",
      "object": "referral_item",
      "commission_amount": 580,
      "line_item": "88686c21-e3ee-456f-806f-4a2f8aeaeea3",
      "referral": "f3d2b948-d81b-426a-8cf6-bf5c15157233",
      "created_at": 1767909751,
      "updated_at": 1767909751
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

ids[]
string[]

Only return objects with the given IDs.

limit
integer

A limit on the number of items to be returned, between 1 and 100.

page
integer

The page of items you want returned.

referral_ids[]
string[]

Only return objects that belong to the given referrals.

Response

200 - application/json

Success

object
string

A string describing the object type returned.

pagination
object
data
array

An array of objects.