DiscountAutomaticBasic object
An automatic basic discount.
Required access
Apps must have read_discounts
access scope.
On this page
Fields
-
asyncUsageCount (
Int!
)The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count.
-
createdAt (
DateTime!
)The date and time when the discount was created.
-
customerGets (
DiscountCustomerGets!
)The qualifying items in an order, the quantity of each one, and the total value of the discount.
-
endsAt (
DateTime
)The date and time when the discount ends. For open-ended discounts, use
null
. -
minimumRequirement (
DiscountMinimumRequirement!
)The minimum subtotal or quantity that's required for the discount to be applied.
-
shortSummary (
String!
)A short summary of the discount.
-
startsAt (
DateTime!
)The date and time when the discount starts.
-
status (
DiscountStatus!
)The status of the discount.
-
summary (
String!
)A detailed summary of the discount.
-
title (
String!
)The title of the discount.
Mutations for DiscountAutomaticBasic
-
Creates a basic automatic discount.
-
Updates a basic automatic discount using its ID and input.
Deprecated fields
-
usageCount (
Int!
) deprecatedThe number of times that the discount has been used.
Deprecation warning
Use
asyncUsageCount
instead
An automatic basic discount.
Required access
Apps must have read_discounts
access scope.
On this page
Fields
-
asyncUsageCount (
Int!
)The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count.
-
createdAt (
DateTime!
)The date and time when the discount was created.
-
customerGets (
DiscountCustomerGets!
)The qualifying items in an order, the quantity of each one, and the total value of the discount.
-
endsAt (
DateTime
)The date and time when the discount ends. For open-ended discounts, use
null
. -
minimumRequirement (
DiscountMinimumRequirement!
)The minimum subtotal or quantity that's required for the discount to be applied.
-
shortSummary (
String!
)A short summary of the discount.
-
startsAt (
DateTime!
)The date and time when the discount starts.
-
status (
DiscountStatus!
)The status of the discount.
-
summary (
String!
)A detailed summary of the discount.
-
title (
String!
)The title of the discount.
Mutations for DiscountAutomaticBasic
-
Creates a basic automatic discount.
-
Updates a basic automatic discount using its ID and input.
Deprecated fields
-
usageCount (
Int!
) deprecatedThe number of times that the discount has been used.
Deprecation warning
Use
asyncUsageCount
instead
An automatic basic discount.
Required access
Apps must have read_discounts
access scope.
On this page
Fields
-
asyncUsageCount (
Int!
)The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count.
-
createdAt (
DateTime!
)The date and time when the discount was created.
-
customerGets (
DiscountCustomerGets!
)The qualifying items in an order, the quantity of each one, and the total value of the discount.
-
endsAt (
DateTime
)The date and time when the discount ends. For open-ended discounts, use
null
. -
minimumRequirement (
DiscountMinimumRequirement!
)The minimum subtotal or quantity that's required for the discount to be applied.
-
shortSummary (
String!
)A short summary of the discount.
-
startsAt (
DateTime!
)The date and time when the discount starts.
-
status (
DiscountStatus!
)The status of the discount.
-
summary (
String!
)A detailed summary of the discount.
-
title (
String!
)The title of the discount.
Mutations for DiscountAutomaticBasic
-
Creates a basic automatic discount.
-
Updates a basic automatic discount using its ID and input.
Deprecated fields
-
usageCount (
Int!
) deprecatedThe number of times that the discount has been used.
Deprecation warning
Use
asyncUsageCount
instead
An automatic basic discount.
Required access
Apps must have read_discounts
access scope.
On this page
Fields
-
asyncUsageCount (
Int!
)The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count.
-
createdAt (
DateTime!
)The date and time when the discount was created.
-
customerGets (
DiscountCustomerGets!
)The qualifying items in an order, the quantity of each one, and the total value of the discount.
-
endsAt (
DateTime
)The date and time when the discount ends. For open-ended discounts, use
null
. -
minimumRequirement (
DiscountMinimumRequirement!
)The minimum subtotal or quantity that's required for the discount to be applied.
-
shortSummary (
String!
)A short summary of the discount.
-
startsAt (
DateTime!
)The date and time when the discount starts.
-
status (
DiscountStatus!
)The status of the discount.
-
summary (
String!
)A detailed summary of the discount.
-
title (
String!
)The title of the discount.
Mutations for DiscountAutomaticBasic
-
Creates a basic automatic discount.
-
Updates a basic automatic discount using its ID and input.
Deprecated fields
-
usageCount (
Int!
) deprecatedThe number of times that the discount has been used.
Deprecation warning
Use
asyncUsageCount
instead
An automatic basic discount.
Required access
Apps must have read_discounts
access scope.
On this page
Fields
-
createdAt (
DateTime!
)The date and time when the discount was created.
-
customerGets (
DiscountCustomerGets!
)The qualifying items in an order, the quantity of each one, and the total value of the discount.
-
endsAt (
DateTime
)The date and time when the discount ends. For open-ended discounts, use
null
. -
minimumRequirement (
DiscountMinimumRequirement!
)The minimum subtotal or quantity that's required for the discount to be applied.
-
shortSummary (
String!
)A short summary of the discount.
-
startsAt (
DateTime!
)The date and time when the discount starts.
-
status (
DiscountStatus!
)The status of the discount.
-
summary (
String!
)A detailed summary of the discount.
-
title (
String!
)The title of the discount.
Mutations for DiscountAutomaticBasic
-
Creates a basic automatic discount.
-
Updates a basic automatic discount using its ID and input.
Deprecated fields
-
usageCount (
Int!
) deprecatedThe number of times that the discount has been used.
Deprecation warning
Use
asyncUsageCount
instead
An automatic basic discount.
Required access
Apps must have read_discounts
access scope.
On this page
Fields
-
createdAt (
DateTime!
)The date and time when the discount was created.
-
customerGets (
DiscountCustomerGets!
)The qualifying items in an order, the quantity of each one, and the total value of the discount.
-
endsAt (
DateTime
)The date and time when the discount ends. For open-ended discounts, use
null
. -
minimumRequirement (
DiscountMinimumRequirement!
)The minimum subtotal or quantity that's required for the discount to be applied.
-
shortSummary (
String!
)A short summary of the discount.
-
startsAt (
DateTime!
)The date and time when the discount starts.
-
status (
DiscountStatus!
)The status of the discount.
-
summary (
String!
)A detailed summary of the discount.
-
title (
String!
)The title of the discount.
Mutations for DiscountAutomaticBasic
-
Creates a basic automatic discount.
-
Updates a basic automatic discount using its ID and input.
Deprecated fields
-
usageCount (
Int!
) deprecatedThe number of times that the discount has been used.
Deprecation warning
Use
asyncUsageCount
instead
An automatic basic discount.
Required access
Apps must have read_discounts
access scope.
On this page
Fields
-
createdAt (
DateTime!
)The date and time when the discount was created.
-
customerGets (
DiscountCustomerGets!
)The qualifying items in an order, the quantity of each one, and the total value of the discount.
-
endsAt (
DateTime
)The date and time when the discount ends. For open-ended discounts, use
null
. -
minimumRequirement (
DiscountMinimumRequirement!
)The minimum subtotal or quantity that's required for the discount to be applied.
-
shortSummary (
String!
)A short summary of the discount.
-
startsAt (
DateTime!
)The date and time when the discount starts.
-
status (
DiscountStatus!
)The status of the discount.
-
summary (
String!
)A detailed summary of the discount.
-
title (
String!
)The title of the discount.
Mutations for DiscountAutomaticBasic
-
Creates a basic automatic discount.
-
Updates a basic automatic discount using its ID and input.
Deprecated fields
-
usageCount (
Int!
) deprecatedThe number of times that the discount has been used.
Deprecation warning
Use
asyncUsageCount
instead
An automatic basic discount.
Required access
Apps must have read_discounts
access scope.
On this page
Fields
-
createdAt (
DateTime!
)The date and time when the discount was created.
-
customerGets (
DiscountCustomerGets!
)The qualifying items in an order, the quantity of each one, and the total value of the discount.
-
endsAt (
DateTime
)The date and time when the discount ends. For open-ended discounts, use
null
. -
minimumRequirement (
DiscountMinimumRequirement!
)The minimum subtotal or quantity that's required for the discount to be applied.
-
shortSummary (
String!
)A short summary of the discount.
-
startsAt (
DateTime!
)The date and time when the discount starts.
-
status (
DiscountStatus!
)The status of the discount.
-
summary (
String!
)A detailed summary of the discount.
-
title (
String!
)The title of the discount.
Mutations for DiscountAutomaticBasic
-
Creates a basic automatic discount.
-
Updates a basic automatic discount using its ID and input.
Deprecated fields
-
usageCount (
Int!
) deprecatedThe number of times that the discount has been used.
Deprecation warning
Use
asyncUsageCount
instead
An automatic basic discount.
Required access
Apps must have read_discounts
access scope.
On this page
Fields
-
createdAt (
DateTime!
)The date and time when the discount was created.
-
customerGets (
DiscountCustomerGets!
)The qualifying items in an order, the quantity of each one, and the total value of the discount.
-
endsAt (
DateTime
)The date and time when the discount ends. For open-ended discounts, use
null
. -
minimumRequirement (
DiscountMinimumRequirement!
)The minimum subtotal or quantity that's required for the discount to be applied.
-
shortSummary (
String!
)A short summary of the discount.
-
startsAt (
DateTime!
)The date and time when the discount starts.
-
status (
DiscountStatus!
)The status of the discount.
-
summary (
String!
)A detailed summary of the discount.
-
title (
String!
)The title of the discount.
Mutations for DiscountAutomaticBasic
-
Creates a basic automatic discount.
-
Updates a basic automatic discount using its ID and input.
Deprecated fields
-
usageCount (
Int!
) deprecatedThe number of times that the discount has been used.
Deprecation warning
Use
asyncUsageCount
instead
An automatic basic discount.
Required access
Apps must have read_discounts
access scope.
On this page
Fields
-
createdAt (
DateTime!
)The date and time when the discount was created.
-
customerGets (
DiscountCustomerGets!
)The qualifying items in an order, the quantity of each one, and the total value of the discount.
-
endsAt (
DateTime
)The date and time when the discount ends. For open-ended discounts, use
null
. -
minimumRequirement (
DiscountMinimumRequirement!
)The minimum subtotal or quantity that's required for the discount to be applied.
-
shortSummary (
String!
)A short summary of the discount.
-
startsAt (
DateTime!
)The date and time when the discount starts.
-
status (
DiscountStatus!
)The status of the discount.
-
summary (
String!
)A detailed summary of the discount.
-
title (
String!
)The title of the discount.
Mutations for DiscountAutomaticBasic
-
Creates a basic automatic discount.
-
Updates a basic automatic discount using its ID and input.
Deprecated fields
-
usageCount (
Int!
) deprecatedThe number of times that the discount has been used.
Deprecation warning
Use
asyncUsageCount
instead