call method.
See Find Your URL for information on finding the correct URL to use for your ShipStream instance.
HTTP Basic Auth
HTTP Basic Auth Example
session_id parameter to the call method (the first element of the params array) should be null.
Session Login
login(username, api_key)
Another method is to use the login JSON-RPC method to obtain a session ID and use this session ID for subsequent requests to the call method.
The session ID can then be used as the first array element of the params parameter for subsequent requests to call.
The session ID will expire after 24 hours at which time you will need to use 
login again. Do not call login before each request, instead consider
using the HTTP Basic Auth method described above.login() Parameters
The API user’s username.
The API user’s API key (password).
Return Value
Upon a successful login, the result will be a session ID which is a 32-character hexadecimal string.Login Example
Request
Response
Session Expired
Error Codes
| code | message | 
|---|---|
| 2 | Access denied. | 
| 6 | Required parameter is missing. |