Get Myntra product offers
Automatically get Myntra product offers on myntra.com. List the sellers' offers for one myntra.com product, size by size: sku, size, seller id and name, price and MRP in rupees, and how many are available. Takes the link Search Myntra products returns.
Inputs
url requiredThe product's link as Search Myntra products returns it (https://www.myntra.com/.../<id>/buy).
Output
offers requiredproduct_id requiredFAQ
Remove from Myntra bag
Remove one line from this browser's myntra.com bag. Takes the line id and its review_hash from List Myntra bag items, refuses when the line changed since, then returns the bag.
List Myntra bag items
Read this browser's myntra.com bag: each line's id, product, sku, brand, size, seller, quantity, unit and line price and MRP in rupees, and the review_hash that Remove from Myntra bag needs, plus the item count and total.
Add to Myntra bag
Add one size of a myntra.com product to this browser's bag, in a quantity from 1 to 5, then return the bag. Takes the product link, the sku of the size from Get Myntra product, and optionally a seller_id from Get Myntra product offers. Nothing is ordered.
