What the API gives you
Design-first, versioned and documented — not a private endpoint we opened by accident.
| Base URL | https://erp.ecomfulfill.com/erp/api/v1 |
|---|---|
| Authentication | Bearer key (efk_…), limited to the shops you grant and optionally to an IP allowlist |
| Surface | 133 endpoints across 14 resource groups, versioned at v1 |
| Pagination | Cursor only — no offsets, so paging stays stable while records change |
| Writes | Idempotency-Key on every write; a replay within 24 hours returns the original response |
| Errors | RFC 9457 problem+json, where detail tells you what to do next |
| Rate limits | Per-key tiers for lookup, list, write and bulk; list is throttled before write |
| Events | HMAC-signed webhooks with retries, plus an ordered change feed kept for 30 days |
One order, three calls
The parts that usually go wrong in a 3PL integration — duplicate orders, address changes, accidental dispatch — are part of the protocol.
- 1
Create an order
Send your own reference. A repeat with the same key and body returns the original 201 instead of a second order.
POST /orders Authorization: Bearer efk_live_… Idempotency-Key: 3f9c-2026-11-25 { "external_ref": "SHOPIFY-1042", "shop_id": "shop_1101", "lines": [{ "sku": "DEMO-TSHIRT-BLK", "quantity": 1 }] } → 201 Created - 2
Ask what needs a human
Orders carry their reasons and the actions currently blocked, so your side can surface the right task instead of guessing.
GET /orders/attention → 200 OK { "orders": [{ "order_number": "ORD-88213", "attention_reasons": ["PLATFORM_ADDRESS_CHANGED"], "blocked_actions": [{ "action": "DISPATCH", "code": "ADDRESS_INCOMPLETE" }] }] } - 3
Dispatch in two phases
The first call is a dry run that returns a confirmation token. Nothing is booked with the carrier until you send that token back.
POST /orders/dispatch { "dry_run": true, "order_ids": ["ord_881"] } → 200 { "confirmation_token": "cfm_…", "would_skip": [] } POST /orders/dispatch { "confirmation_token": "cfm_…", "order_ids": ["ord_881"] } → 202 Accepted
An agent can work the queue
The MCP server is generated from the same specification: one tool per operation, with task-shaped names. Module gating keeps a narrow agent narrow.
EndpointPOST /erp/api/mcp
find_orders_needing_attentionrelease_held_orderrecord_tracking_numbermark_orders_shippedcreate_picking_listplan_purchases_from_low_stock
Every tool call is an ordinary API request as your key — scopes, rate limits, idempotency, tenancy and the access log all apply.
Build against a warehouse that tells you the truth
Tell us your stack and the volume you expect; we will send a key and the docs.
