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-Token

Request Parameters

2 Headers

Request Body

Schema
array[object]
$schema: http://json-schema.org/draft-04/schema#
name
string

Attribute name.

2 validations + required
id
integer

Attribute ID.

3 validations + required

Responses

1 Example
Schema
object

Response payload for the BigCommerce API.

$schema: http://json-schema.org/draft-04/schema#
data
array[object]
meta
object

Send a Test Request

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