The DrivenCart API allows you to programmatically interact with your deals, affiliates, and customer data. Perfect for:
Include your API key in the request header:
Authorization: Bearer YOUR_API_KEY
Example: Fetch your deals list
curl -X GET https://drivencart.com/api/deals \ -H "Authorization: Bearer YOUR_API_KEY"
Navigate to Dashboard → API Docs to view the complete list of available endpoints with:
Common Endpoints Include:
GET /api/deals - List all your dealsPOST /api/deals - Create a new dealGET /api/purchases - Fetch purchase historyGET /api/affiliate/stats - View affiliate statisticsAll API responses are returned in JSON format:
{
"success": true,
"data": {
// Response data here
},
"error": null
}Error responses include a descriptive message:
{
"success": false,
"data": null,
"error": "Invalid API key"
}To ensure fair usage and system stability:
429 Too Many Requests error