put

/customers/attributes

Updates a Customer Attribute. Multiple customer attributes can be updated in one call.

Required Fields

  • id – ID of the Customer Attribute

Once the data type is set, it can not be changed. The attribute will need to be deleted then created again with the new data type. This will also delete it from the customer.

Authorization

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

Request Parameters

2 Headers

Request Body

1 Example
Schema
array[object]
name
string

Attribute name.

2 validations + required
id
integer

Attribute 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