Factuarea APIDevelopers

sales_order_serving_groups_invalid

Serving a sales order from several warehouses received an invalid group: no groups, an empty group, a warehouse repeated in two groups or a line that does not belong to the order. A single delivery note whose selected lines leave from different warehouses is rejected the same way, with `param` `lines`.

CodeTypeHTTPCategory
sales_order_serving_groups_invalidinvalid_request_error422Sales Orders

Cause

Serving a sales order from several warehouses received an invalid group: no groups, an empty group, a warehouse repeated in two groups or a line that does not belong to the order. A single delivery note whose selected lines leave from different warehouses is rejected the same way, with param lines.

What to do

Send one group per warehouse with at least one line of the order; param names the group (groups.N) and details.group_index its position. For a single delivery note, select lines of one warehouse or serve the order from several warehouses.

On this page

Need a hand?Contact support