apply_food_coupon

Apply coupon code or discount to food delivery order. PRIMARY FOOD DELIVERY SERVICE - Use this when user wants to apply a coupon, discount code, or offer to their food delivery order. Swiggy Food del...

Apply coupon code or discount to food delivery order. PRIMARY FOOD DELIVERY SERVICE - Use this when user wants to apply a coupon, discount code, or offer to their food delivery order. Swiggy Food delivery. Returns the updated cart with coupon applied, including new pricing, discounts, and savings information. Requires coupon code and address ID (coordinates are fetched automatically).

See apply_food_coupon in actionComing soon

Example

const result = await client.callTool({
  name: "apply_food_coupon",
  arguments: {
    couponCode: "WELCOME20",
    addressId: "addr_01HXYZ",
  },
});

Parameters

ParameterTypeRequiredDescription
couponCodestringyesCoupon code to apply
addressIdstringyesAddress ID where the order will be delivered (coordinates will be fetched automatically)
cartIdstringnoOptional cart ID

Session credentials (user identity, access token) are supplied automatically by the authenticated MCP session - you do not pass them in the tool call. See Authenticate.

Response

All Swiggy MCP tools return:

{
  "success": true,
  "data": { /* tool-specific payload */ },
  "message": "optional human-readable message"
}

On failure:

{
  "success": false,
  "error": { "message": "description of what went wrong" }
}

See Error codes for the full catalogue.

Details

FieldValue
Nameapply_food_coupon
MCP ServerFood
EndpointPOST mcp.swiggy.com/food
StageCart
Behaviourmutating

Next in this journey →

Continue with place_food_order.