E.Leclerc Product
Mit Dataflow in großen Mengen nutzenFühren Sie diesen Endpunkt über eine Datei oder eine Liste aus, einmalig oder nach Zeitplan.
Read one E.Leclerc product by EAN or product URL. Pass store_id for that store's drive and click-and-collect price. A store with no row for that EAN returns 404.
Credit cost: 1 credit per call
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringE.Leclerc product EAN or product page URL.
Examples:
3564700201442
https://www.e.leclerc/fp/jus-de-citron-de-sicile-2-x-125-ml-rustica-3564700201442Notes:
- Accepts a 13-digit EAN or a full
www.e.leclerc/fp/...URL. Extra query params (srsltid,offerId) are ignored. - The returned
eanis this EAN. Another product is not substituted. - If no
store_idis provided, the product is looked up on the national online catalog. - When available,
environmental_costreturns ADEME impact points (Coût environnemental).
store_id?stringE.Leclerc store sign code. This selects that store's drive and click-and-collect price and stock, not the shelf price.
Examples:
1017
1833Notes:
1017is Marennes.1833is Coutras.- Call the same EAN once per store and check that the returned
eanmatches. - If the store response has no row for that EAN, the API returns 404.
- The same EAN with stock 0 is returned as unavailable, with an empty price.
fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}. The call is billed once, when the job completes. fields does not apply to asynchronous results.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body. Billing is unchanged: a billable error (e.g. 404) is still charged.
falseSuccessful response
application/json- response
ean?stringbrand?stringimage?stringoffer?title?stringdata_layer?rating_count?integerrating_average?integercurl -X GET 'https://api.piloterr.com/v2/eleclerc/product?query=3564700201442'{
"ean": "5702016367676",
"brand": "Lego®",
"image": "https://media.e.leclerc/5702016367676_1",
"offer": {
"price": {
"price": 39.9,
"availability_status": "En stock",
"offer_availability_status": "in-stock"
},
"elected_offer": {
"slug": "fp/lego-duplo-rescue-la-caserne-de-pompiers-10903-5702016367676?offerId=m-5702016367676-1017",
"stock": 1,
"shop_id": "10171011",
"shop_name": "E.Leclerc MARENNES",
"offer_type": "leclerc_store",
"national_offer_id": "m-5702016367676-1017"
},
"cnc_offers_count": 1
},
"title": "Lego® Duplo® Rescue - La Caserne De Pompiers - 10903",
"data_layer": {
"id": "5702016367676",
"ean": "5702016367676",
"name": "Lego® Duplo® Rescue - La Caserne De Pompiers - 10903",
"price": "39.90",
"vendor": "E.Leclerc MARENNES",
"in_stock": true
},
"rating_count": 3,
"rating_average": 5
}