Skip to content

Update a customer

PATCH
/v1/customers/{id}
curl --request PATCH \
--url https://api.varman.io/v1/customers/example \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "name": "Acme Corp", "website": "https://acme.com", "stage": "prospect", "notes": {}, "ownerMemberId": "mem_abc123" }'

Updates name, website, stage, notes or owner of a customer. Only the fields sent are changed. Send null to clear optional fields.

id
required
string
X-Organization-Id
string
Media typeapplication/json
object
name

Customer company name

string

Example

Acme Corp
website

Customer website

object

Example

https://acme.com
stage

Deal or relationship stage

string
Allowed values: prospect in_review won lost active
notes

Free text notes

object
ownerMemberId

Member ID of the account owner (null clears it)

object

Example

mem_abc123