Skip to content

v0.0.2 -- Remove from Cart and Image URLs

Latest

Choose a tag to compare

@camilocbarrera camilocbarrera released this 29 Mar 17:36
· 16 commits to main since this release

Rappi CLI v0.0.2 -- Remove from Cart and Image URLs

Two quality-of-life features that make the CLI more complete and visual.

New Features

Remove from Cart

You can now remove individual items from your cart — no more clearing the entire cart to fix a mistake.

# See what's in your cart (note the compound product IDs)
rappi cart
#   Crepes & Waffles [900064851]
#     Pollo y Queso x1 — $26.900    (id: 900064851_3167908)

# Remove a specific product
rappi remove-from-cart 900064851_3167908
# Removing: Pollo y Queso x1 from Crepes & Waffles
# Removed from cart!

Available across all interfaces:

  • CLI: rappi remove-from-cart <product_id>
  • MCP: remove_from_cart tool (14 tools total now)
  • API: DELETE /api/cart/product/:productId

Image URLs in Output

Product images, store logos, and banners are now shown in CLI output and MCP responses — useful for visual context when browsing menus.

CLI commands updated:

Command Images shown
rappi search Store logos, product images
rappi store Store logo + banner, product images per menu item
rappi restaurants Store logos
rappi product Topping images

MCP tools updated:

Tool New fields
search logo on stores, image on products
list_restaurants logo on stores
get_product_options image on topping options

Under the Hood

  • Added del() HTTP helper for DELETE requests
  • removeFromCart() service function calls DELETE /api/ms/shopping-cart/v2/{storeType}/product/{productId}

Upgrade

npm update -g rappi-cli

Full Changelog: v0.0.1...v0.0.2