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#
| Method | Path | Scope | Purpose |
|---|---|---|---|
GET | /integrations/me | any | The key's platform and scopes |
POST | /integrations/customers | customers.write | Create or update a customer |
GET | /integrations/customers | customers.read | List or look up customers |
GET | /integrations/customers/{id} | customers.read | One customer by CRM id |
POST | /integrations/customers/batch | customers.write | Up to 500 customers at once |
POST | /integrations/orders | orders.write | Create or update an order |
POST | /integrations/orders/batch | orders.write | Up to 500 orders at once |
GET | /integrations/orders | orders.read | List or look up orders |
GET | /integrations/orders/{id} | orders.read | One order by CRM id |
POST | /integrations/leads | leads.write | Send a lead |
POST | /capture/web-form/{formKey} | public | Landing-page form |
List parameters#
| Parameter | Customers | Orders | Notes |
|---|---|---|---|
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#
| Field | Values |
|---|---|
paymentStatus | pending, partial, paid, failed, refunded |
deliveryStatus | pending, dispatched, delivered, returned |
status | placed, 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.