appDiscountType
Requires Apps must have access scope.
An app discount type.
Arguments
- Anchor to functionIdfunction•
Id String!required The ID for the function providing the app discount type.
Anchor to Possible returnsPossible returns
- Anchor to AppDiscountTypeApp•
Discount Type The details about the app extension that's providing the discount type. This information includes the app extension's name and client ID, App Bridge configuration, discount class, function ID, and other metadata about the discount type, including the discount type's name and description.
- app•App!non-null
The name of the app extension that's providing the discount type.
- app
Bridge •Functionsnon-nullApp Bridge! The App Bridge configuration for the discount type.
- app
Key •String!non-null The client ID of the app extension that's providing the discount type.
- description•String
A description of the discount type provided by the app extension.
- function
Id •String!non-null The function ID associated with the app extension providing the discount type.
- title•String!non-null
The name of the discount type that the app extension is providing.
- discount
Class •Discountnon-nullDeprecatedClass! The discount class that's used to control how discounts can be combined. Use
instead.
- target
Type •Discountnon-nullDeprecatedApplication Target Type! The type of line item on an order that the discount type applies to. Valid values:
and
. Use
instead.
- app•