ResourceAlert object

Presents information or problems to merchants, with 1 or more actions that they can take. They can optionally have a specific icon and be dismissed by merchants.

On this page


Fields

  • actions ([[ResourceAlertAction!]!](https://shopify.dev/docs/admin-api/graphql/reference/events/resourcealertaction))
    Buttons in the alert that link to related information. For example, View risk assessment.
  • content ([HTML!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#html-2021-01))
    Details about the alert.
  • dismissibleHandle ([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    Unique identifier that appears when an alert is manually closed by the merchant. Most alerts cannot be manually closed.
  • icon ([ResourceAlertIcon](https://shopify.dev/docs/admin-api/graphql/reference/orders/resourcealerticon))
    Icon that displays with the alert.
  • severity ([ResourceAlertSeverity!](https://shopify.dev/docs/admin-api/graphql/reference/orders/resourcealertseverity))
    Indication of how important the alert is.
  • title ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    The name of the alert.


Types that return ResourceAlert

  • [Order.alerts](https://shopify.dev/docs/admin-api/graphql/reference/orders/order#alerts-2021-01)