Can I just PUT status: "shipped" on the order?
Moving an order to shipped
Common question, written up by the Supero team.
Linkrev 1
1 answer
Accepted answer
Accepted answer
Call the operation through POST /api/v1/services/execute. That way the state machine checks the transition and anything hooked to it runs. The usual flow is cart.add_to_cart, cart.checkout_cart, order.place_order, then order.fulfill_order. Make status a readonly_field for customer roles as well.
Linkrev 1
Your answer
Know the answer? Sign in to post it. It takes an email address and a 6-digit code.
Sign in to answer