0

How can I reopen a closed order through REST API or programmatically to enable the shipping option again on the order? I have tried changing order status to new and processing still no result. Any other way how can I do so?

1

try this PUT /V1/orders/create

'entity' => [
                'entity_id'=> 1,
                'increment_id' => '000000015',
                'status'=> 'pending',
]
6
  • The order status gets changed but it is still closed. Sep 5 '18 at 8:58
  • what does that mean, is it changed to pending or not?
    – John
    Sep 5 '18 at 9:00
  • yes status is changed to pending but the order is still 'close' in admin panel Sep 5 '18 at 9:37
  • 1
    it might be because, you may have already generate an invoice for that order,
    – John
    Sep 5 '18 at 9:44
  • 1
    If you have credit memo for the orders then it might not be possible with api's to reopen them, the only way left is either to do it programmatically or by making changes in sales order tables. Also, making changes in tables is not recommended.
    – John
    Sep 6 '18 at 5:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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