Get Zara product
Automatically get Zara product on zara.com. Get one product of the Zara France store (zara.com/fr) from its product id or its link: name, description, reference, section, and every colour with its price and old price in euros, image, link and every size with its offerId (the id that Add Zara product to cart takes), price and stock state. A product id or link that Zara does not know gives an error that tells you to search again.
Inputs
product requiredProduct id (such as the productId of Search Zara products) or the link of a Zara product page.
Output
url requiredname requiredcolors requiredEvery colour of the product, each with every size.
family requiredsection requiredcurrency requiredCurrency of the prices, as an ISO code (euro).
productId requireddescription requireddisplayReference requiredReference the page shows.
FAQ
Search Zara products
Search the products of the Zara France store (zara.com/fr) by words, in one section such as woman, man or kid. Gives 36 results for each page, one for each colour of a product, in the order of the site: the product id, name, colour, link, price and old price in euros, image, and each size with its offerId and stock state. Use nextCursor to get the next page; a cursor after the last page gives an empty list. When no product matches the words, the site shows related products: then provider is Embeddings and searchPass is null.
Remove Zara product from cart
Remove one size of a product from the Zara France (zara.com/fr) cart of this browser by its offerId, whatever its quantity, and return the cart after the removal (each line, the number of units and the total in euros) with removed true. Give the line id from List Zara cart items to remove only one line when the size is on several lines. A size that is not in the cart gives removed false and the cart without a change, not an error. Works without sign-in.
Add Zara product to cart
Add one size of a Zara France (zara.com/fr) product to the cart of this browser, with a quantity from 1 to 10. Give the product id or link and the offerId of the size from Get Zara product. Returns the cart after the add (each line, the number of units and the total in euros) with the product id, offerId, name and number of units added. A size that is out of stock, or an offerId that is not on the product, gives an error with the sizes of the product. Works without sign-in: the cart stays with the browser, and lines already in it stay. Nothing is paid or ordered.
