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": "7ce6e0a7-8eb4-4beb-82e4-0c76f4a886aa",
      "object": "referral_item",
      "commission_amount": 580,
      "line_item": "7cd88d89-342c-4af7-bcd3-082fefe61b31",
      "referral": "cbba298e-fb26-41b8-adf5-b569690a4101",
      "created_at": 1769674986,
      "updated_at": 1769674986
    }
  ]
}

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.