The Fenicia Orders API lets merchants manage the full order lifecycle: from manual creation to fulfillment and shipping, including marketplace integrations.
Each order transitions through a canonical set of states:
pending → accepted → preparing → shipped → delivered
↘ cancelledStatuses are grouped for dashboard visualization:
| Group | Included statuses |
|---|---|
pending_action | pending |
in_progress | accepted, preparing, shipped |
completed | delivered |
cancelled | cancelled, refunded |
All endpoints are automatically isolated by tenantId (inferred from your API key). You will never see another merchant's data.
All API responses follow a consistent format:
List success:
{
"orders": [ /* ... */ ],
"pagination": {
"page": 0,
"limit": 20,
"total": 142,
"hasMore": true
}
}Single resource success:
{
"order": { /* ... */ },
"_links": {
"self": { "href": "/orders/ord_123" },
"cancel": { "href": "/orders/ord_123/cancel" }
}
}Error:
{
"error": {
"code": "ORDER_NOT_FOUND",
"message": "Order not found",
"details": { "orderId": "ord_123" }
}
}Advertencia
Rate limit: 100 requests per 60 seconds per IP. Exceeding this returns 429 Too Many Requests.
curl -X GET 'https://api.fenicia.io/orders?limit=10' \
-H 'Authorization: Bearer fn_live_xxxxxxxxxxxx'