Skip to main content

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​

FieldTypeRequiredDescription
apiKeystringYesYour secret API key generated in the Fulfillio app
orderIdnumberYesFulfillio 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"
}
}
FieldTypeDescription
orderIdnumberFulfillio order ID
orderStatusOrderStatusCurrent order status
orderStatusChangedAtstringTimestamp of the latest visible order status change in ISO 8601 UTC format
fulfillmentStatusFulfillmentStatus or nullCurrent fulfillment status, if a fulfillment exists
fulfillmentStatusChangedAtstring or nullTimestamp of the fulfillment status change in ISO 8601 UTC format
trackingNumberstring or nullLatest tracking number, if available
trackingLinkstring or nullCourier tracking link, if available
codCOD Object or nullCOD payout information. Returned as null for non-COD orders

COD Object​

FieldTypeDescription
statusCodPayoutStatus or nullCOD payout status, if a payout exists
receivedAtstring or nullDate when the COD payout was received in ISO 8601 UTC format
settledAtstring or nullDate when the COD payout was settled in ISO 8601 UTC format
amountReceivednumber or nullReceived COD amount, if available
amountExpectednumber or nullExpected COD amount, if available
currencystringCOD 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.
  • fulfillmentStatus and tracking fields can be null before 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.status can be null before the payout is created.