DiscountAutomaticAppInput - admin-graphql - INPUT_OBJECT
Version: 2024-04
Description:
The input fields to create an app discount.
Access Scopes
Fields
-
combinesWith:
DiscountCombinesWithInput -
Determines which discount classes the discount can combine with.
-
endsAt:
DateTime -
The date and time when the discount ends. For open-ended discounts, use `null`.
-
functionId:
String -
The ID of the function providing the app discount type.
-
metafields:
MetafieldInput -
Additional metafields to associate to the discount.
-
startsAt:
DateTime -
The date and time when the discount starts.
-
title:
String -
The title of the discount.
Input objects with this input object
Examples