PriceRuleShareableUrl object

Version 2020-01 (Release candidate)

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

Required access

read_price_rules access scope

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.

Types that return PriceRuleShareableUrl

Version 2019-10 (Latest)

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

Required access

read_price_rules access scope

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.

Types that return PriceRuleShareableUrl

Version 2019-07

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

Required access

read_price_rules access scope

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.

Types that return PriceRuleShareableUrl

Version 2019-04

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

Required access

read_price_rules access scope

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.

Types that return PriceRuleShareableUrl

Sign up for a Partner account to get started.

Sign up