Setting Product.Options[0].name property

Shopify Partner
2 0 1


I am attempting to set the Product.Options[0].name property.  When I excute a post or put, the value is not updated.  How is the Product.Options data updated?

Thanks for your help.

Todd Hollar

Reply 1 (1)
Shopify Partner
1873 184 890

Hi Todd,

You must reference the option you wish to update by its ID. For instance:

PUT /admin/products/123456789.json

  "product": {
  "id": 123456789,
    "options": [
        "id": 987654321,
        "name": "New Name"

Hope this helps!

Liked this post? You might also like our fantastic upsell apps Candy Rack, Last Upsell post-purchase and Candy Cart or offer free gifts with Gift Box. All made with ❤️  and care by Digismoothie