Appearance
setCurrentShippingAddress ​
Definition ​
Set the current session's shipping address to correspoding to id
Signature ​
ts
export function setCurrentShippingAddress(
  shippingAddressId: string,
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<ContextTokenResponse> 
Parameters ​
| Name | Type | Description | 
|---|---|---|
| shippingAddressId | string | id of the shipping address | 
| contextInstance | ShopwareApiInstance | instance of the api client (by default it's an Axios instance) | 
Return type ​
ts
Promise<ContextTokenResponse>
Usage example ​
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.