appDiscountType - admin-graphql - QUERY
Version: unstable
Description:
An app discount type.
Access Scopes
Apps must have `read_discounts` access scope.
Arguments
-
functionId:
String! -
The ID for the function providing the app discount type.
Returns
-
app:
App!
The app providing the app discount type.
-
appBridge:
FunctionsAppBridge!
The App Bridge details for discount type configuration.
-
appKey:
String!
The client ID of the app providing the app discount type.
-
description:
String
A description of the app discount type.
-
discountClass:
DiscountClass!
The class of the app discount type.
-
functionId:
String!
The ID of the function providing the app discount type.
-
shopifyFunction:
ShopifyFunction!
The Shopify Function associated with this app discount rule.
-
targetType:
DiscountApplicationTargetType!
The target type of the app discount type. Possible values: `SHIPPING_LINE` and `LINE_ITEM`.
-
title:
String!
The title of the app discount type.
Examples