# 최근 본 상품

### 최근 본 상품

<figure><img src="/files/OYSlObSgJR3knFUljpyg" alt=""><figcaption></figcaption></figure>

기본 스킨에서 '최근 본 상품'은 화면이 전환되어도 공통 화면으로서 유지되는 영역입니다.\
회원인 경우와 비회원인 경우, 각각 호출해야 하는 API가 상이합니다.

* 비회원(guest)

> [GET /guest/recent-products](https://docs.shopby.co.kr/?url.primaryName=product/#/Profile/get-guest-recent-products)
>
> ►비회원 최근 본 상품 조회하기\
> 로그인 하지 않은 고객이 최근 본 상품을 조회합니다. &#x20;

localStorage에 저장한 상품 번호 리스트 mallproductNos를 통해 최근 본 상품을 조회합니다.

* 회원(member)

> [GET /profile/recent-products](https://docs.shopby.co.kr/?url.primaryName=product/#/Profile/get-profile-recent-products)
>
> ► 최근 본 상품 조회하기\
> 로그인 이후에만 호출 가능(accessToken)합니다.&#x20;

해당 API는 PC 마이페이지 메인 화면에서도 활용됩니다.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://workspace-help.nhn-commerce.com/aurora-guide/api-1/common/recent-product.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
