Skip to content
On this page

setDefaultCustomerBillingAddress ​

Definition ​

Set address as default

Signature ​

ts
export async function setDefaultCustomerBillingAddress(
  addressId: string,
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<string> 

Parameters ​

NameTypeDescription
addressId
string
ID of the address
contextInstance
ShopwareApiInstance
ShopwareApiInstance

Return type ​

ts
Promise<string>

Properties ​

NameTypeDescription

Usage example ​

WARNING

Example is generated automatically. Sometimes it's required to be adjusted to your needs.

Open in StackBlitz

setDefaultCustomerBillingAddress has loaded