Poq.SDK.Node

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

IAccountService.getCookies() method

Method returns session cookies.

Signature:

getCookies(appIdentifier: string, token: string): Promise<PoqResponse<HttpCookieResponse[]>>;

Parameters

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

Returns:

Promise<PoqResponse<HttpCookieResponse[]>>

Returns array of http cookies.