Skip to main content
PATCH
Rename or reactivate a product attribute

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
deactivated_at
string<date-time> | null

Set it to null to reactivate the attribute. To deactivate the attribute, use the delete operation.

name
string

The name of the attribute. A store attribute cannot match a banner attribute or another attribute of the same store. A banner attribute cannot match any attribute of the banner. Deactivated attributes keep their name. The comparison ignores case, spaces, hyphens and underscores.

Maximum string length: 255

Response

A tag that products can carry.

id
string
required

Unique identifier for the record.

banner_id
string
required

Identifier of the banner.

Pattern: ^[0-9]+$
created_at
string<date-time>
required

When the record was created.

deactivated_at
string<date-time> | null
required

When the attribute was deactivated.

display_group
enum<string> | null
required

The heading the attribute sits under in the attribute picker.

Available options:
allergen,
diet_certification
name
string
required

The name of the attribute.

owned_by_vori
boolean
required

Whether Vori maintains the attribute. Such an attribute cannot be renamed or deactivated.

store_id
string | null
required

The store the attribute belongs to.

Pattern: ^[0-9]+$
updated_at
string<date-time>
required

When the record was last changed.