Create a custom property of the members of the spot: its slug is generated from its label, and those of the options of a select from their labels
Body
Required
-
The label of the custom property, from which its slug is generated.
-
The description of the custom property.
-
The type of the values of the custom property.
Values are
Text,Boolean,Number,SingleSelect,MultipleSelect, orDate. -
The options of a SingleSelect or MultipleSelect custom property, 2 to 100. Ignored for the other types.
POST
/v1/customProperties
curl \
--request POST 'https://openapi.meltingspot.io/v1/customProperties' \
--header "Content-Type: application/json" \
--data '{
"label": "string",
"description": "string",
"type": "Text",
"possibleValues": [
{
"label": "string",
"order": 42
}
]
}'
Request examples
{
"label": "string",
"description": "string",
"type": "Text",
"possibleValues": [
{
"label": "string",
"order": 42
}
]
}
Response examples (201)
{
"id": "string",
"slug": "string",
"label": "string",
"description": "string",
"type": "Text",
"possibleValues": [
"string"
]
}