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.

Required access

read_ access scope

targetType   (PriceRuleShareableUrlTargetType!)

Type of page where URL lands.

Required access

read_ access scope

title   (String!)

Title for the page where URL lands.

Required access

read_ access scope

url   (URL!)

Actual URL for the discount code.

Required access

read_ access scope

Sign up for a Partner account to get started.

Sign up