API version: unstable
API version: 2021-04 Release candidate
API version: 2021-01 Latest
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

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-04 (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-01 (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 (URL!)

    The URL for the discount code.

Types that return PriceRuleShareableUrl

Version 2020-10

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 2020-07

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 2020-04

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 2020-01 (Unsupported)

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 2019-10 (Unsupported)

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 2019-07 (Unsupported)

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 2019-04 (Unsupported)

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