This document explains about how to use our APIs. In order to use our APIs you need to use an HTTP post/get request by sending required parameters as per API requested. The response will also be sent in an JSON Format.
All requests must be sent to https://maxstore.co.il/api
Before start using our API, make sure you have valid API credentials (api_key and api_secret). If you do not have these then contact us at support@maxstore.com.
Every request sent to our server will be validated with a valid token which you can get from our /get-token API described below.
If you are sending a post request then all post data must be sent as x-www-form-urlencoded.
A response will be provided for every request you sent. Please see examples below for success and error responses.
Success Reponse:
{
"success": true,
"data": { },
"message": "Your request is successful",
"responseType": "Success"
}
Error Response:
{
"success": false,
"data": { },
"message": "Your request was unsuccessful",
"responseType": "Invalid Data",
"errorCode": 500
}
You will get "success: true" for successful request else false will be returned.