Likeastore vendors API requires authentication for all endpoints. At the moment we support token based authorization.
In order to retrieve client_id and client_secret, please email to devs@likeastore.com. You application will be registered and details will be sent back to you.
HTTP POST /api/auth
| Name | Type | Description |
|---|---|---|
| client_id | string | Required The ID you received during application registration |
| client_secret | string | Required The Secret you received during application registration |
If client_id and client_secret is valid, the access_token returned as payload.
{
access_token: "4cc9cbeeecc44aac7c91708ac6c5e064632301a5"
}The valid access token should be submitted to server with each HTTP call by any of following options.
X-Likeastore-Access-Token header parameter.
?access_token= query parameter.
lkstr_access_token cookie value.