Appearance
setDefaultCustomerShippingAddress ​
Definition ​
Set address as default
Signature ​
ts
export async function setDefaultCustomerShippingAddress(
  addressId: string,
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<string> 
Parameters ​
| Name | Type | Description | 
|---|---|---|
| addressId | string | ID of the address | 
| contextInstance | ShopwareApiInstance | ShopwareApiInstance | 
Return type ​
ts
Promise<string>
Properties ​
| Name | Type | Description | 
|---|
Usage example ​
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.