Home > @shopware-pwa/shopware-6-client > setCurrentShippingAddress
# setCurrentShippingAddress() function
Set the current session's shipping address to correspoding to id
Signature:
export declare function setCurrentShippingAddress(shippingAddressId: string, contextInstance?: ShopwareApiInstance): Promise<ContextTokenResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
shippingAddressId | string | |
contextInstance | ShopwareApiInstance |
Returns:
Promise<ContextTokenResponse>
# Exceptions
ClientApiError