curl --request PUT \ --url [https://api.agents.timepay.ai/api/v1/customer-data/bulk](https://api.agents.timepay.ai/api/v1/customer-data/bulk) \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "campaignId": "camp_abc123", "records": [ { "id": "loan_12345", "data": { "payment_status": "paid", "emi_amount": 5000 } }, { "id": "loan_67890", "data": { "payment_status": "partial", "emi_amount": 3000 } } ] }'
{ "success": true, "message": "Updated 2 of 2 records", "results": { "total": 2, "valid": 2, "invalid": 0, "successful": 2, "failed": 0, "retried": 0, "batchesProcessed": 1, "errors": [] } }
Update multiple customer records in a single request.
Bearer <your_token>
camp_abc123
Show item properties
loan_id
lead_id
Show properties