Returns the order's activity trace (entries[]), the total entry count (totalCount), whether there are more pages (hasMore), and the pagination data (pagination).
Three corrections to what this page's previous example got wrong:
There is no nested details with fromStatus/toStatus. The previous and new status live in the top-level fields previousStatus/newStatus. details (when present) is a free-text string (the options.details you sent on the transition), not an object.
eventType for a status transition is literally the constant string status_change (no trailing "d"), always the same value — it does not vary per action. What distinguishes the action is the action field (e.g. processing, fulfilled, cancelled). Other real eventType values in the catalog: comment (manual comment) and created/updated (order created or edited, e.g. on import from a channel) — there is no order_accepted.
id is optional: order created/updated entries don't always carry it (see the second example above).
Tip
To paginate forward, use pagination.nextOffset as the next offset. When hasMore is false, there are no more entries.
Returns a raw CSV file (Content-Type: text/csv; charset=utf-8), not a JSON envelope. The filename is generated by the handler as orders-export-<today's-date>.csv — it is not configurable via a parameter.
Comma-separated list of column paths to include. Supports nested paths, e.g. customerInfo.email.
localestring
Locale used to format values in the CSV. Default: es.
maxRecordsnumber
Maximum number of records to export. Default: 10000.
startDatestring
ISO start date of the range (inclusive).
endDatestring
ISO end date of the range (inclusive).
orderStatusstring
Filter by order status. Also accepts the status alias. Accepted values: draft, new, accepted, cancelled, rejected, processing, packaging, picking, pickup-pending, in-transit, fulfilled, delivered, returned, partially-fulfilled, partially-delivered, not-delivered, exception.
channelIdsstring
Filter by one or more channels.
metafieldsstring
Additional filter by metafields, in JSON format.
There is no format parameter
This endpoint always returns raw CSV (Content-Type: text/csv), never JSON. There is no format parameter to choose another output — if you send one, it's ignored. columns is required: without it, the API responds with a validation error.
The date range uses startDate / endDate, not from / to
This endpoint reuses the same filter normalizer as GET /orders (see List Orders). The date range is filtered with startDate and endDate — the names from/to don't exist in this API.
Returns the paginated list of orders with overdue settlement, wrapped in data, with pagination in meta.pagination. Each element is the full order (Order), not a 4-field summary — the amount field is totalAmount (not total), same as the rest of the Orders domain.
Grace period in days before a settlement is considered overdue.
channelIdstring
Filter by channel.
startDatestring
ISO start date of the range (inclusive).
endDatestring
ISO end date of the range (inclusive).
Previously undocumented endpoint
This endpoint exists and works in the public API, but had no documentation until this page. Unlike the abandoned carts listing, it follows the domain's standard envelope: { data: [...], meta: { pagination } }.
Returns a raw CSV file (Content-Type: text/csv; charset=utf-8), analogous to GET /orders/export. The filename is generated by the handler as payment-issues-export-<today's-date>.csv.
curl -X POST https://api.fenicia.io/orders/sync \ -H "Authorization: Bearer fkapi_your_api_key"
Returns a 202 Accepted with the number of channels queued (channelCount) and the operation status (status).
Required permission:orders:manage
No body required; the message travels in English
This endpoint doesn't read any field from the body — send {} or no body at all, it makes no difference. The real response carries channelCount (number of channels queued), not channelsQueued, and the message field is literally "Sync initiated" (in English, exactly as the handler returns it) — don't translate it when showing it to your end user without first confirming it's a data value, not an i18n key. It also always includes status: "processing".