we are developing an external app that can import some products into our Shopify or change some data of the existing ones (price or other).
The problem we are facing is that we can't in any way clear the CompareAtPrice field, but we might need to.
Take this case:
Current productVariant prices:
From our import, the price should become 120, without any discount, so we should set Price to 120 and CompareAtPrice to "blank".
We tried many mutations, setting CompareAtPrice to 0, '', nil, ... but nothing worked.
How should we fix that case? We really need to be able to update our prices eventually removing the discount.
That's our mutation (example)
title: \" Variant title\",
sku: \"Variant SKU\",
barcode: \"Variant Barcode\",
What should we do?