Appearance
getUserSalutation ​
Definition ​
Get the current session's salutation
Signature ​
ts
export async function getUserSalutation(
salutationId: string,
contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<Salutation>
Parameters ​
| Name | Type | Description |
|---|---|---|
| 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.