Incorrect type for OrderLineItem quantity
Opened this issue · 0 comments
lukewarlow commented
OrderLineItem's quantity is declared as an optional decimal. However, according to the WooCommerce API docs quantity is an integer.
Quantity being a decimal also wouldn't really make sense as someone can't order half an item.