PriceRuleShareableUrl object

Version unstable

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

Required access

read_price_rules access scope.

Fields

  • targetItemImage (Image)

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

  • The type of page that's associated with the URL.

  • title (String!)

    The title of the page that's associated with the URL.

  • url (URL!)

    The URL for the discount code.

Types that return PriceRuleShareableUrl

Version 2021-10 (Release candidate)

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

Required access

read_price_rules access scope.

Fields

  • targetItemImage (Image)

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

  • The type of page that's associated with the URL.

  • title (String!)

    The title of the page that's associated with the URL.

  • url (URL!)

    The URL for the discount code.

Types that return PriceRuleShareableUrl

Version 2021-07 (Latest)

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

Required access

read_price_rules access scope.

Fields

  • targetItemImage (Image)

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

  • The type of page that's associated with the URL.

  • title (String!)

    The title of the page that's associated with the URL.

  • url (