CancelOrderErrorCode
An enumeration value representing the current status of the order.
This is deprecated and will be removed in the future. You should not use it in new code.
Valid values
ORDER_ALREADY_SHIPPED
The order cannot be cancelled as it has already been shipped
ORDER_SHIPPING_IN_PROGRESS
The order cannot be cancelled as it is currently being shipped
CANCEL_WINDOW_EXPIRED
The window for cancelling the order has expired
REQUEST_MANUAL_CANCELLATION
A manual cancellation request is required
NOT_SUPPORTED
The order cancellation is not supported
ORDER_NOT_FOUND
The order was not found
UNAUTHORIZED
The dev does not have permission to cancel order
ORDER_ALREADY_CANCELLED
The order has already been cancelled
CANCELLATION_IN_PROGRESS
The order cancellation is already in progress
Related types
Was this page helpful?