Create Property

Beta
POST/v1/catalog/properties

Idempotent with Idempotency-Key header. Learn more

Creates a property.

include[]optional arrayenumValues:attributes

Sub-objects to expand in the response. When omitted, sub-objects are returned as null.

namestring

Name.

idstring

Property ID.

objectstringenumValues:property

Resource type identifier.

namestring

Name.

attributesobjectExpandablenullable

Attributes belonging to this property.

objectstringenumValues:list

Object type for Attribute list

page_infoobject

Pagination metadata for Attribute list

next_cursorstringnullable

Cursor to fetch the next page, null if no more pages.

prev_cursorstringnullable

Cursor to fetch the previous page, null if on the first page.

has_next_pageboolean

Whether more results exist after this page.

has_prev_pageboolean

Whether results exist before this page.

dataarray of object

Array of Attribute resources in this page

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.

created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last update timestamp.

Responses

201

Successful response for Create Property