Create Property
Beta/v1/catalog/propertiesIdempotent with Idempotency-Key header. Learn more
Creates a property.
The property starts with no attributes; add its selectable values afterwards with the create attribute endpoint. Returns a conflict error if a property with the same name already exists.
include[]optional arrayenumValues:attributesSub-objects to expand in the response. When omitted, sub-objects are returned as null.
namestringDisplay name of the property, such as Color or Size.
Must be unique within your account.
idstringProperty ID.
objectstringenumValues:propertyResource type identifier.
namestringDisplay name of the property, such as Color or Size.
Unique within the account.
The selectable values defined under this property.
Listed in the order the attributes are arranged within the property, first to last.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of attributeResources in this page.
idstringAttribute ID.
objectstringenumValues:attributeResource type identifier.
valuestringThe selectable value this attribute represents, such as Red for a Color property or Large for a Size property.
colorstringenumValues:bluebrowndefaultSwatch color used to display this attribute in the UI.
The named colors are arbitrary display choices; default is a neutral fallback used when no specific swatch applies.
sort_orderintegerPosition of this attribute relative to its siblings within the property, starting at 1.
Positions are kept contiguous: creating, reordering, or deleting an attribute automatically shifts its siblings.
The property this attribute belongs to.
Populated only when the attribute is returned under an item's or a volume discount's attributes list.
null in this endpoint.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
Successful response for Create Property