Admin API / Mutations
endAnnouncement
Ends an announcement, so the storefront stops showing it. A repeat succeeds and changes nothing. No operation makes an ended announcement active again. When an older announcement is also ACTIVE, Marketplace.activeAnnouncement then returns it. Sends no notification. Push notifications of the post that have not started are not sent; sent notifications stay. Requires the ADMIN role or higher.
Requires a client key with one of these scopes:
admin:announcements:writeRequires this member role or higher: ADMINendAnnouncement(
input: EndAnnouncementInput!
): EndAnnouncementPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | EndAnnouncementInput! | The announcement to end. |