curl -X PUT 'https://crypto-api.yativo.com/api/customers/cust_01HX9KZMB3F7VNQP8R2WDGT4E5' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"phone": "+14155559999",
"metadata": { "plan": "enterprise" }
}'
{
"status": "success",
"data": {
"id": "cust_01HX9KZMB3F7VNQP8R2WDGT4E5",
"email": "jane@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone": "+14155559999",
"metadata": { "plan": "enterprise" },
"updated_at": "2026-03-26T11:00:00Z"
}
}
Update a customer’s profile information
curl -X PUT 'https://crypto-api.yativo.com/api/customers/cust_01HX9KZMB3F7VNQP8R2WDGT4E5' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"phone": "+14155559999",
"metadata": { "plan": "enterprise" }
}'
{
"status": "success",
"data": {
"id": "cust_01HX9KZMB3F7VNQP8R2WDGT4E5",
"email": "jane@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone": "+14155559999",
"metadata": { "plan": "enterprise" },
"updated_at": "2026-03-26T11:00:00Z"
}
}
Bearer YOUR_ACCESS_TOKENcurl -X PUT 'https://crypto-api.yativo.com/api/customers/cust_01HX9KZMB3F7VNQP8R2WDGT4E5' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"phone": "+14155559999",
"metadata": { "plan": "enterprise" }
}'
{
"status": "success",
"data": {
"id": "cust_01HX9KZMB3F7VNQP8R2WDGT4E5",
"email": "jane@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone": "+14155559999",
"metadata": { "plan": "enterprise" },
"updated_at": "2026-03-26T11:00:00Z"
}
}