Create Attribute

Beta
POST/v1/catalog/properties/{property_id}/attributes

Idempotent with Idempotency-Key header. Learn more

Creates an attribute under a property.

property_idstring

Property ID.

valuestring

Attribute value.

coloroptional stringnullableenumValues:bluebrowndefault

Color code. Randomly assigned if not provided.

sort_orderintegernullable

Display order. Defaults to last position if not provided.

idstring

Attribute ID.

objectstringenumValues:attribute

Resource type identifier.

valuestring

Attribute value.

colorstringenumValues:bluebrowndefault

Color code.

sort_orderinteger

Display order.

created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last update timestamp.

Responses

201

Successful response for Create Attribute