put

/customers/attribute-values

Upserts Customer Attribute Values. Updates the attribute values on the Customer. Multiple customer attribute values can be updated in one call.

Upsert checks for an existing record. If there is none, it creates the record, if there is a matching record, it updates that record.

Up to 10 per call are allowed.

Required Fields

  • customer_id – ID of the Customer
  • id – ID of the Customer Attribute
  • value – Value of the Customer Attribute

Authorization

apiKey - X-Auth-Client
apiKey - X-Auth-Token

Request Parameters

2 Headers

Request Body

1 Example
Schema
array[object]
attribute_id
integer

Attribute ID.

1 validation + required
value
string

Attribute value. This will always be a string, regardless of the attributes type.

2 validations + required
id
integer

Attribute value ID.

1 validation
customer_id
integer

Customer ID.

1 validation + required

Responses

1 Example

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
2 variables not set
store_hash
X-Auth-Client
X-Auth-Token