curl -X POST https://api.swervpay.co/api/v1/customers/{id}/update \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"phone_number": "user",
"email": "[email protected]"
}'
{
"message": "<string>"
}
Update customer detail
curl -X POST https://api.swervpay.co/api/v1/customers/{id}/update \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"phone_number": "user",
"email": "[email protected]"
}'
{
"message": "<string>"
}
curl -X POST https://api.swervpay.co/api/v1/customers/{id}/update \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"phone_number": "user",
"email": "[email protected]"
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.
Was this page helpful?