Discussing APIs and development related to customers, discounts, and order management.
I downloaded the order details from my store in a CSV file. There is a column named 'Risk Level', with values 'Low' and 'High'. When the risk level is 'Low', is the response from the endpoint '/admin/api/2023-07/orders/450789469/risks.json' blank for the same order ID?
Another question is: How can I determine that the risk level value will be 'High' from the response of the '/admin/api/2023-07/orders/450789469/risks.json' endpoint?
Solved! Go to the solution
This is an accepted solution.
Hey there,
On the Order Risk API, there's a field called recommendation where you can map the Low/Medium/High risk levels to: https://shopify.dev/docs/api/admin-rest/2023-04/resources/order-risk
So basically:
accept -> Low
investigate -> Medium
cancel -> High
This is an accepted solution.
Hey there,
On the Order Risk API, there's a field called recommendation where you can map the Low/Medium/High risk levels to: https://shopify.dev/docs/api/admin-rest/2023-04/resources/order-risk
So basically:
accept -> Low
investigate -> Medium
cancel -> High