Contacts
Get contact
Changed onReturns a specific contact
get/contacts/{id}
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
id, string required
The resource's ID, as returned in its id field
Response
Contact details
Contact required
id, string required
object, string required
email, string required
name, string nullable required
first_name, string nullable required
last_name, string nullable required
phone_number, string nullable required
company, string nullable required
lifecycle, 'lead' | 'customer' required
became_customer_at, string date-time nullable required
notes, string nullable required
confirmed_at, string date-time nullable required
created_at, string date-time required
updated_at, string date-time required
deleted_at, string date-time nullable required
purge_at, string nullable required
subscribed, boolean
anonymized, boolean required
metadata, object required
orders_count, integer required
Live orders that went through: refunded ones count, while pending, failed and test-mode orders don't.
total_spend, integer required
Lifetime spend in the smallest unit of the account's currency, net of refunds. Test-mode orders and disputed charges are left out.
tags, unknown[] required
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
3 more changes in this revision
- warning