Javadoc
Initiates the addItem workflow that will attempt to add the given quantity of the specified item
to the Order. The item to be added can be determined in a few different ways. For example, the
SKU can be specified directly or it can be determine based on a Product and potentially some
specified ProductOptions for that given product.
The minimum required parameters for OrderItemRequest are: productId and quantity or alternatively, skuId and quantity
When priceOrder is false, the system will not reprice the order. This is more performant in
cases such as bulk adds where the repricing could be done for the last item only.
As opposed to the
#addItem(Long,OrderItemRequestDTO,boolean) method, this method allows
the passed in
OrderItemRequestDTO to contain values for the overrideSale or overrideRetail
price fields.
This design is intended to ensure that override pricing is not called by mistake. Implementors should
use this method when manual price overrides are allowed.