diff --git a/react/fetchers/index.js b/react/fetchers/index.js index 42a93bb..16598ac 100644 --- a/react/fetchers/index.js +++ b/react/fetchers/index.js @@ -134,6 +134,8 @@ export function updateShippingData( return li }) + const contactInformation = window?.vtexjs?.checkout?.orderForm?.shippingData?.contactInformation?.map(({ id }) => ({ id })) ?? [] + const shippingData = { ...(hasGeocoordinates ? { clearAddressIfPostalCodeNotFound: false } : {}), selectedAddresses: [ @@ -141,6 +143,7 @@ export function updateShippingData( pickupAddressWithAddressId, ], logisticsInfo: logisticsInfoWithDefaultDeliverySla, + contactInformation, } return (