Mews · Schema

Loyalty program update parameters

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
LoyaltyProgramId string Unique identifier of the loyalty program.
Name object Name of the loyalty program (or `null` if the name should not be updated).
Type object Type of the loyalty program (or `null` if the type should not be updated).
Subscription object Subscription of the loyalty program (or `null` if the subscription should not be updated).
View JSON Schema on GitHub

JSON Schema

mews-loyaltyprogramupdateparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LoyaltyProgramUpdateParameters",
  "title": "Loyalty program update parameters",
  "required": [
    "LoyaltyProgramId"
  ],
  "type": "object",
  "properties": {
    "LoyaltyProgramId": {
      "type": "string",
      "description": "Unique identifier of the loyalty program.",
      "format": "uuid"
    },
    "Name": {
      "title": "String update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "description": "Name of the loyalty program (or `null` if the name should not be updated).",
      "nullable": true
    },
    "Type": {
      "title": "Loyalty program type update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/LoyaltyProgramTypeUpdateValue"
        }
      ],
      "description": "Type of the loyalty program (or `null` if the type should not be updated).",
      "nullable": true
    },
    "Subscription": {
      "title": "Loyalty program subscription update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/LoyaltyProgramSubscriptionUpdateValue"
        }
      ],
      "description": "Subscription of the loyalty program (or `null` if the subscription should not be updated).",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "LoyaltyProgramUpdateParameters"
}