Skip to content

Commit

Permalink
Updated API from documentation release
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Oct 16, 2024
1 parent bc8899d commit 3bde1ef
Show file tree
Hide file tree
Showing 17 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ properties:
and:
description: |
All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
The total count of approvers across the nested disjunctions must not exceed 10.
type: array
items: ApproverDisjunctionDraft
minItems: 1
maxItems: 10
1 change: 1 addition & 0 deletions api-specs/api/types/business-unit/Associate.raml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ properties:
type: AssociateRoleAssignment[]
description: |
Roles assigned to the Associate within a Business Unit.
maxItems: 5
roles?:
(deprecated): true
type: AssociateRoleDeprecated[]
Expand Down
1 change: 1 addition & 0 deletions api-specs/api/types/business-unit/AssociateDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ properties:
description: |
Roles assigned to the Associate within a Business Unit.
minItems: 1
maxItems: 5
roles?:
(deprecated): true
type: AssociateRoleDeprecated[]
Expand Down
1 change: 1 addition & 0 deletions api-specs/api/types/business-unit/BusinessUnit.raml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ properties:
type: Associate[]
description: |
Associates that are part of the Business Unit in specific [roles](ctp:api:type:AssociateRole).
maxItems: 2000
inheritedAssociates?:
type: InheritedAssociate[]
description: |
Expand Down
1 change: 1 addition & 0 deletions api-specs/api/types/business-unit/BusinessUnitDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ properties:
type: AssociateDraft[]
description: |
List of members that are part of the Business Unit in specific [roles](ctp:api:type:AssociateRole).
maxItems: 2000
approvalRuleMode?:
type: BusinessUnitApprovalRuleMode
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ properties:
associates:
type: AssociateDraft[]
description: |
The new list of Associates. If not provided, any existing list is removed.
The new list of Associates. If empty, existing values will be removed.
maxItems: 2000
1 change: 1 addition & 0 deletions api-specs/api/types/cart/Cart.raml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ properties:
type: DiscountCodeInfo[]
description: |
Discount Codes applied to the Cart. A Cart that has `directDiscounts` cannot have `discountCodes`.
maxItems: 10
directDiscounts:
type: DirectDiscount[]
description: |
Expand Down
1 change: 1 addition & 0 deletions api-specs/api/types/discount-code/DiscountCode.raml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ properties:
type: CartDiscountReference[]
description: |
Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.
maxItems: 10
cartPredicate?:
type: string
description: |
Expand Down
1 change: 1 addition & 0 deletions api-specs/api/types/product/ProductData.raml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ properties:
type: ProductVariant[]
description: |
Additional Product Variants.
maxItems: 100
searchKeywords:
type: SearchKeywords
description: |
Expand Down
1 change: 1 addition & 0 deletions api-specs/api/types/product/ProductDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ properties:
type: ProductVariantDraft[]
description: |
The additional Product Variants for the Product.
maxItems: 100
taxCategory?:
type: TaxCategoryResourceIdentifier
description: |
Expand Down
1 change: 1 addition & 0 deletions api-specs/api/types/product/ProductVariant.raml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ properties:
description: |
The Embedded Prices of the Product Variant.
Cannot contain two Prices of the same Price scope (with same currency, country, Customer Group, Channel, `validFrom` and `validUntil`).
maxItems: 100
attributes?:
type: Attribute[]
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ properties:
description: |
The Embedded Prices to set.
Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, `validFrom` and `validUntil`).
maxItems: 100
staged?:
type: boolean
description: |
Expand Down
3 changes: 3 additions & 0 deletions api-specs/api/types/store/Store.raml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ properties:
type: ChannelReference[]
description: |
Product Distribution Channels allowed for the Store.
maxItems: 100
supplyChannels:
type: ChannelReference[]
description: |
Inventory Supply Channels allowed for the Store.
maxItems: 100
productSelections:
type: ProductSelectionSetting[]
description: |-
Expand All @@ -68,6 +70,7 @@ properties:
- If only `inactive` Product Selections with `IndividualExclusion` [ProductSelectionMode](ctp:api:type:ProductSelectionMode) are provided, all the Products are availlable in this Store.
- If all the Product Selections provided are `inactive` and there's at least a Product Selection of mode `Individual`, no Product is availlable in this Store.
- If at least an `active` Product Selection is provided, only `active` Product Selections are considered to compute the availlability in this Store.
maxItems: 100

custom?:
type: CustomFields
Expand Down
3 changes: 3 additions & 0 deletions api-specs/api/types/store/StoreDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ properties:
type: ChannelResourceIdentifier[]
description: |
ResourceIdentifier of a Channel with `ProductDistribution` [ChannelRoleEnum](ctp:api:type:ChannelRoleEnum).
maxItems: 100
supplyChannels?:
type: ChannelResourceIdentifier[]
description: |
ResourceIdentifier of a Channel with `InventorySupply` [ChannelRoleEnum](ctp:api:type:ChannelRoleEnum).
maxItems: 100
productSelections?:
type: ProductSelectionSettingDraft[]
description: |
Expand All @@ -40,6 +42,7 @@ properties:
- If only `inactive` Product Selections with `IndividualExclusion` [ProductSelectionMode](ctp:api:type:ProductSelectionMode) are provided, all the Products are available in this Store.
- If all the Product Selections provided are `inactive` and there's at least a Product Selection of mode `Individual`, no Product is available in this Store.
- If at least an `active` Product Selection is provided, only `active` Product Selections are considered to compute the availability in this Store.
maxItems: 100

custom?:
type: CustomFieldsDraft
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ properties:
description: |
Value to set.
If not defined, the Store's `distributionChannels` are unset.
maxItems: 100
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ properties:
- If provided, Product Selections for which `active` is set to `true` are available in the Store.
- If not provided or provided as empty array, the action removes all Product Selections from this Store, meaning all Products in the [Project](ctp:api:type:Project) are available in this Store.
maxItems: 100
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ properties:
description: |
Value to set.
If not defined, the Store's `supplyChannels` are unset.
maxItems: 100

0 comments on commit 3bde1ef

Please sign in to comment.