Update custom property values linked to a spot member

PUT /v1/spotMembers/{spotMemberId}/customPropertiesValues/{customPropertySlug}

Update custom property values linked to a spot member

Path parameters

  • spotMemberId string Required

    The id of the spotMember

  • customPropertySlug string Required

    The slug of the customProperty

application/json

Body Required

Responses

  • 200 application/json

    Custom property value updated successfully

    Hide response attributes Show response attributes object
    • customPropertyId string Required

      The id of the custom property

    • customPropertyLabel string Required

      The label of the custom property

    • customPropertySlug string Required

      The slug of the custom property

    • customPropertyDescription string Required

      The description of the custom property

    • customPropertyType string Required

      The type of the custom property

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

    • possibleValues array[string] | null Required

      The possible values of the custom property

    • value string | number | boolean | array[string] Required

      The values of the custom property

  • 400

    Malformed payload

  • 404

    Custom property not found

PUT /v1/spotMembers/{spotMemberId}/customPropertiesValues/{customPropertySlug}
curl \
 --request PUT 'https://openapi.meltingspot.io/v1/spotMembers/{spotMemberId}/customPropertiesValues/{customPropertySlug}' \
 --header "Content-Type: application/json" \
 --data '{"value":"string"}'
Request examples
{
  "value": "string"
}
Response examples (200)
{
  "customPropertyId": "string",
  "customPropertyLabel": "string",
  "customPropertySlug": "string",
  "customPropertyDescription": "string",
  "customPropertyType": "Text",
  "possibleValues": [
    "string"
  ],
  "value": "string"
}