appDiscountTypes - admin-graphql - QUERY
Version: 2024-10
Description:
A list of app discount types installed by apps.
Access Scopes
Apps must have `read_discounts` access scope.
Arguments
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.
-
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