API References V1
Update a customer in the business
cURL
curl --request PATCH \ --url https://api.mpesaflow.dev/customers/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "John Doe", "phoneNumber": "254712345678" }'
{ "id": "cus_GqfKXLmg61LURZhB", "object": "customer", "environment": "development", "name": "John Doe", "phoneNumber": "254712345678", "createdAt": "2021-01-01T00:00:00Z", "lastActiveAt": "2021-01-01T00:00:00Z" }
The API key to use for authentication
The customer id
"cus_GqfKXLmg61LURZhB"
Update a customer
The body is of type object.
object
Get One Customer
The response is of type object.