Get sell limit state
Changed onReturns the sell limit state of a daily service for the specified rates, resource categories and time interval. For each combination it returns the effective limit, the number of spaces already sold against it, and the number still available, so an integration can apply the same constraint that Mews Operations applies when a reservation is created. The operation returns an error when the property does not have sell limits enabled, or when the service does not use a time unit period of Day. The operation is not paginated, so the amount of state a request can ask for is capped: rates multiplied by requested resource categories (plus one for the across-all-categories dimension) multiplied by time units must not exceed 10000 combinations. A request over that returns an error naming the count, so narrow RateIds, ResourceCategoryIds or the time interval. Unmatched filter identifiers are ignored and do not count toward it. Note this operation supports Portfolio Access Tokens.
Request
- Base URL: https://api.mews.com
- URL: https://api.mews.com/api/connector/v1/sellLimits/getState
- Auth: none declared
Request body
Response
OK
Changes
- info
endpoint added
- info