---
title: "PUT /travel_profile/{user_id}/hotel_loyalty/{program_id}"
method: PUT
path: "/travel_profile/{user_id}/hotel_loyalty/{program_id}"
tags: ["travel_profile"]
---

# PUT /travel_profile/{user_id}/hotel_loyalty/{program_id}

`PUT /travel_profile/{user_id}/hotel_loyalty/{program_id}`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/travel_profile/{user_id}/hotel_loyalty/{program_id}`
- Auth: API key in header `Authorization`

## Request body

- AddHotelLoyalty (unresolved $ref)

## Response `200`

Request fulfilled, document follows

- DetailedHotelLoyaltySchema
  - `id` integer
  - `loyalty_program_id` integer
  - `user_id` integer
  - `loyalty_program_code` string
  - `loyalty_program` BaseLoyaltyProgram (unresolved $ref)

## Other responses

- `202`: hotel loyalty program update
- `422`: Success

---

[API](https://skmtc.dev/getgoing/apis/getgoing-api.md) - [All operations](https://skmtc.dev/getgoing/apis/getgoing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getgoing/apis/getgoing-api/revisions/7546f102cf69?raw)
