Welcome to the Abicart API! Our API is accessable 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 (refferring 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 JSON-RPC 2.0 HTTP request header:

POST /backend/jsonrpc/v1/ HTTP/1.1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/37.0.2062.120 Safari/537.36
Accept:application/json, text/javascript, */*; q=0.01
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost/test.html
Content-Type: application/json-rpc
Content-Length: 69