Product Edit the file on GitHub

Table of Contents

Retrieve a single product

  GET /products/:id

GET https://api.skroutz.gr/products/29878439

View Response
Show Headers
Status: 200
{
  "product": {
    "id": 29878439,
    "name": "Apple iPhone 5S Space Grey 16 GB EU ( ✔ΔΩΡΟ ΘΗΚΗ + ✔TEMPERED GLASS )",
    "sku_id": 3783654,
    "shop_id": 4102,
    "category_id": 40,
    "availability": "Παράδοση 1 έως 3 ημέρες",
    "click_url": "https://www.skroutz.gr/products/show/29878439?client_id=XIbz2_n2p94JTskRpHu9wQ%3D%3D&from=api",
    "shop_uid": "548",
    "expenses": null,
    "web_uri": "http://skroutz.gr:3000/products/show/29878439",
    "sizes": [

    ],
    "blp": {
      "shipping_cost": 4.41,
      "payment_method_cost": 3.5,
      "final_price": 297.81
    },
    "price": 289.9,
    "immediate_pickup": false
  },
  "meta": {
    "personalization": {
      "location": {
        "address_id": 25522,
        "label": "Αλέκου Παναγούλη 91, Νέα Ιωνία",
        "lat": "38.043322",
        "lng": "23.760006",
        "type": "address",
        "country_code": "GR"
      },
      "payment_method": {
        "type": "spot_cash"
      }
    }
  }
}

Show Personalization info

GET /personalization

GET https://api.skroutz.gr/personalization

View Response
Show Headers
Status: 200
{
  "personalization": {
    "location": {
      "address_id": 25522,
      "label": "Αλέκου Παναγούλη 91, Νέα Ιωνία",
      "lat": "38.043322",
      "lng": "23.760006",
      "type": "address",
      "country_code": "GR"
    },
    "payment_method": {
      "type": "spot_cash"
    }
  }
}

Show the address that is used to calculate shipping & payment_method costs.

Update Personalization info

PUT /personalization

PUT https://api.skroutz.gr/personalization

View Response Params
{
  "personalization": {
    "location": {
      "address_id": 38572
    }
  }
}
Show Headers
Status: 200
{
  "personalization": {
    "location": {
      "address_id": 38572,
      "label": "grafio",
      "lat": "38.043322",
      "lng": "23.760006",
      "type": "address",
      "country_code": "GR"
    },
    "payment_method": {
      "type": "spot_cash"
    }
  }
}

Select a different User Address.

Search for products

  GET /shops/:shop_id/products/search?shop_uid=value
Name Type Description
shop_uid Integer Search with the product identifier as assigned by the shop

GET https://api.skroutz.gr/shops/452/products/search?shop_uid=062276

View Response
Show Headers
Status: 200
{
  "products": [
    {
      "id": 2542077,
      "name": "Verbatim DVD+R 25PK Spindle 16x",
      "sku_id": 4843381,
      "shop_id": 452,
      "category_id": 472,
      "availability": "Άμεση παραλαβή / Παράδοση 1 έως 3 ημέρες",
      "click_url": "https://www.skroutz.gr/products/show/2542077?client_id=NsgROlpU9757wHtXZPmbzA%3D%3D&from=api",
      "shop_uid": "062276",
      "expenses": null,
      "web_uri": "https://www.skroutz.gr/products/show/2542077",
      "sizes": [

      ],
      "price": 8.99,
      "immediate_pickup": true
    }
  ],
  "meta": {
    "pagination": {
      "total_results": 1,
      "total_pages": 1,
      "page": 1,
      "per": 25
    }
  }
}