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

DiscountShareableUrl object

Version unstable

The shareable URL for the discount code.

Required access

Apps must have read_discounts access scope.

Fields

targetItemImage (Image)

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

targetType (DiscountShareableUrlTargetType!)

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 DiscountShareableUrl

Version 2021-01 (Release candidate)

The shareable URL for the discount code.

Required access

Apps must have read_discounts access scope.

Fields

targetItemImage (Image)

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

targetType (DiscountShareableUrlTargetType!)

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 DiscountShareableUrl

Version 2020-10 (Latest)

The shareable URL for the discount code.

Required access

Apps must have read_discounts access scope.

Fields

targetItemImage (Image)

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

targetType (DiscountShareableUrlTargetType!)

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 DiscountShareableUrl