PriceRuleShareableUrl object
Shareable URL for the discount code associated with the price rule.
Required access
read_price_rules access scope.
On this page
Fields
- targetItemImage (
[Image](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/image))
The image URL of the item (product or collection) to which the discount applies. - targetType (
[PriceRuleShareableUrlTargetType!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/priceruleshareableurltargettype))
The type of page that’s associated with the URL. - title (
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
The title of the page that’s associated with the URL. - url (
[URL!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#url-2021-01))
The URL for the discount code. 
Types that return PriceRuleShareableUrl
[PriceRule.shareableUrls](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/pricerule#shareableurls-2021-01)
