Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

query

Requires Apps must have read_discounts access scope.

An app discount type.

String!required

The ID for the function providing the app discount type.


Was this section helpful?

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
non-null

The name of the app extension that's providing the discount type.

appBridge
non-null
appKey
non-null

The client ID of the app extension that's providing the discount type.

description

A description of the discount type provided by the app extension.

functionId
non-null

The function ID associated with the app extension providing the discount type.

title
non-null

The name of the discount type that the app extension is providing.

discountClass
non-nullDeprecated

The discount class that's used to control how discounts can be combined. Use discountClasses instead.

targetType
non-nullDeprecated

The type of line item on an order that the discount type applies to. Valid values: SHIPPING_LINE and LINE_ITEM. Use discountClasses instead.


Was this section helpful?