# Shopee API Endpoints

Tài liệu chi tiết tất cả API endpoints của Shopee được sử dụng trong AutoShopee Kit.

- **Seller API** base: `https://banhang.shopee.vn`
- **Client API** base: `https://shopee.vn`
- **Affiliate API** base: `https://open-api.affiliate.shopee.vn`

---

## Shopee Seller API

Tất cả Seller API sử dụng Axios instance `apiShopeeSeller` với base URL `https://banhang.shopee.vn`. Mỗi request tự động gắn `SPC_CDS`, `SPC_CDS_VER`, `version` vào params.

**File cấu hình**: `src/app/api/shopee/seller/init.js`

---

### Đơn hàng (Order)

**File**: `src/app/api/shopee/seller/order/index.js`, `src/app/api/shopee/seller/order/list.js`, `src/app/api/shopee/seller/order/post.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getOrderId` | GET | `/api/v3/order/get_one_order` | `order_id` | Lay thong tin chi tiet 1 don hang theo ID |
| `getOrderStats` | GET | `/api/sellermisc/homepage/get_to_do_list_summary/` | - | Lay thong ke tong quan don hang (to-do list) |
| `getListOrderIndex` | POST | `/api/v3/order/search_order_list_index` | `order_list_tab`, `pagination`, `filter` | Tim kiem danh sach index don hang theo tab va phan trang |
| `getListOrderCard` | POST | `/api/v3/order/get_order_list_card_list` | `order_list_tab`, `order_param_list` | Lay thong tin card hien thi cua danh sach don hang |
| `getListOrderButton` | POST | `/api/v3/order/get_order_list_buttons` | `order_list_tab`, `order_with_ofgs` | Lay danh sach button hanh dong cho don hang |
| `getListOrderCompleted` | POST | (k???t h???p index + card) | `limit`, `page`, `sentinel` | Lay danh sach don hang da hoan thanh (tab 500) |
| `getListButtonCompleted` | POST | (k???t h???p index + button) | `limit`, `page`, `sentinel` | Lay danh sach button cua don hang da hoan thanh |
| `ratingOrderCompleted` | POST | `/api/v3/order/rate_order/` | `order_id`, `rate_star`, `rate_comment` | Danh gia don hang da hoan thanh |

---

### In don hang (Print)

**File**: `src/app/api/shopee/seller/order/print.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getShopeePrintPdf` | GET | `/api/v3/logistics/download_sd_job` | `job_id`, `is_first_time` | Tai file PDF phieu van don (response: arraybuffer) |

---

### San pham (Product)

**File**: `src/app/api/shopee/seller/product/get.js`, `src/app/api/shopee/seller/product/list.js`, `src/app/api/shopee/seller/product/post.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getShopeeSellerProductId` | GET | `/api/v3/product/get_product_info` | `product_id`, `is_draft` | Lay thong tin chi tiet san pham theo ID (co cache) |
| `getShopeeAttributeCategoryId` | GET | `/api/v3/category/get_attribute_tree/` | `category_ids` | Lay danh sach thuoc tinh theo danh muc (co cache) |
| `shopeeSellerSearchProductList` | GET | `/api/v3/mpsku/list/search_product_list` | `page_number`, `page_size`, `keyword`, `search_type`, `cursor` | Tim kiem san pham trong shop seller |
| `shopeeSellerFetchProductList` | GET | (goi `shopeeSellerSearchProductList`) | `page`, `limit`, `cursor` | Lay danh sach san pham voi cache |
| `shopeeSellerUpdateProductId` | POST | `/api/v3/product/update_product_info/` | `product_id`, `product_info` | Cap nhat thong tin san pham |
| `shopeeSellerCreateProduct` | POST | `/api/v3/product/create_product_info` | `product_info` | Tao san pham moi (validate truoc khi tao) |

---

### Chat / Tin nhan

