For Agents
Manage Megaventory products, stock levels, sales orders, purchase orders, and suppliers so an agent can run the order-to-fulfilment loop programmatically.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Megaventory API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Megaventory API.
Read product details, stock-on-hand, and batch numbers across inventory locations
Update product master records including SKU, name, and tax category
Create or update sales orders with line items, customer, and warehouse
GET STARTED
Use for: Get the current stock for a product across all warehouses, Create a sales order for a customer with three line items, Update a product's selling price in Megaventory, Cancel an open purchase order with a supplier
Not supported: Does not handle payment processing, shipping label generation, or accounting general ledger — use for inventory, sales orders, purchase orders, and supplier and client records only.
Jentic publishes the only available OpenAPI specification for Megaventory API, keeping it validated and agent-ready. Megaventory is a cloud ERP for SMBs covering inventory, order management, light manufacturing, and reporting. The API exposes 31 endpoints across products, sales orders, purchase orders, suppliers and clients, inventory locations, stock levels, documents, and product bundles. Use it to keep stock counts in sync between Megaventory and a storefront, push purchase orders generated by an agent, or build a unified inventory view across multiple warehouses.
Create or update purchase orders against suppliers with expected receive dates
Adjust inventory location stock by moving units between warehouses
Manage supplier and client records used by sales and purchase orders
Bundle products together as kit SKUs that automatically decrement components on sale
Patterns agents use Megaventory API for, with concrete tasks.
★ Storefront-to-ERP Stock Sync
Keep Megaventory's stock-on-hand in lockstep with a Shopify or WooCommerce storefront so the website never sells units that have already left the warehouse. The /InventoryLocationStock/ProductStockUpdate and /Product/ProductGet endpoints support a periodic two-way sync, and webhooks from the storefront can drive real-time decrements. Operations teams use this to prevent oversells without relying on a third-party middleware.
On every storefront order webhook, call ProductStockUpdate to decrement the corresponding Megaventory product stock at the fulfilment location.
Purchase-Order Automation
Generate purchase orders automatically when stock falls below reorder point, including line items priced at the supplier's last-known cost. The /PurchaseOrder/PurchaseOrderUpdate endpoint accepts a full PO payload, and ProductGet provides the inputs needed to build the lines. Procurement teams use this to remove the manual reorder spreadsheet step.
List products with stock below reorder_point, build a purchase order per supplier with the appropriate line items, and call PurchaseOrderUpdate to create each PO.
Multi-Warehouse Inventory Reporting
Build a single dashboard showing per-warehouse stock and pending sales orders by combining /InventoryLocation/InventoryLocationGet, /InventoryLocationStock/InventoryLocationStockGet, and /SalesOrder/SalesOrderGet. This gives operations a real-time view of where to fulfil from and which warehouses are over- or understocked. It replaces the nightly export-to-spreadsheet workflow that ERP-native dashboards usually require.
Pull all inventory locations and their stock levels along with open sales orders per warehouse, then render a per-location summary.
Agent-Driven Order Intake
Hand a sales-ops agent the ability to capture an order from a chat or email and create it in Megaventory with the right customer, products, and warehouse. Through Jentic the agent searches by intent, loads the SalesOrderUpdate schema, and submits a structured payload — Megaventory returns the order id ready to track. This collapses copy-paste order entry into an autonomous step.
Given a customer email and a list of SKUs and quantities, look up the matching SupplierClient and Products, then call SalesOrderUpdate to create a sales order at the default warehouse.
31 endpoints — jentic publishes the only available openapi specification for megaventory api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/Product/ProductGet
Read product master records
/Product/ProductUpdate
Create or update a product
/SalesOrder/SalesOrderUpdate
Create or update a sales order
/PurchaseOrder/PurchaseOrderUpdate
Create or update a purchase order
/InventoryLocationStock/ProductStockUpdate
Adjust stock for a product at a location
/InventoryLocationStock/InventoryLocationStockGet
Read stock at an inventory location
/SupplierClient/SupplierClientUpdate
Create or update a supplier or client record
/Product/ProductBundleUpdate
Create or update a product bundle
/Product/ProductGet
Read product master records
/Product/ProductUpdate
Create or update a product
/SalesOrder/SalesOrderUpdate
Create or update a sales order
/PurchaseOrder/PurchaseOrderUpdate
Create or update a purchase order
/InventoryLocationStock/ProductStockUpdate
Adjust stock for a product at a location
Three things that make agents converge on Jentic-routed access.
Credential isolation
Megaventory APIKEY values are stored encrypted in the Jentic vault and injected as the APIKEY parameter at execution time. The agent never holds the raw key.
Intent-based discovery
Agents search by intent (e.g. 'create a Megaventory sales order') and Jentic returns the matching operation along with the schema for line items, customer code, and warehouse references.
Time to first call
Direct Megaventory integration: 2-3 days handling the verbose XML-style request shapes and idempotency for stock updates. Through Jentic: under 1 hour — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
Stripe API
Stripe handles payment for orders that Megaventory tracks for fulfilment.
Use Stripe alongside Megaventory when payments must clear before a sales order is moved to picking.
Specific to using Megaventory API through Jentic.
Why is there no official OpenAPI spec for Megaventory API?
Megaventory does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Megaventory API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the Megaventory API use?
Megaventory uses an APIKEY parameter sent in the request body or query string. Through Jentic the key is stored encrypted in the vault and injected at execution time, so the agent never sees the raw value.
Can I update stock levels through the Megaventory API?
Yes. /InventoryLocationStock/ProductStockUpdate adjusts on-hand quantities for a product at a chosen inventory location, and /InventoryLocationStock/InventoryLocationStockUpdate handles bulk location-level updates.
What are the rate limits for the Megaventory API?
Megaventory does not document a hard numeric limit. In practice, batch product and stock updates rather than calling per-row, and back off on 429 or service-busy responses before retrying through Jentic.
How do I create a sales order through Jentic?
Search Jentic for create a Megaventory sales order, load the schema for /SalesOrder/SalesOrderUpdate, and execute with the customer code, line items, and inventory location. Jentic returns the sales order id which you can read back via /SalesOrder/SalesOrderGet.
Can I bundle products together as a kit?
Yes. The /Product/ProductBundleUpdate endpoint defines a bundle SKU whose components are tracked individually, so selling the bundle decrements the stock of each component product automatically.
/InventoryLocationStock/InventoryLocationStockGet
Read stock at an inventory location
/SupplierClient/SupplierClientUpdate
Create or update a supplier or client record
/Product/ProductBundleUpdate
Create or update a product bundle