The CommitOrderActor
saves or persists an order. It is located in: /atg/commerce/custsvc/
.
order/CommitOrderActor
The CommitOrderActor
has the following actor-chains:
Actor-Chain | Description |
---|---|
| Saves the order.. |
| Commits the order. |
| Sends a confirmation message to an e-mail address. For information on this actor-chain, refer to the Working with Scheduled Orders section. |
| Validates a scheduled order template order. For information on this actor-chain, refer to the Working with Scheduled Orders section. |
The persistOrder
actor-chain saves the order
Parameters: None:
Save or Persist Order Example
curl -x 127.0.0.1:8888 -L -v -b agent_cookies.txt -H "Content-Type: application/json" "http://localhost:8280/rest/model/atg/commerce/custsvc/ order/CommitOrderActor/persistOrder"
The commitOrder
actor-chain commits an order and contains the following parameters:
Parameter | Description |
---|---|
| This parameter allows you to commit empty orders. |
| Identifies the sales channel used for this order. |
| Identifies the site ID used for this order. |
| Allows you to create a template from this submitted order. Used for Scheduled Orders. Refer to the Working with Scheduled Orders section. |
Commit Customer’s Order Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" "http://localhost:8280/rest/model/atg/commerce/custsvc/order/CommitOrderActor/ commitOrder"