I am able to get order details by Order ID, but it is giving created_time and updated_time.

Is there anyway to get order complete time?


1 Answer 1


As per I know by default in Magento does not provide the order completed time. created_time change only once during order creation and updated_timechange on every order action (i.e shipment, Invoice, order status change etc) so you can not predict the exact time for order complete.

But you can create one custom attribute to order level as completed_time and you can update this value by using plugin. In this plugin you can get the order state. Just compare the order state, If it is complete then update your custom variable.

For the plugin you can read answer from this link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.