Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

update_order

Modify existing work orders by updating status, customer, or vehicle information in the Shopmonkey system.

Instructions

Update fields on an existing work order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe work order ID to update
statusNoNew order status
customerIdNoNew customer ID
vehicleIdNoNew vehicle ID

Implementation Reference

  • Handler function for update_order tool.
    async update_order(args) {
      if (!args.id) return { content: [{ type: 'text', text: 'Error: id is required' }], isError: true };
      const body = pickFields(args, UPDATE_FIELDS);
      const data = await shopmonkeyRequest<Order>('PATCH', `/order/${sanitizePathParam(String(args.id))}`, body);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • Definition of update_order tool including schema.
    {
      name: 'update_order',
      description: 'Update fields on an existing work order.',
      inputSchema: {
        type: 'object' as const,
        properties: {
          id: { type: 'string', description: 'The work order ID to update' },
          status: { type: 'string', description: 'New order status' },
          customerId: { type: 'string', description: 'New customer ID' },
          vehicleId: { type: 'string', description: 'New vehicle ID' },
        },
        required: ['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/AbbottDevelopments/shopmonkey-mcp-server'

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