Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

update_appointment

Modify or reschedule existing appointments in Shopmonkey by updating details like date, time, customer information, and work order links.

Instructions

Update or reschedule an existing appointment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe appointment ID to update
customerIdNoCustomer ID for the appointment
vehicleIdNoVehicle ID for the appointment
orderIdNoWork order ID to link to
startDateNoNew start date/time (ISO 8601 format)
endDateNoNew end date/time (ISO 8601 format)
titleNoAppointment title or summary
notesNoAdditional notes

Implementation Reference

  • Handler function for 'update_appointment' which sends a PATCH request to the shopmonkey API.
    async update_appointment(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<Appointment>('PATCH', `/appointment/${sanitizePathParam(String(args.id))}`, body);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • Input schema definition for the 'update_appointment' tool.
    {
      name: 'update_appointment',
      description: 'Update or reschedule an existing appointment.',
      inputSchema: {
        type: 'object' as const,
        properties: {
          id: { type: 'string', description: 'The appointment ID to update' },
          customerId: { type: 'string', description: 'Customer ID for the appointment' },
          vehicleId: { type: 'string', description: 'Vehicle ID for the appointment' },
          orderId: { type: 'string', description: 'Work order ID to link to' },
          startDate: { type: 'string', description: 'New start date/time (ISO 8601 format)' },
          endDate: { type: 'string', description: 'New end date/time (ISO 8601 format)' },
          title: { type: 'string', description: 'Appointment title or summary' },
          notes: { type: 'string', description: 'Additional notes' },
        },
        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