AppDiscountType - admin-graphql - OBJECT
Version: 2025-01
Description:
A script that defines a discount type.
Access Scopes
Apps must have `read_discounts` access scope.
Fields
-
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.
Connections
Related queries
Related mutations
Related Unions
Examples