Home > @shopware-pwa/shopware-6-client > createCustomerAddress
# createCustomerAddress() function
Create an address and respond the new address's id
Signature:
export declare function createCustomerAddress(params: Partial<CustomerAddress>, contextInstance?: ShopwareApiInstance): Promise<CustomerAddress>;
# Parameters
Parameter | Type | Description |
---|---|---|
params | Partial<CustomerAddress> | |
contextInstance | ShopwareApiInstance |
Returns:
Promise<CustomerAddress>
# Exceptions
ClientApiError