Skip to main content
Glama

whmcs_pending_order

Change order status to pending in WHMCS by specifying the order ID. This tool helps manage order processing workflows in your WHMCS installation.

Instructions

Set an order status to pending

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderidYesOrder ID

Implementation Reference

  • src/index.ts:851-865 (registration)
    Registration of the 'whmcs_pending_order' MCP tool, including input schema definition (orderid: number), title, description, and thin handler wrapper that delegates to whmcsClient.pendingOrder
    'whmcs_pending_order', { title: 'Set Order to Pending', description: 'Set an order status to pending', inputSchema: { orderid: z.number().describe('Order ID'), }, }, async (params) => { const result = await whmcsClient.pendingOrder(params); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }], }; } );
  • Core handler implementation for setting an order to pending status. Calls the WHMCS API action 'PendingOrder' with the provided orderid via the generic call method.
    async pendingOrder(params: { orderid: number }) { return this.call<WhmcsApiResponse>('PendingOrder', params); }
  • Zod input schema validation for the tool: requires 'orderid' as a number.
    inputSchema: { orderid: z.number().describe('Order ID'), },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scarecr0w12/whmcs-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server