Update customer
PATCH
Update a customer's details. Only provided fields are changed.
apiKeyHeaderheader
x-api-key<token>API key for authentication. Generate from the dashboard or via POST /v1/api-keys.
id*stringUnique customer ID
x-api-key*stringAPI key for authentication
Length
1 <= length- body
name?stringUpdated full name of the customer
Length
1 <= lengthemail?stringUpdated email address
Format
emailphone_number?stringUpdated phone number in E.164 format
Response for status 200
application/json- response
id*stringname*stringemail*stringcreated_at*stringupdated_at*stringphone_number*stringcurl -X PATCH 'https://api.tryaccess.xyz/api/v1/customers/cus_01J9Z8K2P3Q4R5S6T7U8V9W0X1' \ -H 'x-api-key: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "name": "string", "email": "string", "created_at": "string", "updated_at": "string", "phone_number": "string"}How is this guide?