---
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}`

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.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/revisions/7c62644070f2/schema)
