Mews · Example Payload

Mews Products Getall Example

HospitalityHotelsPMSProperty Management

Mews Products Getall Example is an example object payload from Mews, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "products_getAll",
  "method": "POST",
  "path": "/api/connector/v1/products/getAll",
  "summary": "Get all products",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "ServiceIds": [
          "bd26d8db-86da-4f96-9efc-e5a4654a4a94"
        ],
        "UpdatedUtc": {
          "StartUtc": "2023-10-01T00:00:00Z",
          "EndUtc": "2023-10-31T00:00:00Z"
        },
        "Limitation": {
          "Count": 10
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Products": [
          {
            "Id": "198bc308-c1f2-4a1c-a827-c41d99d52f3d",
            "ServiceId": "bd26d8db-86da-4f96-9efc-e5a4654a4a94",
            "CreatedUtc": "2023-10-01T11:48:57Z",
            "UpdatedUtc": "2023-10-28T11:48:57Z",
            "CategoryId": null,
            "AccountingCategoryId": "6535e19e-1077-49d9-a338-67bf4ffecb14",
            "IsActive": true,
            "Names": {
              "en-US": "Breakfast"
            },
            "ExternalNames": {
              "en-US": "Breakfast"
            },
            "ShortNames": {
              "en-US": "BFST"
            },
            "Descriptions": {
              "en-US": "Nice continental breakfast."
            },
            "ChargingMode": "PerPersonPerTimeUnit",
            "PostingMode": "Once",
            "Options": {
              "BillAsPackage": false
            },
            "Promotions": {
              "BeforeCheckIn": false,
              "AfterCheckIn": false,
              "DuringStay": false,
              "BeforeCheckOut": false,
              "AfterCheckOut": false,
              "DuringCheckOut": false
            },
            "Classifications": {
              "Food": false,
              "Beverage": false,
              "Wellness": false,
              "CityTax": false
            },
            "Price": {
              "GrossValue": 25,
              "Currency": "EUR",
              "TaxValues": [
                {
                  "Code": "FR-T"
                }
              ]
            },
            "ExternalIdentifier": "PROD-BFST-009"
          }
        ],
        "CustomerProducts": [
          {
            "Id": "198bc308-c1f2-4a1c-a827-c41d99d52f3d",
            "ServiceId": "bd26d8db-86da-4f96-9efc-e5a4654a4a94",
            "CreatedUtc": "2023-10-01T11:48:57Z",
            "UpdatedUtc": "2023-10-28T11:48:57Z",
            "CategoryId": null,
            "AccountingCategoryId": "6535e19e-1077-49d9-a338-67bf4ffecb14",
            "IsActive": true,
            "Names": {
              "en-US": "Breakfast"
            },
            "ExternalNames": {
              "en-US": "Breakfast"
            },
            "ShortNames": {
              "en-US": "BFST"
            },
            "Descriptions": {
              "en-US": "Nice continental breakfast."
            },
            "ChargingMode": "PerPersonPerTimeUnit",
            "PostingMode": "Once",
            "Options": {
              "BillAsPackage": false
            },
            "Promotions": {
              "BeforeCheckIn": false,
              "AfterCheckIn": false,
              "DuringStay": false,
              "BeforeCheckOut": false,
              "AfterCheckOut": false,
              "DuringCheckOut": false
            },
            "Classifications": {
              "Food": false,
              "Beverage": false,
              "Wellness": false,
              "CityTax": false
            },
            "Price": {
              "GrossValue": 25,
              "Currency": "EUR",
              "TaxValues": [
                {
                  "Code": "FR-T"
                }
              ]
            },
            "ExternalIdentifier": "PROD-BFST-009"
          }
        ],
        "Cursor": "198bc308-c1f2-4a1c-a827-c41d99d52f3d"
      }
    }
  ]
}