Capture order (partial)
This request will capture the the order lines included in the request body. totalCaptureAmount must be a valid sum of the order lines totalAmount. Sending the id property of an order line is optional, if it is included it will result in the removal of the order line from the uncaptured state. In the scenario where you would like to capture only a quantity subset of an order line, for instance 1 out of 3 existing Samsung phones; you should exclude the id property from that line in the capture request and then make a subsequent request to edit the order and decrease the quantity for the uncaptured order line that was partially captured, as well as recalculating the amounts. Whether the capture action is available on the order or not, can be determined by inspecting the availableActions array on the suborder chunk. This can be retrieved from the GET order response.