Official client libraries

We have a couple of official libraries you can use to easily connect your app/service to Each library comes with it's own documentation and examples.

Choose your language:

CURL examples

If your language isn't listed, you can use CURL. The --user argument engages http basic auth.

Get a list of your products

curl --user <your-api-key-id>:<your-api-key-password> -H "Content-Type: application/json"

Create a product

curl --user <your-api-key-id>:<your-api-key-password> -H "Content-Type: application/json" -d '{"name": "Blue Suede Shoes", "unit": "pairs"}'

Create an invoice

curl --user <your-api-key-id>:<your-api-key-password> -H "Content-Type: application/json" -d '{"date": "20150101", "client": {"company": "Acme Shoe factory"}, "rows": [{"product_name": "Blue Suede Shoes", "unit": "pairs"}]}'