Attributes
Update attribute
Using this endpoint, you can update an attribute by its ID. You can primarily update attribute and and its value.
PUT
/
attributes
/
{attributeId}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
x-fabric-tenant-id
string
requiredMerchant's 24-character tenant ID
x-fabric-channel-id
string
The sales channel ID.
x-client-id
string
The platform where the request is made.
x-fabric-request-id
string
A unique request ID.
Path Parameters
attributeId
integer
requiredA unique identifier of the attribute.
Body
application/json
name
string
requiredThe name of the attribute type.
values
string[]
requiredThe options within an attribute type.
Response
200 - application/json
id
integer
requiredA unique identifier of the attribute, for external use.
name
string
requiredThe name of the attribute.
values
string[]
requiredThe attribute values.
createdAt
string
requiredRecord's creation time
updatedAt
string
requiredRecord's last updated time
isDeleted
boolean
requiredtrue:Record is deleted<br>false:Record is not deleted
Was this page helpful?