Skip to content
On this page

getCustomerAddress ​

Definition ​

Get the customer's address by id

Signature ​

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

Parameters ​

NameTypeDescription
addressId
string
ID of the address
contextInstance
ShopwareApiInstance
ShopwareApiInstance

Return type ​

ts
Promise<CustomerAddress>

Properties ​

NameTypeDescription

Usage example ​

WARNING

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

Open in StackBlitz

getCustomerAddress has loaded