bymundi API

Sync a quote with the trip's design

The sync_quote_with_design MCP tool: sync a quote with the trip's design.

sync_quote_with_design · writes

REST: POST /v1/quotes/{quoteId}/sync-design

What the model reads

Brings a quote in line with the trip's design, as the quote editor's Sync does: a priced line for each new journey and a hotel for each new stop; routes, dates, times, cities and nights of linked lines updated; linked lines whose journey or stop is gone removed, unless someone priced or edited them. Call it after changing the trip's design with update_trip.

Permissions: quotes:write. Set dryRun: true to preview the effect without writing anything. Undo: the result names a change id; undo_change reverts it.

Input

Field Type Required Description
quoteId uuid yes
expectedUpdatedAt datetime The quote's updatedAt as you read it; the write is refused (409) if the quote changed since.
dryRun boolean Preview only: plan the change and return its effect without writing.

Input schema (JSON)

{
  "type": "object",
  "properties": {
    "quoteId": {
      "type": "string",
      "format": "uuid"
    },
    "expectedUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The quote's updatedAt as you read it; the write is refused (409) if the quote changed since."
    },
    "dryRun": {
      "type": "boolean",
      "description": "Preview only: plan the change and return its effect without writing."
    }
  },
  "required": [
    "quoteId"
  ],
  "additionalProperties": false
}