---
title: "Upsert Rate Plan ARI Calendar"
method: PUT
path: "/rm-rate-plans-ext/ari-calendar/listing/{listingId}/ratePlan/{ratePlanId}"
tags: ["Open Api Ari Calendar v1"]
---

# Upsert Rate Plan ARI Calendar

`PUT /rm-rate-plans-ext/ari-calendar/listing/{listingId}/ratePlan/{ratePlanId}`

## Request

- Base URL: `https://open-api.guesty.com/v1`
- URL: `https://open-api.guesty.com/v1/rm-rate-plans-ext/ari-calendar/listing/{listingId}/ratePlan/{ratePlanId}`
- Auth: API key in header `authorization`

Set rate plan calendar availability, rates and inventory.

## Path parameters

- `ratePlanId` unknown, required
- `listingId` unknown, required

## Request body

- object[]
  - `startDate` string, date-time, required: Period start date
  - `endDate` string, date-time, required: Period end date
  - `price` number: Price for the period.
  - `minNights` number: Minimum stay length.
  - `maxNights` number: Maximum stay length.
  - `allotment` number: Actual availability at the property.
  - `cta` boolean: Closed to check-in.
  - `ctd` boolean: Closed to check-out.
  - `closed` boolean: is closed

## Response `200`

Success

- object
  - `ratePlanId` string, required: rate plan id
  - `listingId` string, required: listing id
  - `requestId` string, required: request id

## Other responses

- `400`: Bad request
- `401`: Client unauthorized
- `403`: Access is forbidden for this client
- `500`: Internal server error

---

[API](https://skmtc.dev/guesty/apis/guesty-open-api.md) - [All operations](https://skmtc.dev/guesty/apis/guesty-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/guesty/apis/guesty-open-api/revisions/3122b8618183?raw)
