PriceRuleShareableUrl

Version 2019-04

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

Required access

read_price_rules access scope

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.

Version 2019-07

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

Required access

read_price_rules access scope

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.

Version 2019-10 (Latest)

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

Required access

read_price_rules access scope

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.

Version 2020-01 (Release candidate)

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

Required access

read_price_rules access scope

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.

Sign up for a Partner account to get started.

Sign up