Customers

Update customer

Updates an existing customer record

patch/customers/{id}

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/customers/{id}
  • Auth: API key in header Authorization

Path parameters

idstring required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

Request body

emailstring
namestring nullable
first_namestring nullable
last_namestring nullable
customer_type'paid' | 'free' | 'lead'
notesstring nullable
tag_idsstring[]

Response

Customer updated

idstring required
objectstring required
emailstring required
namestring nullable required
first_namestring nullable required
last_namestring nullable required
phone_numberstring nullable required
customer_type'paid' | 'free' | 'lead' required
notesstring nullable required
confirmed_atstring date-time nullable required
created_atstring date-time required
updated_atstring date-time required
deleted_atstring date-time nullable required
purge_atstring nullable required
anonymizedboolean required
metadataobject required
orders_countinteger required
total_spendnumber required

Changes

No recorded changes to this operation across all 2 revisions of this API.