Piloterr

Apotea Product

Utiliser en masse avec DataflowLancez cet endpoint sur un fichier ou une liste, une fois ou selon une planification.

GET
/v2/apotea/product

One product on apotea.se. query is the full product URL. Prices stay in SEK. Alvedon 500 mg 20 tablets is 34 kr, brand Alvedon, sku 5212, availability Fler än 100 st i lager.

Credit cost: 2 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
return_page_source?boolean

Return the page HTML instead of the parsed product. Example: false

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
sku?string
url?string
gtin?string
name?string
brand?string
image?string
price?integer
images?array<string>
currency?string
description?string
availability?string
price_display?string
Example Request
curl -X GET 'https://api.piloterr.com/v2/apotea/product?query=string'
Example Response
{
  "sku": "5212",
  "url": "https://www.apotea.se/alvedon-filmdragerad-tablett-500-mg-20-st",
  "gtin": "7046260976108",
  "name": "Alvedon, filmdragerad tablett 500 mg, 20 st",
  "brand": "Alvedon",
  "image": "https://media.apotea.se/product-images/XL/alvedon-filmdragerad-tablett-500-mg-20-st-3.jpg",
  "price": 34,
  "images": [
    "https://media.apotea.se/product-images/XL/alvedon-filmdragerad-tablett-500-mg-20-st-3.jpg"
  ],
  "currency": "SEK",
  "description": "Alvedon 500 mg filmdragerad tabletter är ett receptfritt läkemedel som innehåller paracetamol som är smärtlindrande och febernedsättande.",
  "availability": "Fler än 100 st i lager",
  "price_display": "34 kr"
}