**File**: `src/app/api/shopee/seller/chat/index.js`, `src/app/api/shopee/seller/chat/render.js`, `src/app/api/shopee/seller/chat/socket.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `sendChatMessage` | POST | `/webchat/api/v1.2/mini/messages` | `to_id`, `shop_id`, `type`, `content`, `request_id` | Gui tin nhan chat (text, sticker, image, product, voucher) |
| `uploadImageWebchat` | POST | `/webchat/api/coreapi/v1.2/images` | `file` (FormData) | Upload hinh anh cho webchat |
| `updateConversationStatus` | PUT | `/webchat/api/v1.2/mini/conversations/{id}/status` | `shop_id`, `status`, `biz_id` | Cap nhat trang thai cuoc hoi thoai |
| `setConversationActive` | PUT | (goi `updateConversationStatus`) | `conversationId`, `shopId` | Kich hoat lai cuoc hoi thoai |
| `setConversationClosed` | PUT | (goi `updateConversationStatus`) | `conversationId`, `shopId` | Dong cuoc hoi thoai |
| `getConversationRedirection` | POST | `/webchat/api/v1.2/mini/conversation/redirection` | `user_id`, `shop_id`, `biz_id`, `entry_point` | Lay thong tin chuyen huong cuoc hoi thoai (tao/tim conversation) |
| `renderPayloadSend` | - | - | `userId`, `ctoken`, `body`, `timestamp`, `authorization` | Tao payload xac thuc cho gui tin nhan (SHA256 signature) |
| `readySendChat` | - | - | - | Lay thong tin xac thuc chat (userId, ctoken, authorization) |
| `socketConnectChat` | WebSocket | `wss://seller-push-ws.shopee.vn/socket.io/` | `onMessage`, `onConnect`, `onDisconnect` | Ket noi WebSocket nhan tin nhan real-time |

---

### Quang cao (Ads)

**File**: `src/app/api/shopee/seller/ads.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getListAdsCampaign` | GET | `/api/marketing/v3/pas/homepage/` | `campaign_state`, `sort_key`, `start_time`, `end_time`, `offset`, `limit` | Lay danh sach chien dich quang cao |
| `getAdsCampaignId` | GET | `/api/marketing/v3/pas/campaign/` | `campaignid` | Lay chi tiet 1 chien dich quang cao theo ID |
| `addKeywordCampaignId` | PUT | `/api/marketing/v3/pas/search/` | `campaignid`, `placement`, `keyword_list` | Them tu khoa vao chien dich quang cao |
| `updateKeywordCampaignId` | PUT | `/api/marketing/v3/pas/search/` | `campaignid`, `placement`, `keyword_list` | Cap nhat tu khoa trong chien dich quang cao |

---

### Marketing / Voucher

**File**: `src/app/api/shopee/seller/marketing.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getListVoucherAll` | GET | `/api/marketing/v3/voucher/list/` | `limit`, `offset`, `promotion_type` | Lay danh sach tat ca voucher (type: 0=all) |
| `getListVoucherActive` | GET | (goi `getListVoucherAll`) | - | Lay danh sach voucher dang hoat dong (type: 2) |

---

### Flash Sale

**File**: `src/app/api/shopee/seller/flashsale.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getTimeSlotFlashSale` | GET | `/api/marketing/v4/shop_flash_sale/time_slot/` | `start_time`, `end_time` | Lay danh sach khung gio flash sale kha dung |
| `createFlashSaleIdFromTime` | POST | `/api/marketing/v4/shop_flash_sale/set/` | `time_slot_id` | Tao flash sale moi tu khung gio |
| `removeFlashSaleId` | POST | `/api/marketing/v4/shop_flash_sale/set/` | `flash_sale_id`, `time_slot_id`, `status=0` | Xoa flash sale |
| `updateFlashSaleSetListProduct` | POST | `/api/marketing/v4/shop_flash_sale/batch_items/set/` | `flash_sale_id`, `items` | Them/cap nhat san pham vao flash sale (co retry) |
| `updateFlashSaleIndexListProduct` | POST | `/api/marketing/v4/shop_flash_sale/item_seq/` | `flash_sale_id`, `display_sequence_list` | Cap nhat thu tu hien thi san pham trong flash sale |
| `getListFlashSale` | GET | `/api/marketing/v4/shop_flash_sale/list/` | `offset`, `limit`, `type` | Lay danh sach flash sale (all/next/current/end) |
| `getFlashSaleId` | GET | `/api/marketing/v4/shop_flash_sale/batch_items/get` | `flash_sale_id`, `offset`, `limit` | Lay danh sach san pham trong 1 flash sale |
| `getFlashSaleCampaignId` | GET | `/api/marketing/v4/shop_flash_sale/get/` | `flash_sale_id` | Lay chi tiet chien dich flash sale |
| `getFlashSaleReport` | GET | `/api/mydata/v2/marketing/flash-sale/overview/` | `page_size`, `page_offset`, `sort_by`, `order_type` | Lay bao cao hieu qua flash sale |
| `getProductListFlashSale` | GET | `/api/marketing/v4/public/product_selector/` | `limit`, `page`, `cursor`, `search_content`, `search_type` | Lay danh sach san pham co the them vao flash sale |

