The DuplicateOrderActor
allows you to duplicate an existing order. When you duplicate the order, you can duplicate the ticket disposition of the order. For additional information on working with ticket dispositions, refer to the Working with Ticket Disposition Warnings and Messages section. This actor is located at /atg/commerce/custsvc/order/DuplicateOrderActor
.
This actor uses the duplicateOrder
actor-chain, which contains the following parameters:
Parameter | Description |
---|---|
| The ID of the scheduled order or scheduled order item. |
| If set to |
| If set to |
| If |
| If |
| If |
| If |
Duplicate an Order Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{ \"orderToDuplicate\":\"xco30012\", \"doWarnings\":false, \"doTicketDispositionPrompt\":true, "dispositionOption":\"save\" }" "http://localhost:8080/rest/model/atg/commerce/custsvc/order/DuplicateOrderActor/ duplicateOrder"