To support the split shipping feature, updates have been made to the Profile and Orders resources in the Store REST API. These resources contain endpoints for managing shopper profiles and orders, respectively.
For the Profile resources, support has been added for an
alias
property to identify addresses in the address book.For the Orders endpoints, support has been added for multiple shipping groups, in the form of a
shippingGroups
array, and for analias
property to identify the addresses contained in those shipping groups. Each of the Orders endpoints that take detailed order or cart information in their request payload support theshippingGroups
array. All of the Orders endpoints that return detailed order information will return ashippingGroups
array in the response as long as there are cart items associated with the shipping groups. If none of the shipping groups for a cart or order have cart items associated with them then theshippingGroups
array is suppressed in the endpoint response. This will typically be the case for persisted carts (incomplete orders) that existed in the order repository before the split shipping feature was deployed.