The ActivateScheduleActor
is used to activate a scheduled order and initiate its schedule. This actor is located at /atg/commerce/custsvc/order/scheduled/
.
activateScheduleActor
This actor uses the activateSchedule
actor-chain to identify and activate both the scheduled order and its template.
Parameter | Description |
---|---|
| The ID of the scheduled order to activate. |
| The ID of the template order with which the scheduled order is associated. |
Activate Scheduled Order Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{ \"orderId\":\"o100008\", \"scheduledOrderId\" : \"sco100002\"}" "http://localhost:8181/rest/model/atg/commerce/custsvc/order/scheduled/ ActivateScheduleActor/activateSchedule"