Hi everyone,
is someone able to get the mocked High Risk order to reflect correctly though GraphQL API?
I read https://help.shopify.com/en/manual/orders/fraud-analysis and created a test order with shopify.test.high@shopify.com to get “HIGH” risk Order. It displays “HIGH” risk through Admin admin interface just fine.
But I have an issue when trying to fetch the same order’s “riskLevel” through GraphQL API:
query($id: ID!) {
order(id: $id) {
riskLevel
}
}
{"data":{"order":{"riskLevel":"LOW"}}
Querying the same resource though Admin REST API also appears to work correctly:
https://xxxx.myshopify.com/admin/orders/xxxxx/risks.json
I get
{"risks":[{"id":xxxx,"order_id":xxxx,"checkout_id":xxxx,"source":"Internal","score":"1.0","recommendation":"cancel","display":true,"cause_cancel":null,"message":"Shopify recommendation","merchant_message":"Shopify recommendation"}]}
“recommendation”:“cancel” correctly.
I cross referenced a production order with an actual “HIGH” risk and the status is correctly returned by GraphQL - Something is definitely broken when retrieving a mocked test order with GraphQL API.
