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.
Response
Whether the request was successful
Unique identifier for the promotion code
ID of the partner who owns the code
ISO 8601 timestamp of creation
ISO 8601 timestamp of last update
Program ID the promotion code belongs to
curl -X GET 'https://api.tolt.com/v1/promotion-codes/prc_dK9bzRGn46BhVgNFHD6fDgXW' \
-H 'Authorization: Bearer <API_KEY>'
{
"success" : true ,
"data" : {
"id" : "prc_dK9bzRGn46BhVgNFHD6fDgXW" ,
"code" : "SUMMER2024" ,
"type" : "percentage" ,
"value" : 20 ,
"partner_id" : "part_s7mbzRGn46BhVgNFHD6fDgXW" ,
"created_at" : "2025-01-15T14:30:00.000Z" ,
"updated_at" : "2025-01-15T14:30:00.000Z" ,
"program_id" : "prg_YRsbPDAKhWfdqJbFACheh" ,
"organization_id" : "org_JE3mfYNL9ci7sFaJazAv2"
}
}