diff --git a/CHANGELOG.md b/CHANGELOG.md index c1f685c..b435581 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Changed + +- Change to use selectedAddresses field when updating OrderForm Shipping Data + ## [1.37.0] - 2023-11-06 ### Added diff --git a/node/resolvers/Routes/index.ts b/node/resolvers/Routes/index.ts index 339e954..1c4c9b9 100644 --- a/node/resolvers/Routes/index.ts +++ b/node/resolvers/Routes/index.ts @@ -533,10 +533,10 @@ export const Routes = { promises.push( checkout .updateOrderFormShipping(orderFormId, { - address: { + selectedAddresses: [{ ...address, geoCoordinates: address.geoCoordinates ?? [], - }, + }], clearAddressIfPostalCodeNotFound: false, }) .catch((error) => {