To create/delete route, use command: order/route_update: It used to check notification triggers.
svc=order/route_update¶ms={ "itemId":<long>, "orders":\[\], "routeId":<long>, "callMode":<text>}
Parameters
Param | Description |
---|---|
itemId | resource ID |
orders | array JSON orders and “callmode” for every each order |
routeId | route ID |
callMode | action: create, delete |
Result is similar to batch of order/update.
Response
{}