---

### Danh gia (Rating)

**File**: `src/app/api/shopee/seller/rating.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getRatingListUnReply` | GET | `/api/v3/settings/search_shop_rating_comments_new/` | `rating_star`, `page_number`, `page_size`, `reply_status=1` | Lay danh sach danh gia chua tra loi |
| `getRatingListReply` | GET | `/api/v3/settings/search_shop_rating_comments_new/` | `payloadFilter`, `page_number`, `page_size`, `cursor` | Lay danh sach danh gia (co bo loc tuy chinh) |
| `getRatingMeta` | GET | `/api/v3/settings/search_shop_rating_comments_new/` | `rating_star`, `reply_status=1` | Lay thong ke so luong danh gia theo sao |
| `replyRatingId` | POST | `/api/v3/settings/reply_shop_rating/` | `order_id`, `comment_id`, `comment` | Tra loi danh gia cua khach hang |

---

### Shop / Tai khoan

**File**: `src/app/api/shopee/seller/get.js`, `src/app/api/shopee/seller/index.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getShopeeSellerInfo` | GET | `/api/forward/accountservice/v2/shop/` | - | Lay thong tin shop (shop_id, username, shop_name) |
| `getShopeeSellerAccountInfo` | GET | `/api/selleraccount/shop_info/` | - | Lay thong tin tai khoan seller |
| `getShopeeSellerFrameworkInfo` | GET | `/api/framework/selleraccount/shop_info/` | - | Lay thong tin shop qua framework API |
| `getShopeeSellerLogin` | GET | `/api/v2/login/` | `SPC_CDS` (optional) | Lay thong tin dang nhap seller |
| `getShopeeSellerFallbackInfo` | GET | (goi nhieu API fallback) | - | Lay thong tin seller bang cach thu lan luot nhieu API |
| `getShopeeSellerConfig` | GET | `/api/sellermisc/sc_conf/get_shop_settings/` | - | Lay cau hinh shop |
| `getShopeeWebchatLogin` | POST | `/webchat/api/coreapi/v1.2/mini/login/sc` | - | Dang nhap webchat de lay token |
| `getShopeSellerLogisticList` | GET | `/api/v3/logistics/get_channel_list/` | - | Lay danh sach kenh van chuyen (co cache) |
| `getShopeSellerWarehouseList` | GET | `/api/v3/product/get_shop_warehouse/` | - | Lay danh sach kho hang (co cache) |

---

### Tai khoan phu (Sub Account)

**File**: `src/app/api/shopee/seller/subaccount.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getShopeeSubAccountInfo` | GET | `/api/selleraccount/subaccount/get/` | `account_id`, `SPC_CDS` (optional) | Lay thong tin tai khoan phu |
| `getShopeeSubAccountFramework` | GET | `/api/framework/selleraccount/subaccount/get/` | `account_id`, `SPC_CDS` (optional) | Lay thong tin tai khoan phu qua framework API |
| `getShopeeSubAccountShopList` | GET | `/api/selleraccount/subaccount/get_shop_list/` | `page_index`, `page_size`, `search_type`, `account_id` | Lay danh sach shop cua tai khoan phu |
| `getShopeeIsSubAccount` | GET | (goi `getShopeeSubAccountInfo`) | - | Kiem tra co phai tai khoan phu khong |

