Development discussions around Shopify APIs
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
Hi,
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
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!
User | RANK |
---|---|
5 | |
5 | |
4 | |
4 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022