Update contact
Changed onUpdates an existing contact record
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
The resource's ID, as returned in its id field
Request body
Required on create. Unique among the account's contacts.
Full name, split into first_name and last_name. Optional: without it the contact has no name, and merge tags such as {{ customer.first_name }} use their default.
With its country code, e.g. +1 415 555 0123. Stored in international E.164 form.
false adds the email to the suppression list as unsubscribed. true is refused while the address is suppressed; remove it from the suppression list only if the person asked.
Replaces the contact's tags. An empty list leaves them as they are: remove one with DELETE /contacts/{contact_id}/tags/{id}. An id that isn't one of your tags is refused with 422.
Set of key-value pairs you can attach to the object — store your own system's IDs or grouping labels. Keys max 40 chars (up to 50 keys), values stored as strings max 500 chars. On update, keys merge individually; set a key to null or "" to remove it. Echoed back on reads and in webhook payloads.
Response
Contact updated
Live orders that went through: refunded ones count, while pending, failed and test-mode orders don't.
Lifetime spend in the smallest unit of the account's currency, net of refunds. Test-mode orders and disputed charges are left out.
Changes
- warning
the optional response header
Deprecationremoved for the status400 - warning
the optional response header
Linkremoved for the status400 - warning
the optional response header
RateLimitremoved for the status400
10 more changes in this revision
- warning