App Logo
mi.com

Remove from Xiaomi UK cart

TL;DR

Automatically remove from Xiaomi UK cart on mi.com. Remove one line from the Xiaomi UK shopping cart of this browser and see what is left.

About

Use it to clean the cart after a review with the List Xiaomi UK cart items script. It removes the whole line, whatever its quantity. If the line changed since the review (item, quantity or price) or is not in the cart, it removes nothing and the run fails. No account is needed.

Inputs

line_id required

The line_id of the line, from List Xiaomi UK cart items (e.g. 4223703273_0_buy).

review_hash required

The review_hash of that line, from List Xiaomi UK cart items.

Output

count required
lines required
removed required
total optional
currency optional
delivery optional
subtotal optional

FAQ

Remove one line from the Xiaomi UK (mi.com/uk) shopping cart of this browser, whatever its quantity, by its line id and the review_hash that List Xiaomi UK cart items gives for it, and return what is left. The review_hash makes sure the line is still the one that was reviewed (same item, quantity and price): when it changed, or the line is not in the cart, nothing is removed and the run fails with an error.
Ask an AI agent connected to Reduck to run reduck/mi.com/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/mi.com/remove_from_cart
You do not need one. "Remove from Xiaomi UK cart" drives the real mi.com pages in a browser, so it works whether or not mi.com offers an API for this.
Required: line_id, review_hash.
It returns count, lines, total, removed, currency, delivery, subtotal.
No. It only uses pages of mi.com that are reachable without signing in.
It makes changes on mi.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/mi.com/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/mi.com/remove_from_cart
It is one of Reduck's official scripts.

Start building not clicking