online-help.platform.features.premier_subscription.connectors.inbound-rest-api.endpoints.salesorder.title
Update Sales Order Custom Status
Overview
Updates the custom status of a Sales Order in MobiWork
URL Format
https://{domain}.mobiwork.com/api/rest/{clientId}/{versionNumber}/salesOrder/{salesOrderId}/updateStatus.html?token=XXXXXXXX&userId={userId}
Arguments
clientId
required
MobiWork assigned unique ID of the company
versionNumber
required
Version number of MobiWork API SDK release. Current version is: 10.0.78
token
required
Part of URL as a request parameter and is required in every call to verify access to API calls
salesOrderId
optional
The identifier of the sales order to be updated
userId
optional
If provided, this User ID will be taken as a logged in user. If not provided we use an active global administrator ID
Body
<statusName> </statusName>
List of Statuses
Below is a list of valid Sales Order statuses:

OPEN_SHOPPING_CART,
CHECKOUT_SUBMITTED,
COMPLETED,
ORDER_FAILED,
ORDER_WAITING_TO_BE_DELIVERED,
ORDER_DELIVERED,
THIRDPARTY_COMMUNICATION_FAILED,
CANCELLED,
WAITING_FOR_STOCK,
WAITING_FOR_DELIVERY