---
updatedAt: 2026-10-25T14:35:33.000Z
agentTools:
  projectIndex: https://booking-api-docs.guesty.com/llms.txt
---

# Update upsell in a quote [Pilot]

Ability to add/remove a upsell from existing quote. [Pilot]

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/api/reservations/upsell/{quoteId}": {
      "post": {
        "operationId": "replaceUpsellFees",
        "summary": "Update upsell in a quote [Pilot]",
        "description": "Ability to add/remove a upsell from existing quote. [Pilot]",
        "parameters": [
          {
            "name": "quoteId",
            "required": true,
            "in": "path",
            "description": "ID of quote",
            "schema": {
              "example": "5d6e7a7ebf8e3800207735ae",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "additionalFeeIds": {
                    "example": [
                      "61f984538b908351a18d2c75"
                    ],
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "ratePlanIds": {
                    "example": [
                      "61f984538b908351a18d2c75"
                    ],
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "requestId": {
                              "type": "string"
                            },
                            "moreDetails": {
                              "type": "object"
                            }
                          },
                          "required": [
                            "requestId"
                          ]
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "data"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Not authorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "requestId": {
                              "type": "string"
                            },
                            "moreDetails": {
                              "type": "object"
                            }
                          },
                          "required": [
                            "requestId"
                          ]
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "data"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "requestId": {
                              "type": "string"
                            },
                            "moreDetails": {
                              "type": "object"
                            }
                          },
                          "required": [
                            "requestId"
                          ]
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "data"
                      ]
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "requestId": {
                              "type": "string"
                            },
                            "moreDetails": {
                              "type": "object"
                            }
                          },
                          "required": [
                            "requestId"
                          ]
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "data"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "tags": [
          "Upsell"
        ]
      }
    }
  },
  "info": {
    "title": "Booking Engine API",
    "description": "Booking Engine API",
    "version": "1.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://booking.guesty.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "authorization"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```