Skip to content

UpdateAttribute

Field Type Required Description
name AttributeName Name of the attribute which will be shown to the customer. It’s saved in the language of the passed locale.
isRequired boolean default: false
values array[AttributeValueUpdateInList]
visibility string controls the visibility of attributes on a customer
one of: internal, public
displayGroup `string null`
{
"isRequired": true,
"name": "Favorite Pet",
"visibility": "internal",
"values": [
{
"name": "Dog",
"code": "dog",
"sequenceId": 0
},
{
"name": "Fish",
"code": "fish",
"sequenceId": 1
},
{
"name": "Cat",
"code": "cat",
"sequenceId": 2
},
{
"name": "Rabbit",
"code": "rabbit",
"sequenceId": 3
}
]
}