How to update ProductVariant price although the value is greater than compared price?

Highlighted
Shopify Partner
13 1 0

Hey,

Is that possible to update the variant price if the value is greater than the compared price?

ex:

Current state:

price: 20

compared price: 50

 

Update:

price: 70

compared price: 50

 

I've tried using this API 

PUT /admin/api/2020-04/variants/#{variant_id}.json

but get 422 error code.

 

Thank you in advance.

0 Likes
Highlighted
Shopify Partner
13 1 0

any thought @hassain ?

0 Likes
Highlighted
Shopify Partner
13 1 0

hey @KarlOffenberger , any thought for this case?

0 Likes