To access the API, simply pass an Authorization header with your request, containing Basic and your API access token.
Example Authorization header to be sent with your request:
Authorization: Basic API_ACCESS_TOKEN
The access token will differ for every device you have registered in your Eposnow Backoffice.
You will also need to pass a Content-type header (e.g. application/json) to specify the response data type.
To obtain your API_ACCESS_TOKEN please concatenate your API Key, a colon character ":", and you API Secret in to single string (no spaces) and then Base64 encode it.
Alternatively, you may use your API key and API secret in the form below to quickly generate your access token.
You can obtain your API key and API secret from your Eposnow Backoffice.
To learn how to create API Device click here.
GET HTTP://api.eposnowhq.com/api/V1/product/1
{
Authorization: Basic INSERT_API_ACCESS_TOKEN
Content-type: application/xml
}