Skip to main content
GET
/
v1
/
referral_items
/
{id}
Retrieve
curl --request GET \
  --url https://{defaultHost}/v1/referral_items/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "6034e617-47cc-4a96-bf81-004673261c74",
  "object": "referral_item",
  "commission_amount": 580,
  "line_item": "921696d9-8c33-4d5d-a768-b7c4509a0ba6",
  "referral": "d5807207-ed54-472e-9a87-f64f59e2fa52",
  "created_at": 1770234887,
  "updated_at": 1770234887
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

commission_amount
integer

The amount in cents that will be paid out to the affiliate for this referral item.

line_item

Expandable – The associated line item ID.

referral

Expandable – The associated referral ID.

created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.