Quickstart — your first call in 5 minutes
This guide takes you from zero to your first successfully created sales order in 4 steps.
0. Prerequisites
- NextUp ERP server IP (e.g.
192.168.x.x) — provided by the NextUp team - Access port (default
8080) - Demo credentials for authentication (see step 1)
- HTTP client — cURL, Postman, or any programming language with POST request support
- Network access to the server (firewall, VPN, etc. if the server is not on your LAN)
In all examples below, replace <server-ip>:<port> with the actual values (e.g. 192.168.3.193:8080).
1. Obtain your first token (Logon)
cURL
curl -X POST http://<server-ip>:<port>/NextUpServices/Services/POST/ \
-H "Content-Type: text/plain" \
-d '{
"Method": "GetAuthenticationToken",
"Params": {
"UserName": "demo_user",
"Password": "Demo1234",
"Database": "99999999"
}
}'
Response:
{ "Result": "7952bcb9539ee7a1920da3d2a3301b37", "Error": null }
Save the token in an environment variable:
export NX_TOKEN=7952bcb9539ee7a1920da3d2a3301b37
2. List the existing articles
cURL
curl -X POST http://<server-ip>:<port>/NextUpServices/Services/POST/ \
-H "Content-Type: text/plain" \
-d "{
\"AuthenticationToken\": \"$NX_TOKEN\",
\"Method\": \"GetAllArticles\",
\"Params\": {}
}"
Response (example with 5 demo articles):
{
"Result": [
{ "Id": 101, "Code": "0000001", "Name": "IT consulting (hour)", "SalePrice": 250.00, ... },
{ "Id": 102, "Code": "0000002", "Name": "Demo Laptop 14\"", "SalePrice": 4500.00, ... },
{ "Id": 103, "Code": "0000003", "Name": "Wireless mouse", "SalePrice": 89.00, ... },
{ "Id": 104, "Code": "0000004", "Name": "Mechanical keyboard", "SalePrice": 420.00, ... },
{ "Id": 105, "Code": "0000005", "Name": "A4 paper 500 sheets", "SalePrice": 32.00, ... }
],
"Error": null
}
3. Add a new article
cURL
curl -X POST http://<server-ip>:<port>/NextUpServices/Services/POST/ \
-H "Content-Type: text/plain" \
-d "{
\"AuthenticationToken\": \"$NX_TOKEN\",
\"Method\": \"AddArticle\",
\"Params\": {
\"Code\": \"0000010\",
\"Name\": \"Advanced consulting services\",
\"VATRateId\": 1,
\"SalePrice\": 350.00
}
}"
Response:
{ "Result": { "Id": 201, "Code": "0000010" }, "Error": null }
4. Create your first sales order
cURL
curl -X POST http://<server-ip>:<port>/NextUpServices/Services/POST/ \
-H "Content-Type: text/plain" \
-d "{
\"AuthenticationToken\": \"$NX_TOKEN\",
\"Method\": \"AddSaleOrder\",
\"Params\": {
\"PartnerId\": 27501,
\"Date\": \"2026-05-13\",
\"Currency\": \"RON\",
\"Lines\": [
{ \"ArticleCode\": \"0000002\", \"Quantity\": 1, \"UnitPrice\": 4500.00, \"VATRateId\": 1, \"WarehouseId\": 1 },
{ \"ArticleCode\": \"0000003\", \"Quantity\": 1, \"UnitPrice\": 89.00, \"VATRateId\": 1, \"WarehouseId\": 1 }
]
}
}"
Response:
{ "Result": { "Id": 9101, "Number": "COM-000556" }, "Error": null }
🎉 Congratulations — your first complete CRUD call; the whole Logon → Read → Write chain has been validated.
Next steps
| I want to... | Go to |
|---|---|
| ...better understand the token and its expiry | Authentication |
| ...see all 107 operations with their parameters | API Reference |
| ...understand the data models (Article, Partner, ...) | Data models |
| ...see complete examples in Node.js / PHP / Python | Code samples |
| ...resolve an error I ran into | Error catalog or FAQ |
Recommended demo operations for the next 30 minutes
GetAllPartners— see the 3 demo partners.AddPartner— create a new partner (mind the unique code).GetAllWarehouses— list the 2 demo warehouses.GetAllDocumentSeries— see the series for FAC, CHI, AVZ, COM, NIR.AddSaleInvoice— create an invoice (note: the server checks stock!).AddDeliveryNote— create a delivery note.SaveReceiptWithoutMarking— a receipt without fiscal-receipt marking.GetSaleInvoice— list the invoices you created.