---

### Hinh anh (Image)

**File**: `src/app/api/shopee/image.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `uploadImageBloob` | POST | `/api/v3/general/upload_image/` | `file` (FormData) | Upload hinh anh (blob) len Shopee, tra ve `resource_id` |
| `uploadImageBas64` | POST | (goi `uploadImageBloob`) | `base64Image` | Upload hinh anh tu base64 (chuyen sang blob truoc) |
| `getImageUrlData` | - | - | `imageUrl` | Tai hinh anh tu URL, tra ve base64 va blob |

---

## Shopee Client API

Tat ca Client API su dung Axios instance `apiShopeeClient` voi base URL `https://shopee.vn`. Mot so API su dung `excuteFetchUrl` (inject script vao trang) hoac `readyFetchUrlShopeeClient` (bridge qua content script) de tranh bi phat hien crawler.

**File cau hinh**: `src/app/api/shopee/client/init.js`

---

### San pham (Product)

**File**: `src/app/api/shopee/client/product/index.js`, `src/app/api/shopee/client/product/get.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getShopeeProductId` | GET | `/api/v4/pdp/get_pc` | `shop_id`, `item_id` | Lay thong tin chi tiet san pham (co cache, nhieu phuong thuc fetch: request/content/popup) |
| `fetchShopeeProductStock` | POST | `/api/v4/pdp/cart_panel/select_variation_pc` | `item_id`, `shop_id`, `quantity`, `selected_tiers` | Lay thong tin ton kho cua phien ban san pham |
| `getShopeeProductStock` | - | - | `productId`, `shopId` | Lay ton kho san pham tu cache/KV store |
| `getSearchKeywordProduct` | GET | `/api/v4/search/search_items` | `keyword`, `limit`, `newest`, `by`, `order` | Tim kiem san pham theo tu khoa |
| `getShopeeProductListReview` | GET | `/api/v2/item/get_ratings` | `itemid`, `shopid`, `limit`, `offset`, `filter`, `type` | Lay danh sach danh gia cua san pham |

---

### Shop

**File**: `src/app/api/shopee/client/shop/get.js`, `src/app/api/shopee/client/shop/search.js`, `src/app/api/shopee/client/shop/user.js`, `src/app/api/shopee/client/shop/index.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getShopeeShopId` | GET | `/api/v4/shop/get_shop_base` | `shopid`, `entry_point`, `need_cancel_rate` | Lay thong tin shop theo ID (co cache) |
| `getShopeeShopByUsername` | GET | `/api/v4/shop/get_shop_base` | `username`, `entry_point`, `need_cancel_rate` | Lay thong tin shop theo username (co cache) |
| `shopeeSearchShopId` | GET | `/api/v4/shop/rcmd_items` | `shop_id`, `limit`, `offset`, `sort_type` | Lay danh sach san pham cua shop (recommend items) |
| `getShopeeProfileClient` | GET | `/api/v2/user/profile/get/` | - | Lay thong tin profile nguoi dung hien tai |
| `validShopeeApiClient` | - | - | - | Kiem tra trang thai dang nhap client (kiem tra cookies) |
| `getShopeeSpcfValue` | - | - | - | Lay gia tri cookie SPC_F |
| `getShopeeClientCookies` | - | - | - | Lay tat ca cookies cua shopee.vn |

---

### Tim kiem (Search)

