Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

Aaron Mashburn commented on Adding new variant option via api

$
0
0

I tried breaking up the request; first sending the product info with the new option, then updating the variants using 'PUT', '/admin/variants/#{id}.json. The product update is successful, but the new option is not added. Therefore, when I try to update the variants, I get a "2 option values given but 1 options exist" error.


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>