Use Purchasing in MCP
Last updated
If you connect your own AI assistant, such as Claude or ChatGPT, to ChannelDock through the MCP server, it also gets the Purchasing tools once the add-on is on. Your assistant can then read the purchase advice, explain it, change order lines and supplier data, and place orders when you allow that. The tools use the same rules and checks as the Purchasing screens and the API.
Steps
- Connect your assistant. Follow Connect Claude, ChatGPT or another AI assistant with the ChannelDock MCP.
- Decide about placing. If you connect with an API key and want the assistant to place orders, switch on the PLACE scope for Purchasing on that key under Settings > API & webhooks. Without it the assistant can read and change, but never place. See Purchasing API.
- Ask your assistant. For example “which products should I reorder from supplier X?”, “why is the advice for SKU 1234 so high?” or “set the minimum stock of SKU 1234 to 10”.
The Purchasing tools
| Tool | What it does |
|---|---|
query_purchase_advice |
list: products with their advised quantity, free stock, incoming, days of cover, ABC/XYZ class and advice value. explain: why one product gets this quantity, why it is not on a proposed order, and what changed since last night. forecast: the product’s sales forecast per day, week or month. kpis: stock value, on order, overstock and dead stock, service level per class and the number of proposed, draft and placed orders. |
manage_purchase_orders |
list and get proposals, drafts and placed orders. update_lines on a proposed or draft order (up to 50 lines; 0 takes a product off). place an order. |
manage_supplier_products |
list, create (link), update and delete (unlink, kept as never buy) supplier products: price, MOQ, pack size, lead time, supplier SKU and EAN, and which supplier is active. |
manage_supplier_terms |
list, create, update and delete supplier agreements: free shipping, tier discounts, order discounts, shared MOQ or minimum order value, and text agreements. |
manage_planning_settings |
get and update the planning settings per product (minimum and maximum stock, ignore, phase out, service level, fixed forecast and more) and the ordering settings per supplier (lead time, order rhythm, minimum order value, order in lots and more). |
The existing tools such as manage_suppliers, manage_deliveries and manage_inbounds work as before. A placed purchase order is a normal inbound delivery, so those tools see it too. manage_deliveries cannot delete the inbound delivery of a placed purchase order: close or cancel it on the order’s inbound page in Purchasing.
Placing an order
placeneeds arequest_key: your own unique key of 8 to 64 letters, digits,-or_for this order. Sending the same key again returns the first result and never places twice.- Optional:
center_id(a connected fulfilment centre, or 0 for your own warehouse; the default comes from your purchasing settings),expected_dateand your ownnumber. - An order waiting for approval is refused until it is approved. Budgets and approval rules apply as on screen.
- Placing needs the PLACE scope on the key and the user’s own right to place orders.
Good to know
- The tools only appear for seller accounts with the add-on on. During the 90-day read-only period after a stop, only reading works.
- A sub-user’s rights apply: view for reading, edit for changes, place for placing. Everything is checked again on every call.
- Bulk changes take up to 50 records per call.
- Every change through MCP is in the change history with MCP as the source, and the advice is recalculated within minutes.
- The ChannelDock AI chat inside ChannelDock works differently: it proposes changes for you to approve and never places orders. See Ask the purchasing assistant in the AI chat.
- Fulfilment centre accounts do not get the Purchasing tools.
Related articles
Was this helpful?