Skip to main content
PUT
/
customers
/
{id}
Update a customer
curl --request PUT \
  --url https://api.sentralbee.app/v1/customers/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "firstname": "<string>",
  "lastname": "<string>",
  "email": "jsmith@example.com",
  "phone": "<string>",
  "note": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "firstname": "<string>",
  "lastname": "<string>",
  "email": "jsmith@example.com",
  "phone": "<string>",
  "note": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://sentralbee.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Workspace API key. The workspace is derived from the key.

Path Parameters

id
string<uuid>
required

Resource UUID.

Body

application/json
firstname
string
required
lastname
string
email
string<email>
phone
string
note
string

Response

Updated customer

id
string<uuid>
required
firstname
string
required
lastname
string
required
email
string<email>
phone
string
note
string
created_at
string<date-time>
updated_at
string<date-time>