The DeactivateScheduleActor is used to deactivate a scheduled order and terminate its schedule. This actor is located at /atg/commerce/custsvc/order/scheduled/.
DeactivateScheduleActor
This actor uses the deactivateSchedule actor-chain to identify and activate both the scheduled order and its template.
Parameter | Description |
|---|---|
| The ID of the scheduled order to deactivate. |
| The ID of the template order with which the scheduled order is associated. |
Deactivate 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/
DeactivateScheduleActor/deactivateSchedule"
