Admin API / Types
Announcement
ObjectAn announcement for storefront members. The storefront shows the newest ACTIVE announcement (Marketplace.activeAnnouncement).
admin:announcements:readThe requirement applies to every field of Announcement unless that field declares its own scopes.
type Announcement implements NodeFields
| Field | Type | Description |
|---|---|---|
author | User! | The member who posted the announcement. It can be a person who is no longer a member of this store. Reading the author's fields needs the admin:account:read scope. |
content | String | Markdown body. The API returns this text without sanitizing or escaping it. Sanitize it before rendering. |
createdAt | DateTime! | When the announcement was posted. |
id | ID! | A globally unique ID. Treat this value as an opaque string. |
status | AnnouncementStatus! | Whether the storefront can show the announcement. |
title | String | Headline, or null when the announcement has none. |
updatedAt | DateTime! | When an edit or an end last changed the announcement. A newer post ends the active announcement, so it also sets this time. |