Base URL https://api.tolt.com
Query Parameters
Specify which related objects to include in the response. Valid values are
‘partner’ and ‘program’ . Use expand[]=partner or
expand[]=program to include the related objects.
Specify which related objects to include in the response. Valid values are
‘stats’ . Use include[]=stats to include the related objects.
Response
Unique identifier for the customer, uuid
or prefixed with cust_
Your unique identifier for the customer
ID of the referring partner
Your internal customer identifier
ISO 8601 timestamp of when the customer was created
ISO 8601 timestamp of when the customer became active
Current status of the customer (e.g., ‘lead’, ‘trialing’, ‘active’,
‘canceled’)
Program ID the customer belongs to
Partner details when expanded: Unique identifier for the partner
Partner’s status. Valid values are: ‘active’, ‘pending’, ‘suspended’,
‘rejected’.
ISO 8601 timestamp of when the partner was created
Program details when expanded: Unique identifier for the program
Program type (e.g., ‘public’)
Three-letter ISO currency code
ISO 8601 timestamp of when the program was created
An object containing the customer’s statistics: Total revenue generated in cents
Total commission generated in cents
ISO 8601 timestamp of the last order
cURL
cURL - Expand & Include
curl -X GET 'https://api.tolt.com/v1/customers/cust_dK9bzRGn46BhVgNFHD6fDgXW' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d ''
Response
Expand & Include Response
{
"success" : true ,
"data" : {
"id" : "cust_dK9bzRGn46BhVgNFHD6fDgXW" ,
"email" : "customer@email.com" ,
"partner_id" : "part_s7mbzRGn46BhVgNFHD6fDgXW" ,
"name" : "Jim Halpert" ,
"customer_id" : "jim_halpert_789" ,
"created_at" : "2025-01-15T14:30:00.000Z" ,
"updated_at" : "2025-01-15T15:00:00.000Z" ,
"status" : "active" ,
"program_id" : "prg_YRsbPDAKhWfdqJbFACheh" ,
"organization_id" : "org_JE3mfYNL9ci7sFaJazAv2"
}
}