Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

create_customer

Add new customers to Shopmonkey by entering their contact details and address information for shop management.

Instructions

Create a new customer in Shopmonkey.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
firstNameNoCustomer first name
lastNameNoCustomer last name
emailNoCustomer email address
phoneNoCustomer phone number
addressNoStreet address
cityNoCity
stateNoState
zipNoZIP code

Implementation Reference

  • The handler function that executes the POST request to create a customer.
    async create_customer(args) {
      const body = pickFields(args, ALLOWED_FIELDS);
      const data = await shopmonkeyRequest<Customer>('POST', '/customer', body);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • Definition and input schema for the create_customer tool.
    name: 'create_customer',
    description: 'Create a new customer in Shopmonkey.',
    inputSchema: {
      type: 'object' as const,
      properties: {
        firstName: { type: 'string', description: 'Customer first name' },
        lastName: { type: 'string', description: 'Customer last name' },
        email: { type: 'string', description: 'Customer email address' },
        phone: { type: 'string', description: 'Customer phone number' },
        address: { type: 'string', description: 'Street address' },
        city: { type: 'string', description: 'City' },
        state: { type: 'string', description: 'State' },
        zip: { type: 'string', description: 'ZIP code' },
      },
    },

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