Connection to API
Store API
Documentation has moved
The information on this page is no longer updated and may be obsolete. The most current Koshelek documentation is now available at the new address:
Store API is provided by a dedicated Koshelek host. API consumers are merchants' servers.
API credentials and identifiers
To integrate with Store API, use the following parameters:
Parameter | Description |
---|---|
Login | Login for API request authentication. |
Password | Password for API request authentication. |
API Base URL | https://api.koshelek.app/<partner-name> |
API request authorization
API communication relies on HTTPS with HTTP Basic Authentication (RFC 7617) for request authorization. Request authorization credentials are passed in the Authorization
HTTP header as Basic <BASE64STRING>, where <BASE64STRING> is base64 encoded login:password
string.
Message encoding
Both request and response messages use the UTF-8 encoding.
Message format and structure
API requests expect content type in header: Content-Type: application/json
and return response body in "application/json"
.
HTTP response codes
Successful API response will return data as described in API specification, along with HTTP response code: 200
.
Last updated