Skip to content

Commit 3bde1ef

Browse files
committed
Updated API from documentation release
1 parent bc8899d commit 3bde1ef

17 files changed

+22
-2
lines changed

api-specs/api/types/approval-rule/ApproverConjunctionDraft.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ properties:
66
and:
77
description: |
88
All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
9-
The total count of approvers across the nested disjunctions must not exceed 10.
109
type: array
1110
items: ApproverDisjunctionDraft
1211
minItems: 1
12+
maxItems: 10

api-specs/api/types/business-unit/Associate.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ properties:
88
type: AssociateRoleAssignment[]
99
description: |
1010
Roles assigned to the Associate within a Business Unit.
11+
maxItems: 5
1112
roles?:
1213
(deprecated): true
1314
type: AssociateRoleDeprecated[]

api-specs/api/types/business-unit/AssociateDraft.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ properties:
77
description: |
88
Roles assigned to the Associate within a Business Unit.
99
minItems: 1
10+
maxItems: 5
1011
roles?:
1112
(deprecated): true
1213
type: AssociateRoleDeprecated[]

api-specs/api/types/business-unit/BusinessUnit.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ properties:
102102
type: Associate[]
103103
description: |
104104
Associates that are part of the Business Unit in specific [roles](ctp:api:type:AssociateRole).
105+
maxItems: 2000
105106
inheritedAssociates?:
106107
type: InheritedAssociate[]
107108
description: |

api-specs/api/types/business-unit/BusinessUnitDraft.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ properties:
5252
type: AssociateDraft[]
5353
description: |
5454
List of members that are part of the Business Unit in specific [roles](ctp:api:type:AssociateRole).
55+
maxItems: 2000
5556
approvalRuleMode?:
5657
type: BusinessUnitApprovalRuleMode
5758
description: |

api-specs/api/types/business-unit/updates/BusinessUnitSetAssociatesAction.raml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ properties:
1010
associates:
1111
type: AssociateDraft[]
1212
description: |
13-
The new list of Associates. If not provided, any existing list is removed.
13+
The new list of Associates. If empty, existing values will be removed.
14+
maxItems: 2000

api-specs/api/types/cart/Cart.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ properties:
155155
type: DiscountCodeInfo[]
156156
description: |
157157
Discount Codes applied to the Cart. A Cart that has `directDiscounts` cannot have `discountCodes`.
158+
maxItems: 10
158159
directDiscounts:
159160
type: DirectDiscount[]
160161
description: |

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ properties:
5555
type: CartDiscountReference[]
5656
description: |
5757
Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.
58+
maxItems: 10
5859
cartPredicate?:
5960
type: string
6061
description: |

api-specs/api/types/product/ProductData.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ properties:
4848
type: ProductVariant[]
4949
description: |
5050
Additional Product Variants.
51+
maxItems: 100
5152
searchKeywords:
5253
type: SearchKeywords
5354
description: |

api-specs/api/types/product/ProductDraft.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ properties:
5656
type: ProductVariantDraft[]
5757
description: |
5858
The additional Product Variants for the Product.
59+
maxItems: 100
5960
taxCategory?:
6061
type: TaxCategoryResourceIdentifier
6162
description: |

0 commit comments

Comments
 (0)