Update the label

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://help-api.meltingspot.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "API MCP server": {
    "url": "https://help-api.meltingspot.io/mcp"
  }
}

Close
PUT /v1/customProperties/{customPropertyId}

Update the label, the description or the options of a custom property of the spot. Its type and its slug never change.

Path parameters

  • customPropertyId string Required

    The id of the custom property

application/json

Body Required

  • label string

    The label of the custom property. Its slug does not change.

  • description string

    The description of the custom property.

  • possibleValues array[object]

    Every option of a SingleSelect or MultipleSelect custom property, 2 to 100: a kept option by its slug, a new one without slug; the options left out are removed. Ignored for the other types.

    Hide possibleValues attributes Show possibleValues attributes object
    • label string Required

      The label of the option.

    • order integer Required

      The position of the option, the smallest first.

    • slug string

      The slug of an option to keep (its label and order may change). Without slug, a new option, whose slug is generated from its label. An unknown slug is refused.

Responses

  • 200 application/json

    Custom property updated successfully

    Hide response attributes Show response attributes object
    • id string Required

      The id of the custom property

    • slug string Required

      The slug of the custom property, used to read and write its values

    • label string Required

      The label of the custom property

    • description string Required

      The description of the custom property

    • type string Required

      The type of the custom property

      Values are Text, Boolean, Number, SingleSelect, MultipleSelect, or Date.

    • possibleValues array[string] | null Required

      The slugs of the possible values of a select custom property, null for the other types

  • 400

    Malformed payload, unknown option slug, select with less than two options

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Custom property not found in the spot

PUT /v1/customProperties/{customPropertyId}
curl \
 --request PUT 'https://openapi.meltingspot.io/v1/customProperties/{customPropertyId}' \
 --header "Content-Type: application/json" \
 --data '{
  "label": "string",
  "description": "string",
  "possibleValues": [
    {
      "label": "string",
      "order": 42,
      "slug": "string"
    }
  ]
}'
Request examples
{
  "label": "string",
  "description": "string",
  "possibleValues": [
    {
      "label": "string",
      "order": 42,
      "slug": "string"
    }
  ]
}
Response examples (200)
{
  "id": "string",
  "slug": "string",
  "label": "string",
  "description": "string",
  "type": "Text",
  "possibleValues": [
    "string"
  ]
}