Deprecate a customer

Requires the CUSTOMER.UPDATE permission.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

versionstringRequiredDefaults to 1
version
resourceIdOrReferencestringRequiredDefaults to
The ID or reference of the resource.

Headers

x-platform-idstringOptional
Platform ID.

Response

OK
referencestringformat: "^\S+$"0-256 characters
A custom reference assigned to the customer.
typeenum
The type of customer entity.
Allowed values:
emailstringformat: "(\S*@\S*\..*)"0-256 characters
The email of the customer.
roleslist of enums
Allowed values:
object_typestring or nullRead-only
idstring or nullRead-only
created_atstring or nullRead-only
parent_customer_idstring or null
The parent of the customer. Only returned when there is a single parent.
parent_customer_idslist of strings or null
A list of parents of the customer. Will also be returned if there is a single parent.
statusenum or null
Allowed values:
timezonestring or null
notification_preferenceslist of objects or null

Notification preferences for customer-related communications.

localestring or null

The locale of the customer. Format is language-country (like en-US).

individualobject
Additional description of the individual customer type.
organizationobject
Additional description of the organization customer type.
custom_fieldslist of objects or null
processing_onlyboolean or null
pricing_plan_subscription_selectorobject
Settings to influence dynamically the subscription to use for the ingest data.
linked_integrationslist of objects or null

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error