# 1688 API - Get the products of a 1688 shop(By ID)

## API Overview

- Get all products from 1688 shop by shop ID
- Support sorting and filtering
- See More

## API URL

`GET https://api.tmapi.io/1688/shop/items`

## Request Parameters

### Query

| Field | Type | Explanation | Required |
| --- | --- | --- | --- |
| member_id | string | Seller member ID | true |
| page | integer | Page number<br/>Default value: 1 | false |
| page_size | integer | Number of items per page<br/>Default value: 20 | false |
| sort | string | Optional values: `default`, `sales`, `price_up`, `price_down`, `time_up`, `time_down`<br/>Default value: default | false |
| shop_cat_id | string | Shop category ID | false |
| price_start | string | Filter: Minimum value of price range | false |
| price_end | string | Filter: Maximum value of price range | false |

## Security Auth

> Please go to [Console-Account Center](https://console.tmapi.io/account/center) to get your apiToken.

> Add your apiToken to the request parameters. Please refer to the examples below.

## Request Example

```bash

curl --request GET 'https://api.tmapi.io/1688/shop/items?apiToken=xxxxxx&member_id=jane727&page=1&page_size=20&sort=default'

```

## Response Example

```json

{
  "code": 200,
  "msg": "success",
  "data": {
    "page": 1,
    "page_size": 3,
    "total_count": "2465",
    "shop_cat_id": "",
    "keyword": "",
    "price_start": "",
    "price_end": "",
    "sort": "default",
    "items": [
      {
        "item_id": "693334796781",
        "title": "欧美跨境饰品抽拉可调节蜡线choker项饰简约个性大爱心吊坠项链",
        "img": "https://cbu01.alicdn.com/img/ibank/O1CN01oEsmfk1E96nrFROVF_!!988240308-0-cib.jpg",
        "main_imgs": [
          "https://cbu01.alicdn.com/img/ibank/O1CN01oEsmfk1E96nrFROVF_!!988240308-0-cib.jpg",
          "https://cbu01.alicdn.com/img/ibank/O1CN01Ro1oLD1E96oGpFdKq_!!988240308-0-cib.jpg",
          "https://cbu01.alicdn.com/img/ibank/O1CN01ddJ26m1E96oJNrgr9_!!988240308-0-cib.jpg"
        ],
        "video_id": "",
        "category_path": [
          "70763664",
          "178655228",
          "174572394",
          "15481365",
          "174572396",
          "178655226",
          "87574327"
        ],
        "category_name": "项链",
        "price": "3.90",
        "price_info": {
          "drop_ship_price": "7.90",
          "wholesale_price": "3.90",
          "origin_price": "3.9",
          "agent_price": "3.9"
        },
        "quantity_begin": "2",
        "new_product": false,
        "sale_info": {
          "gmv_30days": "17724.33",
          "gmv_90days": "56251.1",
          "sale_quantity_30days": "3728",
          "sale_quantity_90days": "12942",
          "orders_count_30days": "222"
        },
        "primary_rank_score": "0",
        "type": "SALE",
        "unit": "PCS",
        "created_time": "2022-11-28T11:26:00+0800",
        "status": "published"
      },
      {
        "item_id": "669092103946",
        "title": "欧美跨境饰品夸张朋克多层链条叠戴项饰气质小众几何圆球个性项链",
        "img": "https://cbu01.alicdn.com/img/ibank/O1CN01IE4rlU1E96itGHZac_!!988240308-0-cib.jpg",
        "main_imgs": [
          "https://cbu01.alicdn.com/img/ibank/O1CN01IE4rlU1E96itGHZac_!!988240308-0-cib.jpg",
          "https://cbu01.alicdn.com/img/ibank/O1CN01p2LS2k1E96pwVKao3_!!988240308-0-cib.jpg",
          "https://cbu01.alicdn.com/img/ibank/O1CN01S06PAD1E96oT4tAKW_!!988240308-0-cib.jpg"
        ],
        "video_id": "347500941890",
        "category_path": [
          "70763664",
          "15481366",
          "15481365",
          "176712394",
          "87574327",
          "176712396"
        ],
        "category_name": "项链",
        "price": "4.80",
        "price_info": {
          "drop_ship_price": "4.80",
          "wholesale_price": "4.80",
          "origin_price": "4.8",
          "agent_price": "4.8"
        },
        "quantity_begin": "2",
        "new_product": false,
        "sale_info": {
          "gmv_30days": "16983.61",
          "gmv_90days": "62355.08",
          "sale_quantity_30days": "2378",
          "sale_quantity_90days": "9206",
          "orders_count_30days": "166"
        },
        "primary_rank_score": "0",
        "type": "SALE",
        "unit": "条",
        "created_time": "2022-02-14T08:21:00+0800",
        "status": "published"
      },
      {
        "item_id": "709534091263",
        "title": "欧美跨境饰品甜酷休闲水钻沙滩leg chain 弹力带仿珍珠性感腿链女",
        "img": "https://cbu01.alicdn.com/img/ibank/O1CN01JZRIWr1E96ofBdLmZ_!!988240308-0-cib.jpg",
        "main_imgs": [
          "https://cbu01.alicdn.com/img/ibank/O1CN01JZRIWr1E96ofBdLmZ_!!988240308-0-cib.jpg",
          "https://cbu01.alicdn.com/img/ibank/O1CN012krdgR1E96odt2jh0_!!988240308-0-cib.jpg",
          "https://cbu01.alicdn.com/img/ibank/O1CN01i0AjM91E96oUoYAMB_!!988240308-0-cib.jpg"
        ],
        "video_id": "402951614754",
        "category_path": [
          "87574327",
          "15481371",
          "178655229",
          "178655230"
        ],
        "category_name": "脚饰",
        "price": "3.90",
        "price_info": {
          "drop_ship_price": "7.90",
          "wholesale_price": "3.90",
          "origin_price": "3.9",
          "agent_price": "3.9"
        },
        "quantity_begin": "2",
        "new_product": false,
        "sale_info": {
          "gmv_30days": "14439.33",
          "gmv_90days": "36875.57",
          "sale_quantity_30days": "2317",
          "sale_quantity_90days": "5986",
          "orders_count_30days": "298"
        },
        "primary_rank_score": "0",
        "type": "SALE",
        "unit": "PCS",
        "created_time": "2023-03-23T16:36:00+0800",
        "status": "published"
      }
    ]
  }
}

```