Skip to main content
Glama
veterinar

retailcrm-mcp

by veterinar

create_order

Create a RetailCRM order with line items and delivery, linking an existing customer or creating one inline. Returns order ID and details.

Instructions

Create an order with line items and delivery. Link an existing customer via customer_id/customer_external_id, or pass first_name (+phone/email) to create one inline. Returns {success, id, order?}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNoSite (store) symbolic code. Required on create/edit when the API key is scoped to multiple sites (see list_sites).
emailNoCustomer email
itemsYesOrder items (at least one required)
phoneNoCustomer phone number
statusNoInitial order status code (e.g. 'new')
last_nameNoCustomer last name
first_nameNoCustomer first name (omit only when linking by customer_id/customer_external_id)
order_typeNoOrder type codeeshop-individual
customer_idNoLink the order to an EXISTING customer by RetailCRM ID (mutually exclusive with inline name/phone/email)
delivery_codeNoDelivery type code
delivery_costNoDelivery cost
delivery_addressNoDelivery address as free text
customer_external_idNoLink the order to an EXISTING customer by externalId

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/veterinar/retailcrm-mcp'

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