Prerequisites
In Hublify
- you must be registered as a merchant and enabled for api access
- you need to know the corresponding "api-merchant-token" of your account
- you need to know the API-URL of the Marketplace Hublify Instance
An API request
Authentication & Authorization
In every api request simply set your merchant-token in the HTTP-Header.
HTTP-Header
API-Merchant-Token: <your valid api-merchant-token>
Parameter
Pass all parameter each as a JSON encoded HTTP POST-values.
Use UTF8-charset encoding.
First api call
Lets make a first testing call to the Hublify merchant api to see whether we can reach the Hublify server at all and whether our api-merchant-token is valid.
Request URL
https://{your hublify url}/api/merchant_10/stats
Request parameter
// NONE !
Response
If your request and authentication was successful you will receive:
{
"status": true
}