The CommitOrderActor is used to commit the order. The path to this actor is: /atg/commerce/order/purchase/CommitOrderActor.

This actor contains the commitOrder actor-chain, which contains the following parameters:

Parameter

Description

allowEmptyOrders

If set to false, will return an error if an order is commited that contains no items.

salesChannel

The sales channel used to submit the order. The values are “Web”, “Call Center” or Scheduled Orders”, and are defined in the Order repository.

siteId

The ID of the site to be recorded in the order.

Commit Order Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json"
"http://localhost:8280/rest/model/atg/commerce/order/purchase/CommitOrderActor/
commitOrder"

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices