Beacons
beacons
Section titled “beacons”Returns every beacon (announcement) configured for your shop. Takes no arguments.
Returns a non-null list of non-null Beacon objects ([Beacon!]!).
Returns / Fields
Section titled “Returns / Fields”| Field | Type | Description |
|---|---|---|
id | ID! | Unique identifier. |
name | String | Beacon name. |
message | String | Announcement text shown to customers. |
icon | String | Icon identifier. |
active | Boolean | Whether currently active. |
Example
Section titled “Example”query { beacons { id name message icon active }}{ "data": { "beacons": [ { "id": "7", "name": "Double stamps weekend", "message": "Earn double beans all weekend!", "icon": "sparkles", "active": true } ] }}