Admin API / Types

Announcement

Object

An announcement for storefront members. The storefront shows the newest ACTIVE announcement (Marketplace.activeAnnouncement).

Requires a client key with one of these scopes: admin:announcements:read

The requirement applies to every field of Announcement unless that field declares its own scopes.

type Announcement implements Node

Fields

FieldTypeDescription
authorUser!
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.
contentString
Markdown body. The API returns this text without sanitizing or escaping it. Sanitize it before rendering.
createdAtDateTime!
When the announcement was posted.
idID!
A globally unique ID. Treat this value as an opaque string.
statusAnnouncementStatus!
Whether the storefront can show the announcement.
titleString
Headline, or null when the announcement has none.
updatedAtDateTime!
When an edit or an end last changed the announcement. A newer post ends the active announcement, so it also sets this time.

Returned by