Skip to content

Commit 053ba06

Browse files
committed
Updated API from documentation release
1 parent 5fa22b3 commit 053ba06

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

api-specs/api/types/discount-code/DiscountCode.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,14 @@ properties:
7777
description: |
7878
Number of times the DiscountCode can be applied.
7979
DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.
80+
This field does not limit discount applications for Orders created from a [Recurring Order](ctp:api:type:RecurringOrder).
8081
maxApplicationsPerCustomer?:
8182
type: number
8283
format: int64
8384
description: |
8485
Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported).
8586
DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.
87+
This field does not limit discount applications for Orders created from a [Recurring Order](ctp:api:type:RecurringOrder).
8688
custom?:
8789
type: CustomFields
8890
description: |

api-specs/api/types/discount-code/DiscountCodeDraft.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@ properties:
4848
Number of times the DiscountCode can be applied.
4949
5050
If not set, the DiscountCode can be applied any number of times.
51+
This field does not limit discount applications for Orders created from a [Recurring Order](ctp:api:type:RecurringOrder).
5152
maxApplicationsPerCustomer?:
5253
type: number
5354
format: int64
5455
description: |
5556
Number of times the DiscountCode can be applied per Customer.
5657
5758
If not set, the DiscountCode can be applied any number of times.
59+
This field does not limit discount applications for Orders created from a [Recurring Order](ctp:api:type:RecurringOrder).
5860
custom?:
5961
type: CustomFieldsDraft
6062
description: |

api-specs/api/types/discount-code/updates/DiscountCodeSetMaxApplicationsAction.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ properties:
1212
Value to set.
1313
1414
If empty, any existing value will be removed and the DiscountCode can be applied any number of times.
15+
This field does not limit discount applications for Orders created from a [Recurring Order](ctp:api:type:RecurringOrder).

api-specs/api/types/discount-code/updates/DiscountCodeSetMaxApplicationsPerCustomerAction.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ properties:
1212
Value to set.
1313
1414
If empty, any existing value will be removed and the DiscountCode can be applied any number of times.
15+
This field does not limit discount applications for Orders created from a [Recurring Order](ctp:api:type:RecurringOrder).

0 commit comments

Comments
 (0)