Skip to main content

LinkPromotionInfo

Promotion info for a link.

type LinkPromotionInfo {
promotion(
id: ID!
): LinkPromotion
promotionEndsAt: DateTimeISO
promotionLabel: String
promotionSecondaryLabel: String
promotions(
first: Int
after: String
last: Int
before: String
): LinkPromotionConnection
}

Fields

LinkPromotionInfo.promotion ● LinkPromotion object

A single promotion for a link

LinkPromotionInfo.promotion.id ● ID! non-null scalar

Promotion ID

LinkPromotionInfo.promotionEndsAt ● DateTimeISO scalar

Link's promo ends at

LinkPromotionInfo.promotionLabel ● String scalar

The Link's most recent promotion label

LinkPromotionInfo.promotionSecondaryLabel ● String scalar

Link's small promotion label

LinkPromotionInfo.promotions ● LinkPromotionConnection object

A list of promotions for the link

LinkPromotionInfo.promotions.first ● Int scalar

Returns the first n elements from the list.

LinkPromotionInfo.promotions.after ● String scalar

Returns the elements in the list that come after the specified cursor.

LinkPromotionInfo.promotions.last ● Int scalar

Returns the last n elements from the list.

LinkPromotionInfo.promotions.before ● String scalar

Returns the elements in the list that come before the specified cursor.

Member of

Link object