Customers
Update Customer
Update customer detail
POST
/
customers
/
{id}
/
update
Copy
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]"
}'
Copy
{
"message": "<string>"
}
Copy
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]"
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Response
200
application/json
OK
The response is of type object
.
Was this page helpful?
Copy
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]"
}'
Copy
{
"message": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.