Cdiscount Product Offer
Usar em massa com o DataflowExecute este endpoint sobre um arquivo ou uma lista, uma vez ou com agendamento.
Retrieve all marketplace seller offers for a Cdiscount product, including prices, seller ratings, shipping costs, and availability.
Credit cost: 2 credits per call
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringCdiscount product offer page URL. Pass the multiple_offer_url value returned by the Cdiscount Product API.
Example:
https://www.cdiscount.com/mp-352880-auc3283981039048.htmlHow to get this URL:
- Call the Cdiscount Product API with any product URL.
- Extract the
multiple_offer_urlfield from the response. - Use that URL as the
queryparameter here.
Note: Only URLs with the pattern /mp-{id}-{ean}.html are accepted. Regular product page URLs will not work.
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}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
results?array<>curl -X GET 'https://api.piloterr.com/v2/cdiscount/product/offer?query=string'{
"results": [
{
"price": 8.68,
"seller": {
"url": "https://www.cdiscount.com/mpv-1818-brico-travo.html",
"name": "brico-travo",
"type": "VENDEUR PRO",
"rating": {
"rating": 3.2,
"reviews_count": 249,
"score_percentage": 60
},
"sales_count": 16152
},
"condition": "Neuf",
"shipped_by": "brico-travo",
"availability": "En Stock !",
"delivery_time": "Entre le 10/04 et le 15/04",
"shipping_cost": "6,99€",
"shipping_country": "FRANCE"
},
{
"price": 8.19,
"seller": {
"url": "https://www.cdiscount.com/mpv-406441-NMA.html",
"name": "NMA",
"type": "VENDEUR PRO",
"rating": {
"rating": 4.2,
"reviews_count": 6,
"score_percentage": 80
},
"sales_count": 348
},
"condition": "Neuf",
"shipped_by": "NMA",
"availability": "En Stock !",
"delivery_time": "Entre le 02/04 et le 08/04",
"shipping_cost": "8,81€",
"shipping_country": "FRANCE"
}
]
}