{"errors":{"compare_at_price":["Compare at price needs to be higher than Price."]}}

New Member
4 0 0
Hi
I am trying to update a variant price with /admin/api/2020-07/variants/ 36076300730523.json
 
 [variant] => Array ( [id] => 36304580411557 [price] => 70.00 )  doesn't work.
Then I add compare_at_price and set it to null.
 [variant] => Array ( [id] => 36304580411557 [price] => 70.00 [compare_at_price] => )  still doesn't work.
 
What is the right way to update a price while the compare price is 0?
 
0 Likes
Highlighted
New Member
4 0 0
 
0 Likes