How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Mews Restrictions API

The Restrictions API from Mews — 3 operation(s) for restrictions.

Mews Restrictions API is one of 154 APIs that Mews publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Restrictions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, an API reference, a changelog, and a support channel.

This API exposes 3 operations across 3 paths, and defines 21 schemas. It is described by OpenAPI 3.2.0, at version v1.

Requests are made against 2 base URLs: https://api.mews.com, https://api.mews-demo.com.

3 operations 3 paths 21 schemas 3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1
Base URL
https://api.mews.com/api/connector/v1
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

Mews Restrictions API declares 2 security schemes for authenticating requests. An API key is passed in the header as ClientToken (MewsClientToken). An API key is passed in the header as AccessToken (MewsAccessToken). By default, every request must be authenticated.

  • MewsClientToken — Mews authentication is performed by supplying ClientToken, AccessToken and Client as fields in the JSON request body (not as HTTP headers). This securityScheme…
  • MewsAccessToken — Tooling-compatible representation of the AccessToken credential, which is supplied in the JSON request body. AccessToken is unique to the connection with a pro…

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 POST. Each is listed below with its method, path, parameters, and response codes.

Restrictions 3
POST
/api/connector/v1/restrictions/set
Mews Set Restrictions
restrictions_set body → 200400401403408204429500
POST
/api/connector/v1/restrictions/clear
Mews Clear Restrictions
restrictions_clear body → 200400401403408204429500
POST
/api/connector/v1/restrictions/getAll
Mews Get All Restrictions
restrictions_getAll body → 200400401403408204429500

Schemas 21

The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are Hours (24 properties), RestrictionFilterParameters (18 properties), RestrictionSetData (15 properties), RestrictionConditions (10 properties). Each schema is shown below with its type and property counts.

CurrencyValueOld
object
Total price of the reservation.
5 properties 1 required
ClearRestrictionParameters
object
5 properties 5 required
RestrictionOriginEnum
string
User (Restriction was created by a user in Mews.) Integration (Restriction was created by a 3rd-party integration.)
TimeFilterInterval
object
When a time interval is used for filtering (for example in parameters such as CreatedUtc.StartUtc / CreatedUtc.EndUtc), the following rules apply: - Start equa…
2 properties
RestrictionResult
object
2 properties 1 required
SetRestrictionParameters
object
5 properties 5 required
RestrictionClearData
object
9 properties 2 required
RestrictionOrigin
string
ResourceCategoryTypeEnum
string
Type of the category. Room Bed Dorm Apartment Suite Villa Site Office MeetingRoom ParkingSpot Desk TeamArea Membership Tent CaravanOrRV UnequippedCampsite Bike…
RestrictionSetData
object
15 properties 2 required
DaysParameters
object
7 properties 7 required
Limitation
object
Limitation on the quantity of data returned.
2 properties 1 required
RestrictionConditions
object
The conditions or rules that must be met by a reservation for the restriction to apply.
10 properties 1 required
Restriction
object
The added restriction.
6 properties 4 required
RestrictionExceptions
object
The rules that prevent the restriction from applying to a reservation, even when all conditions have been met.
6 properties
Hours
object
24 properties 24 required
RestrictionFilterParameters
object
18 properties 5 required
CurrencyValue
object
Absolute value of the fee.
2 properties 2 required
Unit
object
ConnectorApiExceptionResult
object
3 properties
RestrictionTypeEnum
string
Stay (Guests can't stay within specified dates.) Start (Guests can't check in within specified dates.) End (Guests can't check out within specified dates.)

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mews-systems-restrictions-api-openapi.yml Raw ↑

Other APIs Mews publishes across the network.

Mews Channel Manager API
Mews POS API
Mews Loyalty Partner API
Mews Account notes API
Mews Accounting categories API
Mews Accounting items API
Mews Accounts API
Mews Addresses API
Mews Age categories API
Mews Availability adjustments API
Mews Availability Blocks API
Mews Billing automations API
Where this information came from

This is an independent, third-party profile of Mews Restrictions API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.