Welcome to the SPONT API
This API is giving access to the sandbox envoirment of Spont and gives you the option to access the following endpoints:
This API is available for all users with a paid Spont subscription. More information is available on : https://www.spont.cash
When you register a webhook, you can use webhooks for the following actions:
{
"timestamp": "2020-03-03T09:48:24.116831Z",
"object": "category",
"type": "categoryCreated",
"APIVersion": "v1",
"eventID": "828a39e2-4a93-4db4-8d95-b26417015037-0",
"retry": 0,
"data": {
"image": "general/categoryTemplates/Water@2x.png",
"printers": [],
"showImage": false,
"subcategories": [],
"title": "My Category",
"vat": 9,
"id": "8rfgvRVGd70jsYU4xMOx"
}
}
{
"timestamp": "2020-03-03T09:56:37.485839Z",
"object": "category",
"type": "categoryUpdated",
"APIVersion": "v1",
"eventID": "60b6d31a-49b4-44cd-9fa6-54c58635bc34-0",
"retry": 0,
"data": {
"image": "general/categoryTemplates/Puzzle@2x.png",
"printers": [],
"showImage": false,
"subcategories": [],
"title": "My Updated Category",
"vat": 21,
"id": "8rfgvRVGd70jsYU4xMOx"
}
}
{
"timestamp": "2020-03-03T09:57:08.782239Z",
"object": "category",
"type": "categoryDeleted",
"APIVersion": "v1",
"eventID": "fa61e508-f3cd-4457-b168-4c167101df06-0",
"retry": 0,
"data": {
"image": "general/categoryTemplates/Water@2x.png",
"printers": [],
"showImage": false,
"subcategories": [],
"title": "Category name",
"vat": 21,
"id": "9ck8p58aVDzVPWRz8RCl"
}
}
{
"timestamp": "2020-03-03T10:03:54.032927Z",
"object": "product",
"type": "productCreated",
"APIVersion": "v1",
"eventID": "cafb9701-410d-48bb-b254-a95a953b376d-0",
"retry": 0,
"data": {
"active": true,
"categories": [
"C7I4ivN83nJGy9zMQNxF",
"XOtK0nqUczFReYADZ3Jp"
],
"color": "#f64f4f",
"costPrice": 0,
"description": "",
"exactId": "",
"exactLedger": "",
"favorite": true,
"hasAttributes": false,
"image": "",
"invoiceLedgerId": "",
"ledger": "",
"ledgerVat": 0,
"priceExc": 9.17,
"priceInc": 10,
"showDetail": false,
"stock": 0,
"supplier": "Philips",
"title": "My Product name",
"twinfieldLedger": "",
"variablePrice": false,
"vat": 9,
"id": "j4i5uunLc9JFJrSA1U1F"
}
}
{
"timestamp": "2020-03-03T10:04:18.382447Z",
"object": "product",
"type": "productUpdated",
"APIVersion": "v1",
"eventID": "96c8e5ad-7988-4fc9-9293-ec98d721dced-0",
"retry": 0,
"data": {
"active": true,
"categories": [
"C7I4ivN83nJGy9zMQNxF",
"XOtK0nqUczFReYADZ3Jp"
],
"color": "#f64f4f",
"costPrice": 0,
"description": "",
"exactId": "",
"exactLedger": "",
"favorite": false,
"hasAttributes": false,
"image": "",
"invoiceLedgerId": "",
"ledger": "",
"ledgerVat": 0,
"priceExc": 0,
"priceInc": 0,
"showDetail": false,
"stock": 0,
"supplier": "Philips",
"title": "My Updated Product name ",
"twinfieldLedger": "",
"variablePrice": true,
"vat": 9,
"id": "j4i5uunLc9JFJrSA1U1F"
}
}
{
"timestamp": "2020-03-03T10:04:18.382447Z",
"object": "product",
"type": "productUpdated",
"APIVersion": "v1",
"eventID": "96c8e5ad-7988-4fc9-9293-ec98d721dced-0",
"retry": 0,
"data": {
"active": true,
"categories": [
"C7I4ivN83nJGy9zMQNxF",
"XOtK0nqUczFReYADZ3Jp"
],
"color": "#f64f4f",
"costPrice": 0,
"description": "",
"exactId": "",
"exactLedger": "",
"favorite": false,
"hasAttributes": false,
"image": "",
"invoiceLedgerId": "",
"ledger": "",
"ledgerVat": 0,
"priceExc": 0,
"priceInc": 0,
"showDetail": false,
"stock": 0,
"supplier": "Philips",
"title": "My Updated Product name ",
"twinfieldLedger": "",
"variablePrice": true,
"vat": 9,
"id": "j4i5uunLc9JFJrSA1U1F"
}
}
{
"timestamp": "2020-03-03T09:58:25.941407Z",
"object": "account",
"type": "accountCreated",
"APIVersion": "v1",
"eventID": "817608b5-ca55-49ae-8e8e-f5ae6919584e-0",
"retry": 0,
"data": {
"address": "Oudezijlweg 123",
"balance": 0,
"city": "Amsterdam",
"company": "Company",
"country": "NL",
"createdOn": {
"_seconds": 1583229505,
"_nanoseconds": 95000000
},
"discount": 10,
"email": "John@email.com",
"exactId": null,
"firstName": "Firstname",
"groups": [],
"invoiceMoneybirdId": "",
"lastName": "Lastname",
"modifiedOn": {
"_seconds": 1583229505,
"_nanoseconds": 95000000
},
"nfcCode": "12345678",
"noOrders": 0,
"openTotal": 0,
"orderInfo": {
"hasOpen": false,
"orderId": "",
"totalOpen": 0
},
"phone": "+31 61 2345678",
"phoneCountryCode": "nl",
"postcode": "1012AA",
"vatCode": "123456789B01",
"id": "pVQjxtxDur92kGDKHPE3"
}
}
{
"timestamp": "2020-03-03T09:58:37.262447Z",
"object": "account",
"type": "accountUpdated",
"APIVersion": "v1",
"eventID": "b0bf2edd-b020-424d-9cb7-6c94c119f9c4-0",
"retry": 0,
"data": {
"address": "Oudezijlweg 123",
"balance": 0,
"city": "Amsterdam",
"company": "Company updated",
"country": "NL",
"createdOn": {
"_seconds": 1583229505,
"_nanoseconds": 95000000
},
"discount": 10,
"email": "John@email.com",
"exactId": null,
"firstName": "Firstname",
"groups": [],
"invoiceMoneybirdId": "",
"lastName": "Lastname",
"modifiedOn": {
"_seconds": 1583229516,
"_nanoseconds": 382000000
},
"nfcCode": "12345678",
"noOrders": 0,
"openTotal": 0,
"orderInfo": {
"hasOpen": false,
"orderId": "",
"totalOpen": 0
},
"phone": "+31 61 2345678",
"phoneCountryCode": "nl",
"postcode": "1012AA",
"vatCode": "123456789B01",
"id": "pVQjxtxDur92kGDKHPE3"
}
}
{
"timestamp": "2020-03-03T09:58:43.046143Z",
"object": "account",
"type": "accountDeleted",
"APIVersion": "v1",
"eventID": "cb9c7241-5474-45f0-9464-2c7ef1f638c0-0",
"retry": 0,
"data": {
"address": "Oudezijlweg 123",
"balance": 0,
"city": "Amsterdam",
"company": "Company updated",
"country": "NL",
"createdOn": {
"_seconds": 1583229505,
"_nanoseconds": 95000000
},
"discount": 10,
"email": "John@email.com",
"exactId": null,
"firstName": "Firstname",
"groups": [],
"invoiceMoneybirdId": "",
"lastName": "Lastname",
"modifiedOn": {
"_seconds": 1583229516,
"_nanoseconds": 382000000
},
"nfcCode": "12345678",
"noOrders": 0,
"openTotal": 0,
"orderInfo": {
"hasOpen": false,
"orderId": "",
"totalOpen": 0
},
"phone": "+31 61 2345678",
"phoneCountryCode": "nl",
"postcode": "1012AA",
"vatCode": "123456789B01",
"id": "pVQjxtxDur92kGDKHPE3"
}
}
Because the API is just released it can be used on invitation only.
If you like to recieve an API key, please contact support.