cancel
Showing results for 
Search instead for 
Did you mean: 

Call order ship api for an order but it marks the order as closed not complete

Call order ship api for an order but it marks the order as closed not complete

Calling the api endpoint /V1/order/{orderId}/ship 

for magento v 2.3

The shipping information is updated against the order but the order status is changed to closed, which should be for a canceled or refunded order.

It should be marking the order status/state as complete?

1 REPLY 1

Re: Call order ship api for an order but it marks the order as closed not complete

Hello @nwoodcontr9d68 ,

 

I think you should check code in the file path of the endpoint which you disclosed in your comment.

 

There should be a hard code or admin configuration. 

 

If there is no configuration and hard code in that file then there should be an observer file ( event ) or any plugin from where order status changing.

 

If this answer helps you then click on Kudos.
and click on Accept as Solution

 

Thank you

Hiren Patel