PriceRuleShareableUrl object

Version 2020-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.

targetType (PriceRuleShareableUrlTargetType!)

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 (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.

targetType (PriceRuleShareableUrlTargetType!)

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.

targetType (PriceRuleShareableUrlTargetType!)

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

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.

targetType (PriceRuleShareableUrlTargetType!)

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

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.

targetType (PriceRuleShareableUrlTargetType!)

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.

targetType (PriceRuleShareableUrlTargetType!)

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.

targetType (PriceRuleShareableUrlTargetType!)

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