For example, I simply adjusted the inventory quantity in the inventory level adjust.json.
In the request, I inserted the parts of JSON fields into the body folloing the instruction of the help page.
The ContentType is set to application/json, and the charset is set to UTF-8.
When I try to add a new product in Product API, the HTML is returned as well and the process does not work properly. Nothing was created.
If anyone has experienced the same problem or has a solution, I would appreciate it.
by the way, GET, PUT and DELETE will be processed as expected and JSON is returned.
We use not a public app but a private one that needs only password.
I authenticate using basic HTTP authentication.
But around PUT method, the generated access token based on OAuth needs expectionally? I’ll try.
Just only a simple authoentication so called basic auth needs for a private app. Thank you for reply.
I doubted a bug so I asked Shopify front support, As for them, there might be a problem if OAuth won’t be completed.
I have yet to try it. I’ll report the result something soon.
I barely remember the moment I had just dealt with this end-boss.
Lucky you, there was the trace left here.
“X-Shopify-Access-Token” with your token would work for some reason, give it a try.