Upsert custom properties values linked to a spot member

POST /v1/spotMembers/{spotMemberId}/customPropertiesValues~bulkUpsert

Upsert custom properties values linked to a spot member

Path parameters

  • spotMemberId string Required

    The id of the spotMember

application/json

Body Required

Responses

  • 200 application/json

    Custom properties values upsert 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

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