The shipping address can be changed before the order is placed.
Whereas, to change the address of a shipment in transit, it is necessary to wait until the shipment goes into storage, i.e., the courier has already tried to make an initial delivery attempt, but this was unsuccessful. Then, one can contact the couriers' headquarters to be able to change the address of the shipment.