Home > @infiniteobjects/shopify-data-manager > AdminTypes > ResourceAlert
An alert message that appears in the Shopify admin about a problem with a store resource, with 1 or more actions to take. For example, you could use an alert to indicate that you’re not charging taxes on some product variants. They can optionally have a specific icon and be dismissed by merchants.
Signature:
export interface ResourceAlert
Property | Modifiers | Type | Description |
---|---|---|---|
actions | Array<ResourceAlertAction> | Buttons in the alert that link to related information. For example, _Edit variants_. | |
content | Scalars[‘HTML’][‘output’] | The secondary text in the alert that includes further information or instructions about how to solve a problem. | |
dismissibleHandle? | Maybe<Scalars[‘String’][‘output’]> | (Optional) Unique identifier that appears when an alert is manually closed by the merchant. Most alerts can’t be manually closed. | |
icon? | Maybe<ResourceAlertIcon | `${ResourceAlertIcon}`> | (Optional) An icon that’s optionally displayed with the alert. | |
severity | ResourceAlertSeverity | `${ResourceAlertSeverity}` | Indication of how important the alert is. | |
title | Scalars[‘String’][‘output’] | The primary text in the alert that includes information or describes the problem. |