Skip to main content

Define a custom property

POST 

/custom-properties

Adds a custom property to an object type, or to one of its subtypes with subtype. Administrators only (403 otherwise). object_type, name, code and type are required; code is unique within the object type and cannot look like cp_<number> (422 code: taken | reserved). A list needs options and a table needs columns. Saved exactly as the administration screen saves it, so the property shows up there and in the forms right away. Answers the property as GET /custom-properties describes it.

Object types whose members belong to a dimension group are 422 object_type: unsupported. Since 4.3.1.

Request​

Responses​

Created