Poq.SDK.Node

Home > @poq/sdk-sfcc > IAccountService > getContent

IAccountService.getContent() method

Method returns profile information and My Account page content blocks.

Signature:

getContent(appIdentifier: string, appId: string, token: string, platform: string): Promise<PoqResponse<AccountContentResponse>>;

Parameters

Parameter Type Description
appIdentifier string The unique guid v4 app identifier.
appId string The unique app identifier.
token string Auth token.
platform string Auth token.

Returns:

Promise<PoqResponse<AccountContentResponse>>

Content blocks for an account.

Remarks

Method is used to provide content for MyAccount View. This method works with appId of integer type. Such identifier exists to provide backward compatibility.