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
I am using Parabola to create an API call.
What I would like to do is delete a particular product tag from a list of products. I tried deleting the tag, which did not work, so I tried updating the tags as per the details here: https://shopify.dev/api/admin/rest/reference/products/product#update-2021-07
This failed with a 406 error. Can anyone see where I went wrong? Also, has anyone found a way to either reset the tags for a product or delete a given product tag?
I should point out that this product already has these tags, this action is simply reducing the tags by one tag. Not sure if the existing tags are causing the issue, but I wouldn't think it was.
{
"data": {
"product": {
"id": 4814346682403,
"tags": "Priceless, Samples"
}
},
"method": "PUT",
"url": "https://XXXXXX:XXXXXX@STORENAME.myshopify.com/admin/api/2021-07/products/4814246682803/.json"
}
Hi @colleenc
Can please provide the x-request-id you receive in the response to this call?
Thanks!
CS | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
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