DocumentationMCPCLI

Introduction

  • Overview

Hotels

  • Search hotels
  • Hotel details
  • Live offers

Orders

  • Create order
  • Get order
  • List orders
  • Cancel order

Account

  • Sign in
  • Sign out
  • Show account

Guides

  • Agent guide

Local MCP

  • Local MCP server

Orders

Cancel order

Cancel an order under its terms, for the penalty the user agreed to.

MCP: cancel_order

Usage

fortrip orders cancel <orderId> --max-penalty <amount>

Options

FlagFieldDescription
<orderId>orderIdorderId of the order to cancel, from get order or list orders.
--max-penalty <amount>maximumPenaltyThe penalty the user agreed to, exactly as orders get shows it, in the order's currency, e.g. 12.50. Without it, the command cancels nothing: it shows the penalty and the refund.

Output

Compact text on stdout: one line per hotel, offer or order, with its ids, and every note. With --json, the response as JSON on one line.

The JSON is the Order (cancel) object. Errors go to stderr with an exit code.

PreviousList ordersNextSign in

On this page

  • Usage
  • Options
  • Output
Fortrip

Opinionated trip planning, built for real itineraries.

Product

  • AI Trip Planner
  • Validator
  • Transport
  • Stays
  • Explore Destinations
  • Agents CLI & MCP

Company

  • About
  • Team
  • Pricing
  • Responsible Travel
  • Contact

Resources

  • Blog
  • News
  • Decision Optimization
  • Itinerary Selection
  • FAQ
  • vs ChatGPT
  • Best AI travel planner
© 2026 FortripAI, Inc.PrivacyTermsBrand Assets
info@fortrip.ai+1-650-272-16121111b South Governors Ave, Dover, DE 19904
Skip to main content
Fortrip Logo
ExplorePlanningPricing
CLIMCPDocs
About UsBlogHotels by CityDecision OptimizationItinerary SelectionNewsFortrip vs. ChatGPTBest AI travel plannerFAQOur TeamResponsible TravelPrivacy PolicyTerms of ServiceContact
Saved