XiaoFaye / WooCommerce.NET

A .NET Wrapper for WooCommerce/WordPress REST API
MIT License
393 stars 218 forks source link

Incorrect type for OrderLineItem quantity #749

Open lukewarlow opened 1 year ago

lukewarlow commented 1 year ago

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.