Skip to content
On this page

getUserSalutation

Definition

Get the current session's salutation

Signature

ts
export async function getUserSalutation(
  salutationId: string,
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<Salutation> 

Parameters

NameTypeDescription
salutationId
string
id of the salutation
contextInstance
ShopwareApiInstance
instance of the api client (by default it's an Axios instance)

Return type

ts
Promise<Salutation>

Usage example

WARNING

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

Open in StackBlitz

getUserSalutation has loaded