Docs
41075087
2023-06-19T10:19:01Z
2023-06-19T10:20:31Z
77
0
0
259896
Can we change the order status back to Queued from Awaiting Shipment?
Scope
We have set the shipped date wrongly by mistake and now the order status is Awaiting Shipment. Will it be possible to change the status back to Queued so that we can change the Shipped date?
Summary
Unfortunately, it will not be possible to change Order status back to Queued when it is already Awaiting Shipment or other than that. Although there are two ways on how you can manage the Order as a workaround -
If the invoice associated to the Order is belonging to the current billing period then you can void and regenerate the invoice. That will help to cancel the order automatically and create a new one in Queued state
Cancel the current Order and import a new one instead via the Import_an_Order API call.
Solution
If the current order is already in the state of Awaiting Shipment then it will not be possible to change the Shipped Date of the Order or change the Order back to the Queued state.
There are 2 workarounds on how you can change the Shipped date,
If the invoice is already in Paid state so Void option will not be available for the invoice. So to Void and regenerate the invoice please follow the steps below,
Open the invoice and scroll down to the Payments and Credits section below.
Click on the 3 dots option menu available at the Payments and Credits section
Click on Remove and the linked payment will be removed from the invoice and will be stored as excess payment at the customer balance
After that you will get Void option at the right-hand side action panel on the same invoice details page
After voiding the invoice the order will be canceled automatically and then get back to the Subscription of the invoice which is voided.
You will get the Regenerate option at the top of the subscription page, click on it
Choose the Full term and select the Invoice option. Then click on Preview and generate the invoice
Once the new invoice will be regenerated with a new ID, a new Order will be created with a new Order ID.
Now the other process is to cancel the Order and Import another Order with the updated Shipping date with this API call.
While importing the Order you have to pass a new ID and the status in Queued. You need to pass the invoice number and subscription ID in order to link the imported Order.