Mews · Schema

Product price update parameters

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
ClientToken string Token identifying the client application.
AccessToken string Access token of the client application.
Client string Name and version of the client application.
EnterpriseId string Unique identifier of the enterprise. Required when using [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property), ignored otherwise.
ProductId string Unique identifier of the `Product`.
PriceUpdates array Price adjustments for specific time intervals.
View JSON Schema on GitHub

JSON Schema

mews-productpriceupdateparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProductPriceUpdateParameters",
  "title": "Product price update parameters",
  "required": [
    "AccessToken",
    "Client",
    "ClientToken",
    "PriceUpdates",
    "ProductId"
  ],
  "type": "object",
  "properties": {
    "ClientToken": {
      "minLength": 1,
      "type": "string",
      "description": "Token identifying the client application."
    },
    "AccessToken": {
      "minLength": 1,
      "type": "string",
      "description": "Access token of the client application."
    },
    "Client": {
      "minLength": 1,
      "type": "string",
      "description": "Name and version of the client application."
    },
    "EnterpriseId": {
      "type": "string",
      "description": "Unique identifier of the enterprise. Required when using [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property), ignored otherwise.",
      "format": "uuid",
      "nullable": true
    },
    "ProductId": {
      "minLength": 1,
      "type": "string",
      "description": "Unique identifier of the `Product`.",
      "x-schema-id": "HybridIdentifier"
    },
    "PriceUpdates": {
      "maxItems": 100,
      "minItems": 1,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ProductPriceUpdate"
      },
      "description": "Price adjustments for specific time intervals."
    }
  },
  "additionalProperties": false,
  "x-schema-id": "ProductPriceUpdateParameters"
}