Managing order groups
An order group is a groups of orders that are all placed at the same time, so that if one order fails then no orders will be placed. Only one initial invoice is raised containing the charges for all of the orders. You can also generate a quote for the initial invoice of an order group.
The following methods manage order groups:
- createOrderGroup() creates a new order group with the initial order provided.
- addOrderToGroup() adds an order to an order group.
- placeOrderGroup() submits all orders in a order group, and may pay the initial invoice.
- getOrderGroup() returns an order group.
- cancelOrderGroup() permanently cancels all orders in an order group.
- cancelOrder() cancels an order and removes it from the group.
- getOrderGroupQuote() retrieves a quote for an order group.