Poq.SDK.Node

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

AccountService.getCookies() method

Method returns session cookies.

Signature:

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

Parameters

Parameter Type Description
_appIdentifier string  
token string Auth token.

Returns:

Promise<PoqResponse<HttpCookieResponse[]>>

Returns array of http cookies.