Get Order Status
Get the current order status, fulfillment status, tracking information, and COD payout information for an order.
Endpoint
POST https://wms.fulfillio.si/api/v1/status
Content-Type: application/json
Request
{
"apiKey": "YOUR_API_KEY",
"orderId": 1042
}
Fields
| Field | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | Your secret API key generated in the Fulfillio app |
orderId | number | Yes | Fulfillio order ID returned by order creation |
Code Examples
Node.js (fetch)
const response = await fetch("https://wms.fulfillio.si/api/v1/status", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
apiKey: process.env.FULFILLIO_API_KEY,
orderId: 1042,
}),
})
const data = await response.json()
console.log(data)
Python (requests)
import requests
import os
payload = {
"apiKey": os.environ["FULFILLIO_API_KEY"],
"orderId": 1042,
}
response = requests.post(
"https://wms.fulfillio.si/api/v1/status",
json=payload,
)
print(response.json())
PHP (cURL)
<?php
$payload = json_encode([
"apiKey" => getenv("FULFILLIO_API_KEY"),
"orderId" => 1042,
]);
$ch = curl_init("https://wms.fulfillio.si/api/v1/status");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Content-Type: application/json"]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Response
Success - 200 OK
{
"orderId": 1042,
"orderStatus": "transit",
"orderStatusChangedAt": "2026-05-03T08:15:30.000Z",
"fulfillmentStatus": "shipped",
"fulfillmentStatusChangedAt": "2026-05-02T14:21:10.000Z",
"trackingNumber": "123456789",
"trackingLink": "https://tracking.packeta.com/en_GB/?id=123456789",
"cod": {
"status": "received",
"receivedAt": "2026-05-03T09:45:00.000Z",
"settledAt": null,
"amountReceived": 550,
"amountExpected": 550,
"currency": "HUF"
}
}
| Field | Type | Description |
|---|---|---|
orderId | number | Fulfillio order ID |
orderStatus | OrderStatus | Current order status |
orderStatusChangedAt | string | Timestamp of the latest visible order status change in ISO 8601 UTC format |
fulfillmentStatus | FulfillmentStatus or null | Current fulfillment status, if a fulfillment exists |
fulfillmentStatusChangedAt | string or null | Timestamp of the fulfillment status change in ISO 8601 UTC format |
trackingNumber | string or null | Latest tracking number, if available |
trackingLink | string or null | Courier tracking link, if available |
cod | COD Object or null | COD payout information. Returned as null for non-COD orders |
COD Object
| Field | Type | Description |
|---|---|---|
status | CodPayoutStatus or null | COD payout status, if a payout exists |
receivedAt | string or null | Date when the COD payout was received in ISO 8601 UTC format |
settledAt | string or null | Date when the COD payout was settled in ISO 8601 UTC format |
amountReceived | number or null | Received COD amount, if available |
amountExpected | number or null | Expected COD amount, if available |
currency | string | COD payout currency |
Non-COD Order Example
{
"orderId": 1043,
"orderStatus": "confirmed",
"orderStatusChangedAt": "2026-05-03T08:15:30.000Z",
"fulfillmentStatus": "new",
"fulfillmentStatusChangedAt": "2026-05-03T08:15:31.000Z",
"trackingNumber": "123456789",
"trackingLink": "https://tracking.packeta.com/en_GB/?id=123456789",
"cod": null
}
COD Order Example
{
"orderId": 1044,
"orderStatus": "delivered",
"orderStatusChangedAt": "2026-05-04T11:20:00.000Z",
"fulfillmentStatus": "shipped",
"fulfillmentStatusChangedAt": "2026-05-02T14:21:10.000Z",
"trackingNumber": "123456789",
"trackingLink": "https://tracking.packeta.com/en_GB/?id=123456789",
"cod": {
"status": "settled",
"receivedAt": "2026-05-03T09:45:00.000Z",
"settledAt": "2026-05-04T10:00:00.000Z",
"amountReceived": 550,
"amountExpected": 550,
"currency": "HUF"
}
}
Validation error - 400 Bad Request
Returned when required fields are missing or invalid:
{
"message": "Bad request",
"issues": [
{
"code": "too_small",
"path": ["orderId"],
"message": "Order ID must be positive"
}
]
}
Invalid API key - 401 Unauthorized
{ "message": "Unauthorized" }
Order not found - 404 Not Found
{ "message": "Order not found" }
Notes
- Date fields are returned as ISO 8601 UTC timestamps.
fulfillmentStatusand tracking fields can benullbefore the order is confirmed or shipped. See Status Reference.- Pick-up orders are not shipped by courier, so they do not receive courier tracking data.
- For COD orders,
cod.statuscan benullbefore the payout is created.