Ready to get started with Slash? Get Started →
cURL
curl --request PATCH \ --url https://api.slash.com/customer/{customerId} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>", "email": "<string>", "phone": "<string>", "customMetadata": {}, "status": "active" } '
{ "customer": { "id": "<string>", "name": "<string>", "email": "<string>", "status": "active", "phone": "<string>", "address": {}, "customMetadata": {} } }
Update a customer’s information.
Authentication from public API requests
The legal entity ID. Required if authenticating with access to multiple legal entities.
Updated display name.
Updated email address.
Updated phone number.
Show child attributes
Updated custom metadata.
Updated status.
active
archived
OK
A customer represents a billing recipient associated with a legal entity.