Home > @shopware-pwa/shopware-6-client > setCurrentShippingAddress
# setCurrentShippingAddress() function
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
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