Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/platform-sdk/src/generated/models/discount-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,15 @@ export interface DiscountCode extends BaseResource {
/**
* Number of times the DiscountCode can be applied.
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.
* This field does not limit discount applications for Orders created from a [Recurring Order](ctp:api:type:RecurringOrder).
*
*
*/
readonly maxApplications?: number
/**
* Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported).
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.
* This field does not limit discount applications for Orders created from a [Recurring Order](ctp:api:type:RecurringOrder).
*
*
*/
Expand Down Expand Up @@ -204,6 +206,7 @@ export interface DiscountCodeDraft {
* Number of times the DiscountCode can be applied.
*
* If not set, the DiscountCode can be applied any number of times.
* This field does not limit discount applications for Orders created from a [Recurring Order](ctp:api:type:RecurringOrder).
*
*
*/
Expand All @@ -212,6 +215,7 @@ export interface DiscountCodeDraft {
* Number of times the DiscountCode can be applied per Customer.
*
* If not set, the DiscountCode can be applied any number of times.
* This field does not limit discount applications for Orders created from a [Recurring Order](ctp:api:type:RecurringOrder).
*
*
*/
Expand Down Expand Up @@ -459,6 +463,7 @@ export interface DiscountCodeSetMaxApplicationsAction
* Value to set.
*
* If empty, any existing value will be removed and the DiscountCode can be applied any number of times.
* This field does not limit discount applications for Orders created from a [Recurring Order](ctp:api:type:RecurringOrder).
*
*
*/
Expand All @@ -471,6 +476,7 @@ export interface DiscountCodeSetMaxApplicationsPerCustomerAction
* Value to set.
*
* If empty, any existing value will be removed and the DiscountCode can be applied any number of times.
* This field does not limit discount applications for Orders created from a [Recurring Order](ctp:api:type:RecurringOrder).
*
*
*/
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -513,3 +513,4 @@ da68d777f48ba0233a7542a5344d86ef185db481
d90411c7dae76245a17c90707bfd18b735f04a9c
f3ae1f87cbf764a30d228bf4e01215405951d454
7fe8fbd8d4276aa8a033b8cba92c68c695d808c2
053ba06830d03bf8eb9963500e4498f14754b746
Loading