Event card V2
The EVENT_CARD_V2
entry point displays a preview of an upcoming live event and allows users to subscribe to notifications about it. You can set different images for PRE_ACTIVE
and ACTIVE
states.
See EventCardV2EntryPointSetInput
for options.
See uploading images for how to set images.
When your event starts or finishes, you'll need to update the status using the entryPointEventStatusUpdate
mutation:
mutation {
entryPointEventStatusUpdate(
shopDomain: "shop-minis-sandbox.myshopify.com"
status: ACTIVE
) {
userErrors {
code
field
message
}
}
}
In order to send reminder notifications about events, you'll need to configure notifications in your manifest.json
and send them using the notificationTrigger
mutation.