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
So I followed these docs
https://shopify.dev/docs/admin-api/rest/reference/orders/order#create-2020-10
To try and create an order through postman
In the response, I get some HTML with a link that asks me to authenticate and then goes to error
I tried fetch orders request and that worked fine. I have tried changing inputs and using shopify example inputs.
Not sure what's going on here.
Solved! Go to the solution
This is an accepted solution.
If you've verified the API credentials are okay, then it's likely due to Postman sending client-side cookies with the API request. You need to clear those out and disable that setting option.
This is an accepted solution.
If you've verified the API credentials are okay, then it's likely due to Postman sending client-side cookies with the API request. You need to clear those out and disable that setting option.
That seems to work
It won't be a problem when I am making the request with a library like axios right?
As long as Axios isn't automatically sending client-side cookies behind the scenes for POST requests you should be fine. I'd assume the developer has control over how it's behaving, so you should be good!
User | RANK |
---|---|
6 | |
5 | |
5 | |
5 | |
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