I need to remove a fee line from an order using the woocommerce REST API. I tried passing the fee_lines as an empty array, or with the name and total of the fee line set to null or zero and none of it worked. I am using the V3 Woocommerce API. Thanks
I tried to delete the fee line by:
- removing it from the fee_lines array
- passing the whole fee_lines array as an empty array
- sending the id of the fee line on (no name or total)
- setting the fee line’s name and total as null or zero