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": "5ff12f57-b619-4309-a05b-51cd2bbdc696",
  "object": "referral_item",
  "commission_amount": 580,
  "line_item": "037575a4-621c-4d57-a7d2-94006b0b0431",
  "referral": "7f9702d3-e323-471c-ad16-df062415472c",
  "created_at": 1773903582,
  "updated_at": 1773903582
}

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.