Add a product to the Picard cart
Automatically add a product to the Picard cart on picard.fr. Add a product of the Picard France store (picard.fr, frozen food) to the cart of this browser, from its product id or link, with a quantity from 1 to 99, and return the cart afterwards: each line with its line id, product id, name, seller (always Picard), quantity, unit price and line price in euros, plus the item count and the total of the products. Works as a guest, with no account: when the site asks for a delivery postcode or a store, the script chooses to set it later, so the cart keeps the national prices of the French web store. Lines already in the cart stay and are listed too. Nothing is paid or ordered. An unknown product, a link that is not a Picard product page, a quantity out of range, and a product that the site does not sell online now fail with a message that says so.
Inputs
product requiredThe product id from Search Picard products (for example "000000000000083390") or a picard.fr product link.
quantity optionalHow many units to add, from 1 to 99.
Default: 1Output
name requiredadded requiredUnits this run added to the cart.
count requiredUnits in the cart after the add.
lines requiredtotal requiredTotal of the products in euros after the add, delivery and loyalty discounts not included.
offerId requiredAlways null: Picard sells only its own products.
currency requiredproductId requiredFAQ
Remove a product from the Picard cart
Remove a product from the Picard France (picard.fr) cart of this browser by its product id, whatever its quantity, and return what is left in the cart: each line with its line id, product id, name, seller (always Picard), quantity, unit price and line price in euros, plus the item count and the total of the products. Give the line id from List Picard cart items to pick one line when the product is on several lines. Works as a guest, with no account. A product that is not in the cart gives removed false, and nothing is changed.
List Picard cart items
List the items in the Picard France (picard.fr) cart of this browser, as the site holds it: for each line its line id, product id, name, seller (always Picard), quantity, unit price and line price in euros, plus the number of items and the total of the products, delivery and loyalty discounts not included. The offer id is always null: Picard sells only its own products. The cart is the guest cart of the browser, so no sign-in is needed. The prices are the national prices of the French web store when no delivery postcode or store is chosen. An empty cart returns an empty list and a zero count.
Get a Picard product
Read one product of the Picard France store (picard.fr, frozen food) from its product id or its link: name, reference, packaging, price in euros, price per kilo or per unit, description, images, rating and review count, Nutri-Score and Planet-Score, origin, the breadcrumb of categories, and whether the product can be added to the cart online. The price is the national price of the French web store, as shown to a guest who has not chosen a delivery postcode or a store. An id or link that the store does not have fails with a message that says so.
