Piloterr

Intermarché Product

GET
/v2/intermarche/product

Read one Intermarché product for a chosen store. Pass an EAN or a product URL plus the shop id.

Credit cost: 3 credits per call

Authentification

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Paramètres de requête

query*string

Full Intermarché product URL, or an EAN barcode.

Examples:

https://www.intermarche.com/produit/flan-patissier-cuit-&-dore-au-four/3250391522828
3250391522828
shop_id*string

Intermarché store id. Resolve a city with the Stores Finder (for example query=Paris).

Example:

11301
fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Corps de la réponse

Successful response

application/json
  1. response
ean?string
url?string
unit?string
brand?string
image?string
price?number
stock?integer
title?string
images?array<string>
origin?string
shop_id?string
capacity?integer
currency?string
in_stock?boolean
packaging?string
was_price?unknown
nutriscore?string
unit_price?number
description?string
price_display?string
Example Request
curl -X GET 'https://api.piloterr.com/v2/intermarche/product?query=string&shop_id=string'
Example Response
{  "ean": "3250391522828",  "url": "https://www.intermarche.com/produit/flan-patissier-cuit-&-dore-au-four/3250391522828",  "unit": "€/Kg",  "brand": "Pâturages, une marque Intermarché",  "image": "https://assets-big.cdn-mousquetaires.com/medias/domain11815/media131044/9313237-larns7kgb4-ecommint.jpg",  "price": 3.06,  "stock": 8,  "title": "Flan pâtissier, cuit & doré au four",  "images": [    "https://assets-big.cdn-mousquetaires.com/medias/domain11815/media131044/9313237-larns7kgb4-ecommint.jpg"  ],  "origin": "France",  "shop_id": "11301",  "capacity": 400,  "currency": "EUR",  "in_stock": true,  "packaging": "les 4 pots de 100 g - 400g",  "was_price": null,  "nutriscore": "C",  "unit_price": 7.65,  "description": "Flan Pâtissier",  "price_display": "3,06 €"}