You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns all rates (pricing setups) of the default service provided by the enterprise. Note this operation uses Pagination and supports Portfolio Access Tokens.
Unique identifier of the item one newer in time order than the items to be returned. If Cursor is not specified, i.e. null, then the latest or most recent items will be returned.
Whether the rate restriction is inherited from the parent rate.
StartUtc
string
optional
Start of the rate restriction in UTC timezone in ISO 8601 format.
EndUtc
string
optional
End of the rate restriction in UTC timezone in ISO 8601 format.
Days
array of string
optional
The restricted days of week.
ExternalIdentifier
string
optional
Identifiers of from external systems.
Earliness restriction
Property
Type
Contract
Description
Id
string
required
Unique identifier of the rate restriction.
RateId
string
required
Unique identifier of the rate.
IsInherited
boolean
required
Whether the rate restriction is inherited from the parent rate.
StartUtc
string
optional
Start of the rate restriction in UTC timezone in ISO 8601 format.
EndUtc
string
optional
End of the rate restriction in UTC timezone in ISO 8601 format.
Days
array of string
optional
The restricted days of week.
ExternalIdentifier
string
optional
Identifiers of from external systems.
MinAdvance
string
optional
The minimum time before the reservation starts, you can reserve in ISO 8601 duration format.
MaxAdvance
string
optional
The maximum time before the reservation starts, you can reserve in ISO 8601 duration format.
Length restriction
Property
Type
Contract
Description
Id
string
required
Unique identifier of the rate restriction.
RateId
string
required
Unique identifier of the rate.
IsInherited
boolean
required
Whether the rate restriction is inherited from the parent rate.
StartUtc
string
optional
Start of the rate restriction in UTC timezone in ISO 8601 format.
EndUtc
string
optional
End of the rate restriction in UTC timezone in ISO 8601 format.
Days
array of string
optional
The restricted days of week.
ExternalIdentifier
string
optional
Identifiers of from external systems.
MinLength
string
optional
Minimal reservation length in ISO 8601 duration format.
MaxLength
string
optional
Maximal reservation length in ISO 8601 duration format.
Get rate pricing
Returns prices for a given rate for a specified time interval. Prices will be returned for all service time units that the specified time interval intersects. So, for example, an interval 1st Jan 23:00 UTC - 1st Jan 23:00 UTC will result in one price for 2nd Jan, while Interval 1st Jan 23:00 UTC - 2nd Jan 23:00 UTC will result in two prices for 2nd Jan and 3rd Jan (assuming a time unit period of "Day"). UTC timestamps must correspond to the start boundary of a time unit, e.g. 00:00 converted to UTC for a time unit of "Day". Other timestamps are not permitted. The maximum size of time interval depends on the service's time unit: 367 hours if hours, 367 days if days, or 60 months if months. For more information about time units, see Time units.
Start of the time interval, expressed as the timestamp for the start of the first time unit, in UTC timezone ISO 8601 format.
LastTimeUnitStartUtc
string
required
End of the time interval, expressed as the timestamp for the start of the last time unit, in UTC timezone ISO 8601 format. The maximum size of time interval depends on the service's time unit: 367 hours if hours, 367 days if days, or 24 months if months.
RateId
string
required
Unique identifier of the Rate whose prices should be returned.
Adds rates to the enterprise. Note this operation supports Portfolio Access Tokens. Rate type of AvailabilityBlock cannot be created via this operation.
Price of the product that overrides the price defined in Mews.
NegativeOccupancyAdjustment
number
required
This is the amount added to the price when occupancy of the space is less than the Space Category Capacity. To provide a discount price for under-occupancy, simply use a negative value.
ExtraOccupancyAdjustment
number
required
This is the amount added to the price when the Space Category Capacity is exceeded.
Dependent rate pricing parameters
Property
Type
Contract
Description
BaseRateId
string
required
Unique identifier of the base rate.
RelativeAdjustment
number
required
Specific amount which shows the difference between this rate and the base rate.
AbsoluteAdjustment
number
required
Relative amount which shows the difference between this rate and the base rate.
Updates the prices for a given rate. You can make multiple price updates with one API call, and for each one specify the time interval for which the update applies, the price value and the applicable resource category. The price will be updated for all service time units that the specified time interval intersects. The price is per time unit, e.g. per day or per month. If the resource category CategoryId is not specified, the updated price will apply to the base price for all resource categories.
Note that prices are defined daily, so when the server receives the UTC interval, it first converts it to the enterprise timezone and updates the price on all dates that the interval intersects. Only root rates can be updated (the rates that have no base rate, that have BaseRateId set to null). It is not permitted to update historical prices older than specified by EditableHistoryInterval. Future prices may be updated up to 5 years in the future. The maximum size of time interval is 100 time units or 2 years, whichever is the shorter amount of time.
Start of the time interval, expressed as the timestamp for the start of the first time unit, in UTC timezone ISO 8601 format.
LastTimeUnitStartUtc
string
required
End of the time interval, expressed as the timestamp for the start of the last time unit, in UTC timezone ISO 8601 format. The maximum size of time interval depends on the service's time unit: 367 hours if hours, 367 days if days, or 24 months if months.
Unique identifier of the Resource category whose prices to update. If not specified, base price is updated.
Value
number
optional
New value of the rate on the interval. If not specified, removes all adjustments within the interval.
FirstTimeUnitStartUtc
string
optional
Start of the time interval, expressed as the timestamp for the start of the first time unit, in UTC timezone ISO 8601 format.
LastTimeUnitStartUtc
string
optional
End of the time interval, expressed as the timestamp for the start of the last time unit, in UTC timezone ISO 8601 format. The maximum size of time interval depends on the service's time unit: 367 hours if hours, 367 days if days, or 24 months if months.