Customers

Create customer

Creates a new customer record

post/customers

Request

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

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

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

Response

Customer created

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.