Skip to content
On this page

setDefaultCustomerShippingAddress

Definition

Set address as default

Signature

ts
export async function setDefaultCustomerShippingAddress(
  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

setDefaultCustomerShippingAddress has loaded