API reference

Base URL: https://api.abbaycrm.com/v1. Every endpoint needs the x-api-key header (see Authentication), except the public web form.

OpenAPI 3.1: download openapi.json. Import it into Postman or Insomnia, or generate a client with openapi-generator.

Platform API#

MethodPathScopePurpose
GET/integrations/meanyThe key's platform and scopes
POST/integrations/customerscustomers.writeCreate or update a customer
GET/integrations/customerscustomers.readList or look up customers
GET/integrations/customers/{id}customers.readOne customer by CRM id
POST/integrations/customers/batchcustomers.writeUp to 500 customers at once
POST/integrations/ordersorders.writeCreate or update an order
POST/integrations/orders/batchorders.writeUp to 500 orders at once
GET/integrations/ordersorders.readList or look up orders
GET/integrations/orders/{id}orders.readOne order by CRM id
POST/integrations/leadsleads.writeSend a lead
POST/capture/web-form/{formKey}publicLanding-page form

List parameters#

ParameterCustomersOrdersNotes
updatedSince✓✓ISO 8601; items changed at or after
cursor✓✓nextCursor from the previous page
limit✓✓1–200, default 50
externalId✓✓Id on a platform; your key's platform unless platform is given
platform✓✓Customers: has an id on that platform. Orders: belongs to that platform (crm = staff entry)
email, phone✓Exact match; phone in any format
customerId✓CRM customer id
status, paymentStatus, deliveryStatus✓See Orders

Every list answers { "data": [...], "hasMore": boolean, "nextCursor": string | null }.

Webhook events#

customer.created, customer.updated, order.created, order.updated, ping. See Webhooks.

Enumerations#

FieldValues
paymentStatuspending, partial, paid, failed, refunded
deliveryStatuspending, dispatched, delivered, returned
statusplaced, confirmed, completed, cancelled
origin.via (webhooks)api, pull, form, user, system

Support#

Problems with a delivery? Ask a CRM admin to open Settings → Integrations → Event log. It shows every payload the CRM received and what came of it, and failed items can be retried there once fixed.