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
To update the order risk, I do this:
client = ShopifyAPI::Clients::Rest::Admin.new(session: session) response = client.put(path: "orders/#{order_id}/risks/#{risk_id}.json", body: { "risk": payload })
But it always prompts 401 unauthorized.
If you report this error, please include this id: b073b240-346a-4fd8-85fa-5fc2b7e62ade.
My request id is
b073b240-346a-4fd8-85fa-5fc2b7e62ade
Any help would be great.
Thank you in advance!
Hi remy727,
Thanks for your post. Please ensure the following (related docs: [Order Risk PUT - Shopify Dev Docs]):
If all of those are ok then please reach out [to Partner Support using the email option] and select the 'App Development & API' topic for further assistance. Please be sure to include details about the specific store, which App was making the API call, as well as a date/time/timezone for the request id.
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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