Skip to main content

Appendix: Order Status Data Type

The order status data type is used to track an order at the courier service and contains the code of the order's current delivery status, its plain-language explanation, a delivered flag, and the actual delivery date, filled in based on the delivered flag. This data type is used in the order creation, order status change, and status history methods.

Order Status​

ParameterData typeRequiredDescriptionComment
deliveryServiceCodestring1Courier service codeAgreed upon during system integration
actualStatusstring1Order status at the time of transmission, as a codeFilled in per the Order Status Directory
statusCommentstring1Human-readable status explanationFilled in per the Order Status Directory
statusAssignmentDatestring1Timestamp of the status assignment in the courier service's ISPer "ISO 8601," UTC00 (YYYY-MM-DDThh:mm:ssZ)
hasBeenDeliveredbool1Order-delivered flagFill-in rule: set "true" if the order has been delivered or handed to the customer. When passing "true," the actualDeliveryDate field must be filled in. Otherwise "false."
actualDeliveryDatestring0Timestamp of the actual delivery timePer "ISO 8601," UTC00 (YYYY-MM-DDThh:mm:ssZ). Not set if the order was not handed to the customer; assigned and set at the moment it is handed to the customer.