---
title: ApplePayShippingMethodUpdate
framework: applepayontheweb
role: symbol
role_heading: Structure
path: applepayontheweb/applepayshippingmethodupdate
---

# ApplePayShippingMethodUpdate

Updated transaction details that result from a change in shipping method.

## Declaration

```data
dictionary ApplePayShippingMethodUpdate {
	required ApplePayLineItem newTotal;
	sequence <ApplePayLineItem> newLineItems;
	sequence <ApplePayPaymentTokenContext> newMultiTokenContexts;
	ApplePayAutomaticReloadPaymentRequest newAutomaticReloadPaymentRequest;
	ApplePayRecurringPaymentRequest newRecurringPaymentRequest;
	ApplePayDeferredPaymentRequest newDeferredPaymentRequest;
	sequence <ApplePayShippingMethod> newShippingMethods;
};
```

## Mentioned in

Apple Pay on the Web Version 3 Release Notes

## Overview

Overview Provide updated transaction details if the user changes the shipping method in the payment sheet. Recalculate the total for the payment, because it may change as a result of shipping method changes. The newTotal value is required.

## Topics

### Updating shipping method properties

- [newLineItems](applepayontheweb/applepayshippingmethodupdate/newlineitems.md)
- [newTotal](applepayontheweb/applepayshippingmethodupdate/newtotal.md)
- [newShippingMethods](applepayontheweb/applepayshippingmethodupdate/newshippingmethods.md)

### Updating automatic reload payments

- [newAutomaticReloadPaymentRequest](applepayontheweb/applepayshippingmethodupdate/newautomaticreloadpaymentrequest.md)

### Updating multitoken or multimerchant payment

- [newMultiTokenContexts](applepayontheweb/applepayshippingmethodupdate/newmultitokencontexts.md)

### Updating recurring payments

- [newRecurringPaymentRequest](applepayontheweb/applepayshippingmethodupdate/newrecurringpaymentrequest.md)

### Updating deferred payments

- [newDeferredPaymentRequest](applepayontheweb/applepayshippingmethodupdate/newdeferredpaymentrequest.md)

## See Also

### Handling shipping method updates

- [onshippingmethodselected](applepayontheweb/applepaysession/onshippingmethodselected.md)
- [completeShippingMethodSelection](applepayontheweb/applepaysession/completeshippingmethodselection.md)
- [ApplePayShippingMethodSelectedEvent](applepayontheweb/applepayshippingmethodselectedevent.md)
