Hurtigstart
Oppsett
Få din API-token
Gå til integrations og opprett en ny API-token eller klikk på "Vis" for å se en eksisterende token.
Flyt
Opprett en ny konto
curl -X POST https://app.fenerum.com/v1/accounts \
-H "Authorization Token <your token>" \
-H "Content-Type: application/json" \
-d '{ "company_name": "Acme Inc", "code": "acme-inc", "legal_address": "Some Street", "legal_zipcode": "1234", "legal_city": "New York", "legal_country": "DK", "type": "company"}'
Opprett et nytt abonnement
curl -X POST https://app.fenerum.com/v1/subscriptions \
-H "Authorization Token <your token>" \
-H "Content-Type: application/json" \
-d '{ "account": "acme-inc", "terms": "<your terms>", "quantity": 5, "collection_method": "invoice"}'
Ytterligere informasjon
Se vår API Reference for mer informasjon.