A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hello, Shopify Team.
I would like to have more information on how to get the same data that `REST` implementation of `Order Risks` provide
```json
{
"risk": {
"order_id": <order_id>,
"cause_cancel": false,
"message": "After further review, this is a legitimate order",
"recommendation": "accept",
"score": "0.0",
"source": "External",
"id": <risk_id>,
"checkout_id": null,
"display": true,
"merchant_message": "After further review, this is a legitimate order"
}
}
```
Based on the GraphQL docs the `OrderRisk` object doesn't have the fields I need, providing only:
```json
{
"display": ...,
"level": ...,
"message": ....,
}
```
How to fetch the rest of the missing fields using GraphQL?
Thank you.
Hi Airbyte,
Thanks for flagging this inconsistency between the different APIs for this method. I don't believe the missing fields are currently available in GQL but I'll connect with the product team to confirm, and add a feature request to expose the missing fields to the GraphQL resource.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me 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
Not yet unfortunately - but I've connected with this team again.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me 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