Skip to content
On this page

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

NameTypeDescription
params
Partial<CustomerAddress>
address data
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

createCustomerAddress has loaded