Skip to main content
PATCH
Update a customer's marketing preferences

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
string
required

Body

application/json
customer
object

Send at least one of the two preferences.

Response

Success

A single customer.

customer
object

A customer of the company. Every customer response carries the base fields. Some fields appear only on particular endpoints: active_subscriptions_count, inactive_subscriptions_count, metafields, member_id and jwt are added for company admins; points and attributable_rep are added by the detail, update and attributable-rep endpoints; the sponsor, rank, identity and agreement fields are added by the detail and update endpoints only.

meta
object | null