---
title: "Update exported calendar"
method: PUT
path: "/icalendar-api/exported-calendars/{exportedCalendarId}"
tags: ["Calendar Sync (iCal export)"]
---

# Update exported calendar

`PUT /icalendar-api/exported-calendars/{exportedCalendarId}`

If adjustment values are updated, the export sync process will be triggered. 
    Use this request to update events adjustment of your exported Guesty calendar. 
    Please note you can update only the parameters listed below.

## Path parameters

- `exportedCalendarId` string, required

## Request body

- object
  - `adjustmentValueStart` -2 | -1 | 0 | 1 | 2, required
  - `adjustmentValueEnd` -2 | -1 | 0 | 1 | 2, required

## Response `200`

Exported calendar found

- object
  - `id` string, required — Id of an exported calendar
  - `listingId` string, required — Related listing id
  - `accountId` string, required — Related account id
  - `createdAt` string, required — Time of creation of an exported calendar
  - `updatedAt` string, required — Time of last update of an exported calendar
  - `url` string, required — URL of an exported calendar
  - `lastSyncedAt` string, required — Timestamp of last successful sync of an exported calendar
  - `adjustmentValueStart` number, required — Defines offset for start date of exported calendar events
  - `adjustmentValueEnd` number, required — Defines offset for end date of exported calendar events

## Other responses

- `404` — Exported calendar not found

---

[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/versions/7c62644070f2/schema)
