Hurtigstart
Opsætning
Få din API-token
Gå til integrationer og opret en ny API-token eller klik på "Vis" for at se en eksisterende token.
Flow
Opret en ny konto
curl -X POST https://app.fenerum.com/v1/accounts \
-H "Authorization Token <din token>" \
-H "Content-Type: application/json" \
-d '{ "company_name": "Acme Inc", "code": "acme-inc", "legal_address": "En eller anden gade", "legal_zipcode": "1234", "legal_city": "New York", "legal_country": "DK", "type": "company"}'
Opret et nyt abonnement
curl -X POST https://app.fenerum.com/v1/subscriptions \
-H "Authorization Token <din token>" \
-H "Content-Type: application/json" \
-d '{ "account": "acme-inc", "terms": "<dine betingelser>", "quantity": 5, "collection_method": "invoice"}'
Yderligere information
Se vores API Reference for mere information.