PUT
/
attributes
/
{attributeId}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-fabric-tenant-id
string
required

Merchant'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
required

A unique identifier of the attribute.

Body

application/json
name
string
required

The name of the attribute type.

values
string[]
required

The options within an attribute type.

Response

200 - application/json
id
integer
required

A unique identifier of the attribute, for external use.

name
string
required

The name of the attribute.

values
string[]
required

The attribute values.

createdAt
string
required

Record's creation time

updatedAt
string
required

Record's last updated time

isDeleted
boolean
required

true:Record is deleted<br>false:Record is not deleted