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 Dec 12, 2023
1 parent dafb565 commit 38de417
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#%RAML 1.0 DataType
(package): CartDiscount
(beta): true
type: CartDiscountTarget
displayName: CartDiscountTotalPriceTarget
discriminatorValue: totalPrice
Expand Down
1 change: 0 additions & 1 deletion api-specs/api/types/cart/Cart.raml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ properties:
Sum of the `taxedPrice` field of [ShippingInfo](ctp:api:type:ShippingInfo) across all Shipping Methods.
discountOnTotalPrice?:
type: DiscountOnTotalPrice
(beta): true
description: |-
Discounts that apply on the Cart `totalPrice`.
taxMode:
Expand Down
1 change: 0 additions & 1 deletion api-specs/api/types/cart/DiscountOnTotalPrice.raml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#%RAML 1.0 DataType
(package): Cart
(beta): true
(docs-uri): https://docs.commercetools.com/api/projects/carts#discountontotalprice
displayName: DiscountOnTotalPrice
type: object
Expand Down
1 change: 0 additions & 1 deletion api-specs/api/types/cart/DiscountedTotalPricePortion.raml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#%RAML 1.0 DataType
(package): Cart
(beta): true
(docs-uri): https://docs.commercetools.com/api/projects/carts#discountedtotalpriceportion
displayName: DiscountedTotalPricePortion
type: object
Expand Down
1 change: 0 additions & 1 deletion api-specs/api/types/order/Order.raml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ properties:
Sum of the `taxedPrice` field of [ShippingInfo](ctp:api:type:ShippingInfo) across all Shipping Methods.
discountOnTotalPrice?:
type: DiscountOnTotalPrice
(beta): true
description: |-
Discounts that apply on the total price of the Order.
taxMode?:
Expand Down
6 changes: 0 additions & 6 deletions api-specs/graphql/schema.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -1699,7 +1699,6 @@ type Cart implements Versioned & ReferenceExpandable {
customLineItems: [CustomLineItem!]!
totalPrice: Money!
taxedPrice: TaxedPrice
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
discountOnTotalPrice: DiscountOnTotalPrice
shippingAddress: Address
billingAddress: Address
Expand Down Expand Up @@ -1862,12 +1861,10 @@ input CartDiscountTargetInput {
totalPrice: CartDiscountTotalPriceTargetInput
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type CartDiscountTotalPriceTarget implements CartDiscountTarget {
type: 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 CartDiscountTotalPriceTargetInput {
dummy: String
}
Expand Down Expand Up @@ -4092,7 +4089,6 @@ type DiscountedProductSearchPriceValue {
discount: ProductDiscount
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type DiscountedTotalPricePortion {
discount: CartDiscount
discountRef: Reference!
Expand Down Expand Up @@ -6451,7 +6447,6 @@ type Order implements Versioned & ReferenceExpandable {
customLineItems: [CustomLineItem!]!
totalPrice: Money!
taxedPrice: TaxedPrice
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
discountOnTotalPrice: DiscountOnTotalPrice
shippingAddress: Address
billingAddress: Address
Expand Down Expand Up @@ -13685,7 +13680,6 @@ type TimeType implements FieldType {
name: String!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type DiscountOnTotalPrice {
discountedAmount: BaseMoney!
includedDiscounts: [DiscountedTotalPricePortion!]!
Expand Down

0 comments on commit 38de417

Please sign in to comment.