All Release Notes
Multiple Shipping Addresses
12 February 2018
Composable Commerce
HTTP API
Enhancement
Carts
It is now possible to capture multiple shipping addresses for one cart. This is done by creating (custom) line item specific shipping addresses. To learn more about this new feature, see the new tutorial.
We added following objects:
- [API] ItemShippingDetails and its draft object ItemShippingDetailsDraft
- [API] ItemShippingTarget
We added following fields:
- [API]
key
on Address - [API]
itemShippingAddresses
on Cart, CartDraft, MyCartDraft, Order and OrderImportDraft - [API]
shippingDetails
of type ItemShippingDetails on LineItem and CustomLineItem - [API]
shippingDetails
of type ItemShippingDetailsDraft on LineItemDraft (also used by AddLineItem), MyLineItemDraft, MyCart AddLineItem, CustomLineItemDraft and LineItemImportDraft - [API]
shippingDetailsToRemove
of type ItemShippingDetailsDraft on RemoveLineItem
We added following update actions:
- [API] AddItemShippingAddress on Cart/MyCart
- [API] RemoveItemShippingAddress on Cart/MyCart
- [API] UpdateItemShippingAddress on Cart/MyCart
- [API] ApplyDeltaToLineItemShippingDetailsTargets on Cart/MyCart
- [API] ApplyDeltaToCustomLineItemShippingDetailsTargets on Cart
- [API] SetLineItemShippingDetails on Cart/MyCart
- [API] SetCustomLineItemShippingDetails on Cart
We added following error message:
- [API] InvalidItemShippingDetails which occurs on the creation of an order with invalid quantity distribution for the addresses.