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-10 (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-07 (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-04

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