Reference
//
Update a customer by ID
Updates an active regular customer. Walk-In customers are immutable and cannot be edited.
Security
oauth2ClientCredentials(Required scopes: customers:write)
Array of person identifiers associated with this customer.
Example:
[ "person-001" ]
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/customers/{id}
- Productionhttps://api.boyahq.com/v2/customers/{id}
- Sandboxhttps://sandbox.api.boyahq.com/v2/customers/{id}
curl -i -X PUT \
https://developer.boyahq.com/_mock/v2/openapi/customers/64f4205154a6357a7f85f656 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'business_id: string' \
-d '{
"name": "Acme Corp Updated",
"email": "billing@acme.com",
"phone": "+254700000000",
"address": "123 Main Street, Nairobi",
"person": [
"person-001"
],
"taxPin": "A123456789Z"
}'