Poq.SDK.Node

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

AccountService.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  
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.