---
title: "Add Hotel Metadata to Transaction"
method: POST
path: "/business/v2/transactions/{transactionId}/hotel-metadata"
tags: ["Transaction Hotel Metadata"]
---

# Add Hotel Metadata to Transaction

`POST /business/v2/transactions/{transactionId}/hotel-metadata`

## Request

- Base URL: `https://api.soldo.com`
- URL: `https://api.soldo.com/business/v2/transactions/{transactionId}/hotel-metadata`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.soldo.com/oauth/authorize` scopes: `transaction_write`

Endpoint to add `HotelMetadata` to a `Transaction`.

## Path parameters

- `transactionId` string, required: The `Transaction` ID.

## Request body `*/*`

- AddHotelMetadata: Add `HotelMetadata` JSON parameters.
  - `check_in_at` string: The date and time of check-in for the hotel reservation associated with the `Transaction`.
  - `check_out_at` string: The date and time of check-out for the hotel reservation associated with the `Transaction`.

## Response `204`

No content as result.

## Other responses

- `400`: Your request has missing arguments or is malformed.
- `404`: One or more resource requested does not exist.

## Changes

- **2026-10-14** `5470d4c0eb01`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/changes/business/v2/transactions/:transactionId/hotel-metadata/post.md)

---

[API](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0.md) - [All operations](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/revisions/23fc5d07b367?raw)
