Codexshaper / laravel-woocommerce

WooCommerce Rest API for Laravel
MIT License
189 stars 59 forks source link

Removing item from order. #84

Open hassanlagmouri opened 2 years ago

hassanlagmouri commented 2 years ago

Hello,

I'm facing a problem while removing an item/items from an order, I've tried to do that by removing the wanted product from line_items and then updating the order by passing the new line_items but the product always stays. The other solution I've made is to make the product_id null and the quantity 0 then pass them in the order update method but always the same result, the product stays.

is there a way to make that possible?

Thanks.