# Introduction

Welcome to the Abicart API! Our API is accessible for all webshops with an active subscription. The main interface to our API is JSON-RPC 2.0.

A webshop contains various objects (i.e. Article, Customer, Order). We call these objects Classes. Each Class has functions that can be addressed using “dot notation”. For example, by setting the JSON-RPC key method to Article.get will access the Article class and run the get function.

If a function requires parameters, these parameters are specified in the JSON-RPC key params. For example Article.get requires a unique id (referring to the exact article we are getting) and a query parameter. In this case, there are two parameters, and that's why they are specified in an array (using JSON syntax).

# Example

Example JSON-RPC 2.0 HTTP request header

POST /backend/jsonrpc/v1/ HTTP/1.1
Host: admin.abicart.se
Content-Type: application/json-rpc
Content-Length: 91
​
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "Article.get",
  "params": [
    12345,
    true
  ]
}