Skip to main content
PUT
Update customer attribute

Authorizations

Authorization
string
header
required

Sign in to the admin dashboard and use the resulting ID token for a store and operation you can access. The authenticated dashboard cookie is accepted when the Authorization header is absent. Missing or insufficient access returns 401.

Path Parameters

attribute_id
string
required

attribute id

id
string
required

customer id

Body

application/json

Updates an existing custom attribute value. An existing nonempty value permits an is_pinned-only update; setting a missing value requires value. null or blank clears the value.

name
string
Maximum string length: 128
slug
string
Required string length: 1 - 64
attribute_type
enum<string>
Available options:
String,
Boolean,
List,
Number,
Object,
Integer,
DateTime,
Datetime
value
is_pinned
boolean

Response

OK

message
string
required
success
boolean
required