PriceRuleShareableUrl

Required access

read_price_rules access scope

Shareable URL for the discount code associated with the price rule.

Show definition
# Shareable URL for the discount code associated with the price rule.
type PriceRuleShareableUrl {
  # Image URL of the item (product or collection) to which discount applies.
  targetItemImage: Image

  # Type of page where URL lands.
  targetType: PriceRuleShareableUrlTargetType!

  # Title for the page where URL lands.
  title: String!

  # Actual URL for the discount code.
  url: URL!
}

Fields

targetItemImage   (Image)

Image URL of the item (product or collection) to which discount applies.

targetType   (PriceRuleShareableUrlTargetType!)

Type of page where URL lands.

title   (String!)

Title for the page where URL lands.

url   (URL!)

Actual URL for the discount code.