API और वेबहुक
API access and webhooks, so other systems can read from and write to your Stockivio account.
Why and when you use it
If you have a website, an app or another software that should send orders to Stockivio or receive updates from it, you connect them through the API. A webhook is a message Stockivio sends to another system when something happens. This screen is for a developer or IT person working with the owner; the public documentation has the technical reference (Authentication, REST API Reference, Webhooks).
Before you start
- Have a developer who will build the connection
- Know what data should flow and in which direction
Step by step
- Open API & WebhooksOpen API & Webhooks from the Stockivio ERP menu.
- Create API accessCreate access for the system that will connect. Give it a name that says which system it is.
- Store the credentials safelyHand the access details to your developer through a safe channel. Treat them like a password.
- Add a webhookIf another system must be told about events, add a webhook with that system's address and the events it needs. Fill in the form and save.
- TestAsk the developer to test with a single record before going live.
- Review regularlyRemove access for systems you no longer use.
Worked example
Sharma Traders' sister company runs an ordering app for retailers. They want orders from the app to arrive in Stockivio and want the app told when an invoice is raised.
- The owner opens API & Webhooks and creates access named 'Retailer app'.
- He gives the details to the app developer privately.
- He adds a webhook to the app's address for invoice events.
- The developer sends one test order; it appears in Stockivio.
- An invoice is raised for Gupta Kirana Store and the app receives the update.
Result: Orders now flow in without retyping, and retailers see their invoices in the app.
💡 Tips
- Create separate access for each connected system, so you can switch one off without breaking the others.
- Check the Audit Log for entries made through the API in the first week.
⚠️ Common mistakes
- Pasting access details in a group chat or email thread. If that happens, remove that access and create a new one.
सवाल
Where is the technical documentation?
On the Stockivio website under Documentation, in the Developers section: Authentication, REST API Reference and Webhooks.
🎬 Video walkthrough (script — recording coming soon)
- Scene 1: Open API & Webhooks.
- Scene 2: Create named API access.
- Scene 3: Add a webhook for invoice events.
- Scene 4: Show a test order arriving.
- Scene 5: Remind viewers to keep credentials secret.