Liquid, JavaScript, themes, sales channels
Hey, so I am currently trying to update the products.liquid page of the default theme by making a PUT request to the API but I always get a 406 error on postman and my app. I have followed the documentation on https://shopify.dev/api/admin/rest/reference/online-store/asset#index-2021-07 but I cannot get the put request to work. Here is a screenshot of my postman:
I have my auth token as a header so that isnt the issue and I know that the theme id is correct, and I also have access to write to themes. My X-Request-ID is 4a016b88-43c8-4d10-b30a-f8004906f154. If anyone here who works at Shopify could check my requests and tell my whats wrong that would be great, or maybe someone knows what else could be causing the 406 error. Thanks!
Also get requests work fine
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024