Types > Activity
Commerce APITypesActivity
Activity

Description

Fields

button_text: String!

Button text if there is a button

Example: "Add Promotion"


button_url: String!

Button URL if there is a button

Example: "https://app.lana.dev/{shop.id}/promotions/create"


created_at: String!

Date and time when activity was created

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


enabled: Boolean!

Whether this activity is enabled or not

Example: false


ended: Boolean!

Whether activity is ended based on server time

Example: false


ends_at: String

The date and time when the activity will end

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


id: String!

Unique activity identifier. See also: Unique Identifiers

Example: "ac_EQzGqWoY"


image_file: File

Image file for this activity

Expandable

Permission bit: "files.read"


message: String!

Message of the card

Example: "Only 7 days until Valentines Day"


started: Boolean!

Whether activity is started based on server time

Example: false


starts_at: String!

Date and time when the activity becomes active

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


title: String!

Title of the card

Example: "14 February - Valentines Day"


type: ActivityType!

Activity type


updated_at: String!

Date and time when activity was last updated

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


Used By

Types

ActivityPage

Preview (typescript)

Loading module