diff --git a/packages/platform-sdk/src/generated/models/cart.ts b/packages/platform-sdk/src/generated/models/cart.ts index 8ba640fb7..aa9044193 100644 --- a/packages/platform-sdk/src/generated/models/cart.ts +++ b/packages/platform-sdk/src/generated/models/cart.ts @@ -436,6 +436,7 @@ export interface CartDraft { readonly billingAddress?: _BaseAddress /** * Shipping address for a Cart with `Single` [ShippingMode](ctp:api:type:ShippingMode). Determines eligible [ShippingMethod](ctp:api:type:ShippingMethod) rates and Tax Rates of Line Items. + * Must be one of the `itemShippingAddresses` when that field is also provided. * * */ @@ -1265,7 +1266,7 @@ export interface ItemShippingTarget { /** * User-defined unique identifier of the Shipping Method in a Cart with `Multiple` [ShippingMode](ctp:api:type:ShippingMode). * - * It connects Line Item quantities with individual shipping addresses. + * It connects Line Item or Custom Line Item quantities with individual Shipping Methods. * */ readonly shippingMethodKey?: string diff --git a/packages/platform-sdk/src/generated/models/order.ts b/packages/platform-sdk/src/generated/models/order.ts index 1cb1d77a1..fea69a0e6 100644 --- a/packages/platform-sdk/src/generated/models/order.ts +++ b/packages/platform-sdk/src/generated/models/order.ts @@ -2398,6 +2398,7 @@ export interface OrderRemoveDeliveryAction { } /** * An address can only be removed if it is not referenced in any [ItemShippingTarget](ctp:api:type:ItemShippingTarget) of the Cart. + * In such case, change the Line Item shipping address to a different `addressKey` first using the [Set LineItemShippingDetails](ctp:api:type:OrderSetLineItemShippingDetailsAction) update action, before you remove the obsolete address. * */ export interface OrderRemoveItemShippingAddressAction { diff --git a/packages/platform-sdk/src/generated/models/shipping-method.ts b/packages/platform-sdk/src/generated/models/shipping-method.ts index dbd2cd72d..5ae44f3cc 100644 --- a/packages/platform-sdk/src/generated/models/shipping-method.ts +++ b/packages/platform-sdk/src/generated/models/shipping-method.ts @@ -295,7 +295,7 @@ export interface ShippingRate { */ readonly price: TypedMoney /** - * Shipping is free if the sum of the (Custom) Line Item Prices reaches the specified value. + * [Free shipping](/../shipping-delivery-overview#free-shipping) is applied if the sum of the (Custom) Line Item Prices reaches the specified value. * */ readonly freeAbove?: TypedMoney @@ -320,7 +320,7 @@ export interface ShippingRateDraft { */ readonly price: _Money /** - * Shipping is free if the sum of the (Custom) Line Item Prices reaches the specified value. + * [Free shipping](/../shipping-delivery-overview#free-shipping) is applied if the sum of the (Custom) Line Item Prices reaches the specified value. * */ readonly freeAbove?: _Money @@ -367,7 +367,7 @@ export interface CartClassificationTier { export interface CartScoreTier { readonly type: 'CartScore' /** - * Abstract value for categorizing a Cart. The range starts at `0`. The default price covers `0`, tiers start at `1`. See [Using Tiered Shipping Rates](/../tutorials/shipping-rate) for details and examples. + * Abstract value for categorizing a Cart. The range starts at `0`. The default price covers `0`, tiers start at `1`. See [Tiered shipping rates](/../api/shipping-delivery-overview#tiered-shipping-rates) for details and examples. * * */ diff --git a/references.txt b/references.txt index 550a4bb69..849435c73 100644 --- a/references.txt +++ b/references.txt @@ -229,3 +229,4 @@ c640bc7c38e111f9df252979cc5c2ab22568a3d8 8242aca6c3e58147ce99c6a1dbd08e35818b1563 2e6876d6e80db67518bc18caed1e630372cae607 455326d83ec0750dfaec9afc7ec640f15412a68f +bbed21a27bf83c8ac16f323969d71a8855623523