A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi,
I have an issue with calling product update API with cURL. It returns "406 Not Acceptable"
I am doing as is written on
https://shopify.dev/api/admin-rest/2021-10/resources/product#put-products-product-id
Here is my call (without URL and access-token)
curl -X PUT "https://{page-url}/admin/api/2021-10/product/6697843982393.json" -LvA "Mozilla" -d '{"id":6697843982393,"title":"New product title"}' -H "X-Shopify-Access-Token: {access-token}" -H "Content-Type: application/json"
(in my call i use access-token and page-url as should be 🙂 )
What am I doing wrong?
Arghh,
i made typo mistake ... it should be .../products/...
Sorry guys for disturbing.