Risk Level from "/admin/api/2023-07/orders/450789469/risks.json" endpoint

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?

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