```javascript
WXAPI.goodsv2({
page: 1
})
```
Partial parameter description:
+ page gets the page data. If this parameter is not passed, the default value is 1.
+ pageSize How many records are obtained per page? If this parameter is not passed, the default is 50
+ gids Search products in batches based on product IDs, separate multiple items with commas
+ cityId only pulls products published by all stores in the current city
+ k Search for keywords, which will automatically segment and associate words, similar to the search function of Baidu input box. If you don’t want to use this kind of search, you can use the following search
+ nameLike product title fuzzy search
+ tagsLike product tags (keywords) fuzzy matching
+ categoryId gets the products under the specified category. Multiple categories are separated by commas.
+ categoryKey Search based on category KEY
+ notCategoryId does not display products under a certain category. Multiple categories are separated by commas.
+ showWholesale whether to display wholesale setting data
+ recommendStatus Do not pass this parameter to get all products; 0 is a general product; 1 is a recommended product
+ showExtJson passes true to return extended attributes
+ showShop returns the store information
+ shopId gets the product data of the specified store. If you do not pass it, get all the products; 0 gets the uncategorized store products; other numbers are the products under the specified store number. Multiple stores are separated by commas.
+ scoreGoods true is used to pull products that require points to purchase.
+ supplyType passes jdyjy, and only returns products traded on JD Cloud
+ brandId brand id, multiple separated by English commas
+ miaosha passes true to get flash sale products
+ miaoshaStatus 0 not started; 1 in progress; 2 ended
+ barCode product barcode
+ pingtuan true is used to pull products that support group buying
+ showMemberPrice Whether to automatically display the user's membership price, pass true or false
+ type 0 physical goods; 1 virtual goods
+ orderBy sorting rules: priceUp is price in ascending order, priceDown is price in reverse order, ordersUp is in ascending order of order quantity, ordersDown is in descending order of order quantity, sellsDown is in descending order of product sales quantity, addedUp is in ascending order of release time, addedDown is in reverse order of release time, nameUp is in ascending order of product name, useful has the most likes, dateEndAsc is the most recent one that is about to end; dateEndDesc is the one with the longest suspension time; storesAsc is the inventory in ascending order; storesDesc inventory in reverse order; goodReputation has many positive reviews, views
+ scoreMin Search based on score range
+ scoreMax Search based on score range
+ priceMin access search based on amount
+ priceMax Access search based on amount
+ showPublishUser whether to return the product publisher's information [for user-published product scenarios, similar to salted fish]
+ hidden Pass 1 to read all hidden products, otherwise only get unhidden products
+ kanjia true to pull products that support bargaining
+ hasFavedFlag marks whether I have collected this product
+ hasBuyedFlag marks whether I have purchased this item
["More parameter descriptions"](##/%E5%89%8D%E7%AB%AFapi%E6%8E%A5%E5%8 F%A3%E6%96%87%E6%A1%A3/%E5%95%86%E5%9F%8E%E6%A8%A1%E5%9D%97/listV2UsingPOST_2)
Return example:
```json
{
"code": 0,
"data": {
"result": [
{
"afterSale": "0,1,2",
"categoryId": 1875,
"commission": 0,
"commissionSettleType": 0,
"commissionType": 0,
"commissionUserType": 0,
"dateAdd": "2021-04-11 22:43:55",
"dateUpdate": "2021-12-02 17:59:18",
"fxType": 2,
"gotScore": 0,
"gotScoreType": 0,
"hasAddition": true,
"hasTourJourney": false,
"hidden": 0,
"id": 810285,
"kanjia": false,
"kanjiaPrice": 0,
"limitation": false,
"logisticsId": 386,
"maxCoupons": 1,
"miaosha": false,
"minBuyNumber": 1,
"minPrice": 299,
"minScore": 0,
"name": "Factory customized version of receipt printer",
"numberFav": 42,
"numberGoodReputation": 7,
"numberOrders": 8,
"numberSells": 8,
"originalPrice": 0,
"overseas": false,
"paixu": 0,
"pic": "https://dcdn.it120.cc/2020/04/15/0a86e7ef-3680-4f9f-a22c-2afb26672b7d.png",
"pingtuan": false,
"pingtuanPrice": 0,
"priceShopSell": 0,
"propertyIds": ",30899,30900,30901,",
"recommendStatus": 1,
"recommendStatusStr": "recommend",
"seckillBuyNumber": 0,
"sellEnd": false,
"sellStart": true,
"shopId": 0,
"status": 0,
"statusStr": "on shelves",
"storeAlert": false,
"stores": 4999948,
"stores0Unsale": false,
"tags": "",
"type": 0,
"unit": "台",
"unusefulNumber": 0,
"usefulNumber": 0,
"userId": 951,
"vetStatus": 1,
"views": 8926,
"weight": 0
}
],
"totalRow": 26,
"totalPage": 26
},
"msg": "success"
}
```
Please see the detailed interface for return parameters.