added delete_order api functionality