Cancel Amazon order
Automatically cancel Amazon order on amazon.com. Cancel an Amazon.com order that has not shipped yet, by order number, and confirm the cancellation on the order page. Every item of the order is cancelled; returns the item titles and the order's status afterwards. Orders that already shipped cannot be cancelled this way and fail.
Input
order_id requiredAmazon order number, e.g. 113-1814615-7224222 (as shown in Your Orders).
Output
items requiredTitles of the items the cancellation was requested for.
order_id requiredcancelled requiredWhether the order page, reloaded after the request, no longer offers to cancel any item.
status optionalShipment status headline on the order page after the request, as displayed (e.g. Cancelled).
FAQ
Search Amazon products
Search Amazon by free-text query and return one page of results. Returns query, page, zip, url, and items (asin, title, url, price, list_price, rating, review_count, image_url, sponsored, formats). formats lists each edition a result links to (for example Hardcover, Kindle and Audiobook for a book), with its own ASIN, URL and price when shown. Organic results are stable per page but sponsored slots rotate between fetches; pagination caps around 20 pages.
Get Amazon product reviews
Fetch Amazon customer reviews for an ASIN. Works signed in or anonymously, and says which surface it used. With a session it reads the full /product-reviews/ list: one page of 10, with sort, star, media, reviewer and keyword filters, up to Amazon's 10-page cap. Without one it reads the product page's reviews medley instead (page 1 of top reviews, no filters, other-country reviews included), returns authenticated:false and source:product_page_medley, and throws rather than quietly ignoring a filter or page it cannot serve. Returns product (asin, title, overallRating, totalRatings, reviewCount, starBreakdown) and reviews (id, rating, title, text, date, reviewer, country, variation, helpfulVotes, verifiedPurchase, vine, images, videos). With sortBy=recent a given page is not stable across calls as new reviews arrive, so prefer sortBy=helpful for replay.
Get Amazon product
Fetch a single Amazon product page by ASIN. Returns title, byline, brand, price, list_price, rating, review_count, rating_breakdown, availability, breadcrumb, image_url, feature_bullets, description, attributes, variant_asins, delivery_estimate, return_policy, and seller. The returned asin can differ from the requested one when Amazon resolves a variant. For books, brand is null and feature_bullets and attributes are usually empty. Audible audiobook ASINs open Audible's own product page instead, so they fail at once with an error that gives that page's URL.
