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 Dec 18, 2024
1 parent 7abe530 commit 6249613
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: object
(beta): true
displayName: ProductTailoringAttribute
description: |
The same rules for `name` and `value` apply as for [Attribute](ctp:api:type:Attribute) in Product Variants.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ properties:
If present, these assets will override the assets of the corresponding [ProductVariant](ctp:api:type:ProductVariant) in total.
attributes?:
type: ProductTailoringAttribute[]
(beta): true
description: |
Attributes of the tailored Product Variant.
If present, these Attributes are selectively merged into the `attributes` of the corresponding [ProductVariant](ctp:api:type:ProductVariant):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ properties:
Media assets of the tailored Product Variant.
attributes?:
type: ProductTailoringAttribute[]
(beta): true
description: |
Attributes of the tailored Product Variant according to the respective [AttributeDefinition](ctp:api:type:AttributeDefinition).
If provided, these Attributes are selectively merged into the `attributes` of the corresponding [ProductVariant](ctp:api:type:ProductVariant):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ properties:
Media assets for the Product Variant Tailoring.
attributes?:
type: ProductTailoringAttribute[]
(beta): true
description: |
Attributes for the Product Variant Tailoring.
staged?:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: ProductTailoringUpdateAction
(beta): true
displayName: ProductTailoringSetAttributeAction
discriminatorValue: setAttribute
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#%RAML 1.0 DataType
(package): ProductTailoring
type: ProductTailoringUpdateAction
(beta): true
displayName: ProductTailoringSetAttributeInAllVariantsAction
discriminatorValue: setAttributeInAllVariants
example: !include ../../../examples/ProductTailoring/ProductTailoringSetAttributeInAllVariantsAction.json
Expand Down
8 changes: 0 additions & 8 deletions api-specs/graphql/schema.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ input AddProductVariantTailoring {
id: Int
sku: String
images: [ImageInput!] = []
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
attributes: [ProductAttributeInput!] = []
assets: [AssetDraftInput!] = []
staged: Boolean = true
Expand Down Expand Up @@ -8749,10 +8748,7 @@ input ProductTailoringUpdateAction {
setAssetTags: SetProductTailoringAssetTags
setImages: SetProductTailoringImages
setDescription: SetProductTailoringDescription
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
setAttribute: SetProductTailoringAttribute

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
setAttributeInAllVariants: SetProductTailoringAttributeInAllVariants
setImageLabel: SetProductTailoringImageLabel
setMetaAttributes: SetProductTailoringMetaAttributes
Expand Down Expand Up @@ -9024,7 +9020,6 @@ type ProductVariantTailoring {
id: Int!
images: [Image!]!
assets: [Asset!]!
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
attributesRaw: [RawProductAttribute!]!
}

Expand All @@ -9041,7 +9036,6 @@ input ProductVariantTailoringInput {
id: Int
sku: String
images: [ImageInput!] = []
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
attributes: [ProductAttributeInput!] = []
assets: [AssetDraftInput!] = []
}
Expand Down Expand Up @@ -11993,7 +11987,6 @@ input SetProductTailoringAssetTags {
assetId: String
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetProductTailoringAttribute {
variantId: Int
sku: String
Expand All @@ -12002,7 +11995,6 @@ input SetProductTailoringAttribute {
staged: Boolean = true
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetProductTailoringAttributeInAllVariants {
name: String!
value: String
Expand Down

0 comments on commit 6249613

Please sign in to comment.