**File**: `src/app/api/shopee/client/search/index.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `shopeeSearchProductCategoryId` | GET | `/api/v4/search/search_items` | `match_id` (category), `limit`, `newest`, `by=sales` | Tim kiem san pham theo danh muc (sap xep theo luot ban) |
| `shopeeSearchProductKeyword` | GET | `/api/v4/search/search_items` | `keyword`, `limit`, `newest`, `by=relevancy` | Tim kiem san pham theo tu khoa |
| `shopeeSearchSoldoutShopId` | GET | `/api/v4/search/search_items` | `shopid`, `filter_sold_out=1`, `sort_by=pop` | Tim kiem san pham het hang trong shop |

---

### Danh muc (Category)

**File**: `src/app/api/shopee/client/category/index.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getShopeeCategoryId` | - | - | `categoryId` | Tim danh muc theo ID (tu du lieu tinh) |
| `getCategoryMatchName` | - | - | `categoryName` | Tim danh muc theo ten (tu du lieu tinh) |
| `getShopeeCategoryList` | - | - | - | Lay danh sach tat ca danh muc (du lieu tinh) |
| `getShopeeCategoryTreeHome` | - | - | - | Lay cay danh muc trang chu (du lieu tinh) |
| `getShopeeCategoryTreeList` | - | - | - | Lay cay danh muc dang danh sach (du lieu tinh) |
| `getListShopCategoryId` | GET | `/api/v4/official_shop/get_shops` | `category_id`, `limit`, `offset` | Lay danh sach shop chinh hang theo danh muc |

---

### Thi truong (Market)

**File**: `src/app/api/shopee/client/market/index.js`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `getKeywordHint` | GET | `/api/v4/search/search_hint` | `keyword`, `search_type`, `version` | Lay goi y tu khoa tim kiem |
| `getKeywordTrending` | GET | `/api/v4/search/trending_search` | `limit`, `offset` | Lay danh sach tu khoa dang xu huong |
| `getKeywordSuggest` | GET | `/api/v4/search/search_suggestion` | `limit`, `offset`, `bundle` | Lay de xuat tu khoa tim kiem pho bien |
| `getShopMallCategoryId` | GET | `/api/v4/official_shop/get_shops` | `category_id`, `limit`, `offset` | Lay danh sach shop Mall theo danh muc (co cache) |

---

## Shopee Affiliate API

**File**: `src/app/api/shopee/affiliate.js`

Su dung GraphQL API voi xac thuc SHA256 signature. Base URL: `https://open-api.affiliate.shopee.vn`.

Cau truc xac thuc:
- `App ID` + `Timestamp` + `Request Body` + `Secret Key` -> SHA256 -> Header `Authorization`

| Ham | Method | Endpoint | Tham so | Mo ta |
|-----|--------|----------|---------|-------|
| `queryBuilder` | POST | `/` (GraphQL) | `query` (GraphQL mutation/query) | Ham chung thuc thi GraphQL query voi xac thuc |
| `getShortLink` | POST | `/` (GraphQL mutation) | `originUrl`, `subIds` | Tao short link affiliate tu URL goc |

---

## Cac ham tien ich (Utilities)

### Fetch Utilities

**File**: `src/app/api/shopee/fetch.js`

| Ham | Mo ta |
|-----|-------|
| `excuteFetchUrl` | Thuc thi fetch URL bang cach inject script vao trang web (tranh bi phat hien bot), ho tro GET/POST, co cache |
| `fetchJson` | Fetch URL va tra ve JSON (su dung native fetch) |
| `fetchHtml` | Fetch URL va tra ve HTML text |

### Getter Utilities

**File**: `src/app/api/shopee/getter.js`

| Ham | Mo ta |
|-----|-------|
| `getBaseHeader` | Tra ve header co ban (`content-type: application/json`) |
| `getRequestProductId` | Lay header da capture tu browser cho request san pham (chong crawler) |
| `getRequestProductSearch` | Lay header da capture tu browser cho request tim kiem (chong crawler) |
| `checkCrawlerDetected` | Kiem tra response co bi Shopee phat hien la crawler (error code 90309999) |

### Validation Utilities

**File**: `src/app/api/shopee/utils.js`

| Ham | Mo ta |
|-----|-------|
| `validateShopeeApiAuthed` | Kiem tra ca Client va Seller API deu da xac thuc |
| `openSellerHome` | Mo trang chu Seller Center trong tab moi |

---

## Tong hop Endpoints

### Seller API Endpoints (banhang.shopee.vn)

