Piloterr

Coolshop Product

Use in bulk with DataflowRun this endpoint over a file or a list, once or on a schedule.

GET
/v2/coolshop/product

One product on www.coolshop.is, the Iceland shop. query is the full product URL.

Credit cost: 2 credits per call

Authorization

ApiKeyAuth
headerx-api-key<token>

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

Query Parameters

query*string
return_page_source?boolean

Return the page HTML instead of the parsed product

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

Response Body

Successful response

application/json
  1. response
sku?string
url?string
name?string
image?string
price?integer
currency?string
price_display?string
Example Request
curl -X GET 'https://api.piloterr.com/v2/coolshop/product?query=string'
Example Response
{
  "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"
}