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 Aug 8, 2023
1 parent 8c27372 commit eedd398
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 7 deletions.
2 changes: 1 addition & 1 deletion api-specs/api/types/business-unit/Associate.raml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ properties:
type: AssociateRoleAssignment[]
description: |
Roles assigned to the Associate within a Business Unit.
roles:
roles?:
(deprecated): true
type: AssociateRoleDeprecated[]
description: |
Expand Down
4 changes: 4 additions & 0 deletions api-specs/api/types/cart/CustomLineItem.raml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ properties:
type: TaxedItemPrice
description: |
Automatically set after the `taxRate` is set.
taxedPricePortions:
type: MethodTaxedPrice[]
description: |-
Taxed price of the Shipping Method that is automatically set after `perMethodTaxRate` is set.
totalPrice:
type: CentPrecisionMoney
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ properties:
description: |
Value to set.
If empty, any existing value is removed.
shippingKey?:
type: string
description: |
`key` of the [ShippingMethod](ctp:api:type:ShippingMethod) used for this Custom Line Item.
This is required for Carts with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ properties:
description: |
Value to set.
If empty, an existing value is removed.
shippingKey?:
type: string
description: |
`key` of the [ShippingMethod](ctp:api:type:ShippingMethod) used for this Custom Line Item.
This is required for Carts with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
2 changes: 1 addition & 1 deletion api-specs/api/types/common/TypedMoneyDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ properties:
Number of fraction digits for a specified money.
centAmount?:
type: number
format: int32
format: int64
description: |
Amount in the smallest indivisible unit of a currency.
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ properties:
description: |
Value to set.
If empty, any existing value is removed.
shippingKey?:
type: string
description: |
`key` of the [ShippingMethod](ctp:api:type:ShippingMethod) used for this Custom Line Item.
This is required for Carts with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ properties:
description: |
Value to set.
If empty, an existing value is removed.
shippingKey?:
type: string
description: |
`key` of the [ShippingMethod](ctp:api:type:ShippingMethod) used for this Custom Line Item.
This is required for Carts with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(package): ProductSelection
(docs-uri): https://docs.commercetools.com/api/projects/product-selections#individualexclusionproductselectiontype
(beta): true
(markDeprecated): true
(deprecated): true
type: ProductSelectionType
displayName: IndividualExclusionProductSelectionType
discriminatorValue: individualExclusion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(package): ProductSelection
(docs-uri): https://docs.commercetools.com/api/projects/product-selections#individualproductselectiontype
(beta): true
(markDeprecated): true
(deprecated): true
type: ProductSelectionType
displayName: IndividualProductSelectionType
discriminatorValue: individual
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ properties:
description: |-
Number of Products that are currently assigned to this ProductSelection.
type?:
(markDeprecated): true
(deprecated): true
type: ProductSelectionTypeEnum
description: |-
Specifies in which way the Products are assigned to the ProductSelection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ properties:
type: CustomFieldsDraft
description: Custom Fields of this ProductSelection.
type?:
(markDeprecated): true
(deprecated): true
type: ProductSelectionTypeEnum
default: individual
description: Type of the Product Selection.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#%RAML 1.0 DataType
(package): ProductSelection
(beta): true
(markDeprecated): true
(deprecated): true
(docs-uri):
displayName: ProductSelectionTypeEnum
description: |
Expand Down
1 change: 1 addition & 0 deletions api-specs/graphql/schema.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -2876,6 +2876,7 @@ type CustomLineItem {
taxCategoryRef: Reference
taxRate: TaxRate
taxedPrice: TaxedItemPrice
taxedPricePortions: [MethodTaxedPrice!]!
perMethodTaxRate: [MethodTaxRate!]!
discountedPricePerQuantity: [DiscountedLineItemPriceForQuantity!]!
custom: CustomFieldsType
Expand Down

0 comments on commit eedd398

Please sign in to comment.