Example Request

The following example will show you how to make a simple request to the API. By making a GET request to the http://shop.de/api.php/v2 you will get a JSON object with the currently available resources and the URIs.

Request through cURL:

curl -i http://shop.de/api.php/v2

Response:

{
  "addresses": "http://shop.de/api.php/v2/addresses",
  "attachments": "http://shop.de/api.php/v2/attachments",
  "categories": "http://shop.de/api.php/v2/categories",
  "category_images": "http://shop.de/api.php/v2/category_images",
  "category_icons": "http://shop.de/api.php/v2/category_icons",
  "countries": "http://shop.de/api.php/v2/countries",
  "customers": "http://shop.de/api.php/v2/customers",
  "emails": "http://shop.de/api.php/v2/emails",
  "orders": "http://shop.de/api.php/v2/orders",
  "product_images": "http://shop.de/api.php/v2/product_images",
  "products": "http://shop.de/api.php/v2/products",
  "zones": "http://shop.de/api.php/v2/zones"
}