| # | Endpoint | Method |
|---|----------|--------|
| 1 | `/api/v3/order/get_one_order` | GET |
| 2 | `/api/sellermisc/homepage/get_to_do_list_summary/` | GET |
| 3 | `/api/v3/order/search_order_list_index` | POST |
| 4 | `/api/v3/order/get_order_list_card_list` | POST |
| 5 | `/api/v3/order/get_order_list_buttons` | POST |
| 6 | `/api/v3/order/rate_order/` | POST |
| 7 | `/api/v3/logistics/download_sd_job` | GET |
| 8 | `/api/v3/product/get_product_info` | GET |
| 9 | `/api/v3/category/get_attribute_tree/` | GET |
| 10 | `/api/v3/mpsku/list/search_product_list` | GET |
| 11 | `/api/v3/product/update_product_info/` | POST |
| 12 | `/api/v3/product/create_product_info` | POST |
| 13 | `/webchat/api/v1.2/mini/messages` | POST |
| 14 | `/webchat/api/coreapi/v1.2/images` | POST |
| 15 | `/webchat/api/v1.2/mini/conversations/{id}/status` | PUT |
| 16 | `/webchat/api/v1.2/mini/conversation/redirection` | POST |
| 17 | `/webchat/api/coreapi/v1.2/mini/login/sc` | POST |
| 18 | `/api/marketing/v3/pas/homepage/` | GET |
| 19 | `/api/marketing/v3/pas/campaign/` | GET |
| 20 | `/api/marketing/v3/pas/search/` | PUT |
| 21 | `/api/marketing/v3/voucher/list/` | GET |
| 22 | `/api/marketing/v4/shop_flash_sale/time_slot/` | GET |
| 23 | `/api/marketing/v4/shop_flash_sale/set/` | POST |
| 24 | `/api/marketing/v4/shop_flash_sale/batch_items/set/` | POST |
| 25 | `/api/marketing/v4/shop_flash_sale/item_seq/` | POST |
| 26 | `/api/marketing/v4/shop_flash_sale/list/` | GET |
| 27 | `/api/marketing/v4/shop_flash_sale/batch_items/get` | GET |
| 28 | `/api/marketing/v4/shop_flash_sale/get/` | GET |
| 29 | `/api/mydata/v2/marketing/flash-sale/overview/` | GET |
| 30 | `/api/marketing/v4/public/product_selector/` | GET |
| 31 | `/api/v3/settings/search_shop_rating_comments_new/` | GET |
| 32 | `/api/v3/settings/reply_shop_rating/` | POST |
| 33 | `/api/forward/accountservice/v2/shop/` | GET |
| 34 | `/api/selleraccount/shop_info/` | GET |
| 35 | `/api/framework/selleraccount/shop_info/` | GET |
| 36 | `/api/v2/login/` | GET |
| 37 | `/api/sellermisc/sc_conf/get_shop_settings/` | GET |
| 38 | `/api/v3/logistics/get_channel_list/` | GET |
| 39 | `/api/v3/product/get_shop_warehouse/` | GET |
| 40 | `/api/selleraccount/subaccount/get/` | GET |
| 41 | `/api/framework/selleraccount/subaccount/get/` | GET |
| 42 | `/api/selleraccount/subaccount/get_shop_list/` | GET |
| 43 | `/api/v3/general/upload_image/` | POST |

### Client API Endpoints (shopee.vn)

| # | Endpoint | Method |
|---|----------|--------|
| 1 | `/api/v4/pdp/get_pc` | GET |
| 2 | `/api/v4/pdp/cart_panel/select_variation_pc` | POST |
| 3 | `/api/v4/search/search_items` | GET |
| 4 | `/api/v2/item/get_ratings` | GET |
| 5 | `/api/v4/shop/get_shop_base` | GET |
| 6 | `/api/v4/shop/rcmd_items` | GET |
| 7 | `/api/v2/user/profile/get/` | GET |
| 8 | `/api/v4/search/search_hint` | GET |
| 9 | `/api/v4/search/trending_search` | GET |
| 10 | `/api/v4/search/search_suggestion` | GET |
| 11 | `/api/v4/official_shop/get_shops` | GET |

### WebSocket

| # | URL | Muc dich |
|---|-----|----------|
| 1 | `wss://seller-push-ws.shopee.vn/socket.io/` | Nhan tin nhan chat real-time |

### Affiliate API

| # | Endpoint | Method |
|---|----------|--------|
| 1 | `/` (GraphQL) | POST |
