Skip to main content
Glama

Megaventory MCP by usefulapi

Create pending sales order

megaventory_create_sales_order
Destructive

WRITE: create a NEW sales order for an existing client in the PENDING status. A pending order is only a draft document: it is not verified, nothing is shipped, invoiced or paid, and stock is not touched. Verifying, shipping and invoicing happen in Megaventory, not through this server. POST /SalesOrder/SalesOrderUpdate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYesThe order rows.
type_idNoDocument type id of the sales order (default 3, the standard Sales Order type; see megaventory_list_document_types).
commentsNo
client_idYesClient id (megaventory_list_clients_suppliers).
location_idNoInventory location the order is served from (megaventory_list_inventory_locations).
reference_noNoYour own reference number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.