Skip to main content
Glama

Megaventory MCP by usefulapi

Create pending purchase order

megaventory_create_purchase_order
Destructive

WRITE: create a NEW purchase order to an existing supplier in the PENDING status. A pending order is only a draft document: it is not verified or sent, nothing is received, invoiced or paid, and stock is not touched. Verifying and receiving happen in Megaventory, not through this server. POST /PurchaseOrder/PurchaseOrderUpdate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYesThe order rows.
type_idNoDocument type id of the purchase order (default 4, the standard Purchase Order type; see megaventory_list_document_types).
commentsNo
location_idNoInventory location the goods are received into (megaventory_list_inventory_locations).
supplier_idYesSupplier id (megaventory_list_clients_suppliers).
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.