{
"updates": [
{
"account_number": "12343536",
"variables": {
"customer_name": {
"value": "syll",
"type": "mergeable"
},
"debt_amount": {
"value": "6000",
"type": "independent"
}
}
},
{
"account_number": "46745882",
"variables": {
"customer_name": {
"value": "ham",
"type": "mergeable"
},
"gender": {
"value": "male",
"type": "mergeable"
},
"borrow_total_money": {
"value": "610.88",
"type": "independent"
}
}
}
]
}
curl --location --request POST 'https://api.airudder.com/api/v1/updatelists' \
--header 'Authorization;' \
--header 'User-Agent: Airudder' \
--header 'Content-Type: application/json' \
--data-raw '{
"updates": [
{
"account_number": "12343536",
"variables": {
"customer_name": {
"value": "syll",
"type": "mergeable"
},
"debt_amount": {
"value": "6000",
"type": "independent"
}
}
},
{
"account_number": "46745882",
"variables": {
"customer_name": {
"value": "ham",
"type": "mergeable"
},
"gender": {
"value": "male",
"type": "mergeable"
},
"borrow_total_money": {
"value": "610.88",
"type": "independent"
}
}
}
]
}'
{
"code": 200,
"message": "All accounts updated successfully",
"request_id": "req-20250822191530-87542",
"data": {
"total_requested": 3,
"total_updated": 3,
"updated_accounts": [
"12343536",
"5738957298",
"9999999999"
],
"not_found_accounts": [],
"invalid_fields": []
}
}