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

Hey Jones! commented on Creating variants with option2

$
0
0

You need to add an array of Options to the Product first:

{ "product": { "body_html": "uyt", "title": "gdf", "vendor": "my vendor", "product_type": "Stam4", "id": "407311507", "published": "false", "options": " [ { "name": "Size", "name": "Color" } ]", "variants": [ { "option1": "Small", "option2": "yellow", "price": 55, "inventory_quantity": 100 }

http://docs.shopify.com/api/product#options-property


Viewing all articles
Browse latest Browse all 25503

Trending Articles



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