Factuarea APIDevelopers

sales_order_not_editable

The order already left the state that admits changes: once it is confirmed, being picked, served, invoiced or cancelled, neither its header nor its lines can be edited.

CodeTypeHTTPCategory
sales_order_not_editableinvalid_request_error422Sales Orders

Cause

The order already left the state that admits changes: once it is confirmed, being picked, served, invoiced or cancelled, neither its header nor its lines can be edited.

What to do

Read the order status before editing: only a draft order accepts changes. On an order already under way, cancel what is still pending or issue a new order instead of rewriting this one.

On this page

Need a hand?Contact support