Appearance
createCustomerAddress
Definition
Create an address and respond the new address's id
Signature
ts
export async function createCustomerAddress(
params: Partial<CustomerAddress>,
contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<CustomerAddress>
Parameters
Name | Type | Description |
---|---|---|
params | Partial<CustomerAddress> | address data |
contextInstance | ShopwareApiInstance | ShopwareApiInstance |
Return type
ts
Promise<CustomerAddress>
Properties
Name | Type | Description |
---|
Usage example
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.