---
title: "Add Stay To Itinerary"
method: POST
path: "/trips/{trip_id}/stays/add"
tags: ["stays"]
---

# Add Stay To Itinerary

`POST /trips/{trip_id}/stays/add`

Geocode a stay's address and add it to the trip's itinerary + map.

## Path parameters

- `trip_id` string, required

## Headers

- `x-client-id` string, nullable

## Request body

- AddStayRequest
  - `address` string, required
  - `place_id` string, nullable
  - `name` string, nullable
  - `check_in_date` string, date, nullable
  - `check_out_date` string, date, nullable
  - `check_in_time` string, time, nullable
  - `check_out_time` string, time, nullable
  - `total_price` number, nullable
  - `currency` string
  - `confirmation_number` string, nullable

## Response `200`

Successful Response

- AddStayResponse
  - `stay_id` string, required
  - `hotel` object, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
