Coolshop Search
Utiliser en masse avec DataflowLancez cet endpoint sur un fichier ou une liste, une fois ou selon une planification.
Product search on www.coolshop.is, the Iceland shop. query is keywords such as lego, or a full search URL. page starts at 1.
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*stringProduct keywords or a coolshop.is search URL. Example: lego
page?numberPage number, starting at 1. The shop returns the first screen. Example: 1
return_page_source?booleanReturn the page HTML instead of the parsed listing
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<>pagination?curl -X GET 'https://api.piloterr.com/v2/coolshop/search?query=string'{
"results": [
{
"sku": "23T87K",
"url": "https://www.coolshop.is/vara/lego-lego-iconic-festive-gingerbread-house-40809/23T87K/",
"name": "LEGO - LEGO Iconic - Festive Gingerbread House (40809)",
"image": "https://scale.coolshop-cdn.com/product-media.coolshop-cdn.com/23T87K/e8ad38e1f52246faa8908c3a2ee5bb31.png/f/lego-lego-iconic-festive-gingerbread-house-40809.png",
"price": 9999,
"currency": "ISK",
"price_display": "9999 kr"
}
],
"pagination": {
"page": 1,
"per_page": 20,
"total_pages": 54,
"total_results": 1076
}
}