API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04 Unsupported
API version: 2020-01 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.

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

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

  • 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

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.

  • 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

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.

  • 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