Elko Product
Utiliser en masse avec DataflowLancez cet endpoint sur un fichier ou une liste, une fois ou selon une planification.
GET
One product on elko.is. query is the full product URL.
Credit cost: 1 credit per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringFull elko.is product URL. Example: https://elko.is/vorur/apple-airpods-pro-3-406385/MFHP4ZMA
return_page_source?booleanReturn the page HTML instead of the parsed product
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}.
Default
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
Default
falseSuccessful response
application/json- response
sku?stringurl?stringname?stringimage?stringprice?integercurrency?stringprice_display?stringcurl -X GET 'https://api.piloterr.com/v2/elko/product?query=string'Example Response
{
"sku": "MFHP4ZMA",
"url": "https://elko.is/vorur/apple-airpods-pro-3-406385/MFHP4ZMA",
"name": "Apple Airpods Pro 3 þráðlaus heyrnartól",
"image": "https://media.backend.elko.is/products/mfhp4zma_l.webp",
"price": 40496,
"currency": "ISK",
"price_display": "40.496 kr."
}