Context

The context is the the API’s way of knowing the set of circumstances that surround a particular request. All calls are made in a context. The API will take context parameters from both GET-parameters and cookies.

URL: https://admin.abicart.se/backend/jsonrpc/?webshop=22222&language=sv

Current context:

Parameter Value
webshop 22222
language sv

Example

Setting and getting the current Context:

Context.set({"webshop": 22222, "language": "sv"}, true)
{
  "isAdmin": false,
  "language": "sv",
  "session": null,
  "webshop": 22222
}