Order API return removed shipping fees as active

Order API return removed shipping fees as active

erpmathieu
Shopify Partner
4 0 0

Hello,

 

I have created an order with 2 shipping fees. I have updated the order and removed the first shipping fee. Everything is ok on the shopify web site, only the second shipping fee is applied, but the Admin Order Rest API return both shipping fees as active in shipping_lines array, and total_shipping_price_set returns the sum of the both shipping fees, even the removed one.

Do you know why, and how I can identified in the API if a shipping is active or not?

 

Thanks in advance

Eric

Replies 0 (0)