Skip to content

Commit

Permalink
Updated API from documentation release
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Mation committed Sep 29, 2023
1 parent 587bcbd commit a5a20f0
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): Message
(docs-uri): https://docs.commercetools.com/http-api-projects-messages.html#product-selection-product-excluded
(beta): true
type: Message
displayName: ProductSelectionProductExcludedMessage
discriminatorValue: ProductSelectionProductExcluded
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#%RAML 1.0 DataType
(package): Message
(beta): true
type: Message
displayName: ProductSelectionVariantExclusionChangedMessage
discriminatorValue: ProductSelectionVariantExclusionChanged
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): Message
(docs-uri): https://docs.commercetools.com/http-api-projects-messages.html#product-selection-product-excluded
(beta): true
type: MessagePayload
displayName: ProductSelectionProductExcludedMessagePayload
discriminatorValue: ProductSelectionProductExcluded
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#%RAML 1.0 DataType
(package): Message
(beta): true
type: MessagePayload
displayName: ProductSelectionVariantExclusionChangedMessagePayload
discriminatorValue: ProductSelectionVariantExclusionChanged
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ properties:
This field may exist only in Product Selections with `Individual` [ProductSelectionMode](ctp:api:type:ProductSelectionMode).
In absence of this field, all Variants are deemed to be included.
variantExclusion?:
(beta): true
type: ProductVariantExclusion
description: |
The Variants of the Product that are excluded from the Product Selection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ properties:
This field is only available for assignments to a Product Selection with `Individual` [ProductSelectionMode](ctp:api:type:ProductSelectionMode).
variantExclusion?:
(beta): true
type: ProductVariantExclusion
description: |
Defines which Variants of the Product will be excluded from the Product Selection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |-
Given the mode of Product Selection, this assignment refers to, it may contain:
- `variantSelection` field for a Product Selection with `Individual` [ProductSelectionMode](ctp:api:type:ProductSelectionMode).
- `variantExclusion` field for a Product Selection with `IndividualExclusion` [ProductSelectionMode](ctp:api:type:ProductSelectionMode) ([BETA](/../offering/api-contract#public-beta)).
- `variantExclusion` field for a Product Selection with `IndividualExclusion` [ProductSelectionMode](ctp:api:type:ProductSelectionMode).
properties:
product:
Expand All @@ -26,7 +26,6 @@ properties:
The list of SKUs will be updated automatically on any change of those performed on the respective Product itself.
variantExclusion?:
type: ProductVariantExclusion
(beta): true
description: |
Defines which Variants of the Product will be excluded from the Product Selection.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductSelection
(docs-uri): https://docs.commercetools.com/api/projects/product-selections#productvariantexclusion
(beta): true
type: object
displayName: ProductVariantExclusion
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductSelection
(docs-uri): https://docs.commercetools.com/api/projects/product-selections#exclude-product
(beta): true
type: ProductSelectionUpdateAction
displayName: ProductSelectionExcludeProductAction
discriminatorValue: excludeProduct
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductSelection
(docs-uri): https://docs.commercetools.com/api/projects/product-selections#set-variant-exclusion
(beta): true
type: ProductSelectionUpdateAction
displayName: ProductSelectionSetVariantExclusionAction
discriminatorValue: setVariantExclusion
Expand Down

0 comments on commit a5a20f0

Please sign in to comment.