Change the status of one specific sales order to "fulfilled".

To change a sales document's status or any other properties, you can also use the more general API call, saveSalesDocument. The point of "setSalesOrderAsFulfilled" is that it does not require the user to have the permission to modify sales orders.

Updating a sales order's status to "fulfilled" is commonly one part of a point-of-sale transaction, but store manager may not want to give the cashiers the full authority to edit all sales orders. The point-of-sale application, however, does not need to do nothing else with the order — it just needs to update its status to "fulfilled". Therefore, we have exposed this operation as a separate API call.

This API call returns error code 1011 if the supplied ID does not belong to a sales order.

Input parameters

Parameter name Description Possible value Required
orderID Sales order ID. Integer yes