Get Instacart product offers
Automatically get Instacart product offers on instacart.com. List the stores that sell one Instacart.com product in the delivery area Instacart has for this browser, with each store's price in US dollars, its regular price when discounted and the discount text. Returns the postal code used. Pass a store's slug to Search Instacart store products or Add to Instacart cart.
Inputs
product requiredAn Instacart product id (e.g. "16408559") or a product link containing /products/<id>.
Output
offers requiredproductId requiredpostal_code optionalFAQ
Remove from Instacart cart
Remove a product's whole line from one store's Instacart.com cart, by store slug and product id, after checking the line is still the one reviewed: pass the review_hash that List Instacart cart items gave for it. If the line changed (quantity or price), nothing is removed and the error gives the line as it is now and its new hash. Returns that store's cart after the removal.
Add to Instacart cart
Add an Instacart.com product to one store's cart, by store slug and product id, in the given quantity (added to any already in that cart). Returns that store's cart after the add, with a review_hash per line. Refuses a product the store does not sell, a store Instacart has not in this delivery area, or a total above the most Instacart allows per order. On a browser that does not keep Instacart's cookies between runs, the cart does not persist.
List Instacart cart items
Read one store's cart on Instacart.com (each store has its own cart), by store slug: the cart id, item count, total of the item prices Instacart shows, and each line with its line id, product id, item id (offerId), name, store, quantity, unit price and line price in US dollars, plus a review_hash per line to pass to Remove from Instacart cart. An empty cart returns no lines.
