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": "425a289f-f053-47a4-891a-a771c641f016",
  "object": "referral_item",
  "commission_amount": 580,
  "line_item": "74cc60d2-d96b-43d1-8a18-de2b13373f5d",
  "referral": "9291333c-25a7-493d-a1d9-0f3057a0734a",
  "created_at": 1780335142,
  "updated_at": 1780335142
}

Documentation Index

Fetch the complete documentation index at: https://developer.surecart.com/llms.txt

Use this file to discover all available pages before exploring further.

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.