• SUCCESS
  • PENDING
  • ERROR
  • HUMAN

How to process order cancellations with your AI

Connect Rappi API to your agent to handle order errors. Once connected, your AI manages the heavy lifting of checking details and stopping orders.

Ask AI about this page

Short answer

How can my AI cancel Rappi orders?

Your AI pulls the specific order data and then executes a rejection if the order meets your criteria. You get a clear view of the order status and the final outcome.

Order outcomes.

Where every request lands.

The AI routes every cancellation request into one of these four states.

SUCCESS

Order rejected

The AI successfully stops the order. You receive confirmation that the request went through.

PENDING

Awaiting support

The AI triggers a support request when it can't cancel the order itself. You'll see the ticket status.

ERROR

Action failed

The AI hits a wall with the API. You get the specific error reason to troubleshoot.

HUMAN

Manual review needed

The AI flags an issue it can't resolve. You step in to handle the customer directly.

The workflow

What your AI does when an order error arrives.

The AI follows a logic path to ensure the right order is targeted before taking action.

  1. Identify the order

    The AI looks up the specific transaction to confirm the current status and items.

    get_order_detail
  2. Execute cancellation

    If the order is eligible, the AI sends the command to stop the delivery.

    reject_order
  3. Verify the result

    The AI checks the response from the API to confirm if the rejection was accepted.

    get_order_detail
  4. Escalate if blocked

    If the order is too far along to cancel, the AI prepares the necessary info for a support ticket.

    reject_order

Try it

Copy these to start.

Use these prompts to kick off the process.

Starting points

Replace the bracketed text with your actual Rappi order IDs or customer names.

Rappi API Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_P1SHShqowHle7Ot3vfERU2RoJGqR0C0dErN4H2qh/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Rappi API capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "rappi-api-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_P1SHShqowHle7Ot3vfERU2RoJGqR0C0dErN4H2qh/mcp"
    }
  }
}
Copy into chat04
  • Check the status of Rappi order #98765.

  • Cancel order #12345 because the customer changed their mind.

  • Look up the details for the last order placed by user 'Alex Smith'.

  • Try to reject order #55443 and tell me why it failed if it does.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Rappi API once, then ask.

Just link your account once. Your credentials stay encrypted, and you can immediately start managing orders through your preferred AI client.

Connect Rappi API to your AI

FAQ

How this task behaves.

  • 01

    Can the AI change the delivery address?

    No. The AI can only retrieve order details or reject an order.

  • 02

    Will the AI automatically refund the customer?

    No. The AI handles the order rejection via the API, but financial refunds are handled by Rappi's internal systems.

  • 03

    Can the AI cancel an order that is already out for delivery?

    It depends on the API response. If the order is too far along, the AI will report that it cannot reject the order.

  • 04

    Does the AI need me to provide the order ID every time?

    Yes. You need to provide a specific order ID so the AI knows which transaction to pull.

  • 05

    Can the AI delete order history?

    No. The AI has no tools to delete or modify historical order records.

  • More questions about Rappi API? The Connector page answers them. See everything the Rappi API Connector can do

Connect Rappi API to Claude, Cursor, ChatGPT & more