App Logo
sncf-connect.com

Remove train ticket from SNCF Connect cart

Remove a specific train ticket from the SNCF Connect cart (or the only one if there's just one). Requires login. Pass `match` (substring of origin/destination, e.g. "Bordeaux") to pick which item when the cart has several; omitted `match` is fine only when exactly one item is in the cart. Confirms the site's own removal dialog. To empty the whole cart, call once per item. Runs only via the local browser extension, not the hosted cloud browser.

Input

match optional

Substring of the item's origin or destination station AS DISPLAYED ON SNCF CONNECT (e.g. "Lyon Part Dieu", "Torino Porta Susa" — the site uses local-language station names, not English ones like "Turin"). Required if the cart has more than one item.

confirm optional

false = dry-run (report + dismiss, cart unchanged); true = actually remove the item

Default: false

Output

dryRun required
removed required
itemsRemaining required
cartEmpty optional
removedItem optional

Start building not clicking