API documentation

 

How it works?
The API is suitable for getting list and details of categories and products which are available
in the webshop. All commands is posted by GET requests. All default responses are in JSON
format.


If you need data in XML format just put the ?format=xml query string after all URIs below.
E.g.: https://sexshopcyprus.com.cy/{lang}/api/default/key-{key}?format=xml


{lang} => is your desired language (en, el, ru)
{key} => is your API key

Commands


Default
Displays all API endpoints
sexshopcyprus.com.cy/{lang}/api/default/key-{key}


Products
Lists all available products
sexshopcyprus.com.cy/{lang}/api/products/key-{key}


Categories
Lists all available categories
sexshopcyprus.com.cy/{lang}/api/Categories/key-{key}


CategoryProducts
Lists all products in a specific category.
sexshopcyprus.com.cy/{lang}/api/CategoryProducts/key-{key}/category-{category}/page-{page}
{category} => The Category ID
{page} => The number of page

Product
Displays all information about a specific product
sexshopcyprus.com.cy/{lang}/api/Product/key-{key}/pid-{pid}
{pid} => The Product ID

 
{* *} {* *}