Get all the products in the store, parameter description (including request example)

The API interface of all products in the store means that the merchant can use this interface to obtain all the product information in the store, which is convenient for the merchant to manage, update and publish the products. The API interface is usually developed by back-end technology developers and supports multiple programming languages ​​and cloud service platforms.

Normally, the API interface of all products in the store needs to meet the following functions:

1. Obtain all product information: After using this API interface, merchants can obtain and display all product information on the WeChat store, including product names, prices, introductions, pictures, etc.

2. Commodity management: Merchants can perform trend analysis, price adjustment, inventory management and other operations on commodities through the API interface.

3. Product release and update: Merchants can publish new products or update existing products in the WeChat store through this API interface.

4. Data statistical analysis: Merchants can obtain product sales data, user browsing data and other related information through the API interface.

5. Security guarantee: Merchants need to ensure that the access rights of the API interface are limited during the development process of the API interface, so as to prevent unauthorized users from tampering with or obtaining important information of the merchant.

taobao.item_search_shop

public parameters

name type must describe
key String yes Call key (must be spliced ​​in the URL in GET mode)
secret String yes call key
api_name String yes API interface name (included in the request address) [item_search, item_get, item_search_shop, etc.]
cache String no [yes, no] The default is yes, the cached data will be called, and the speed is relatively fast
result_type String no [json,jsonu,xml,serialize,var_export] returns the data format, the default is json, and the content output by jsonu can be read directly in Chinese
lang String no [cn,en,ru] translation language, default cn Simplified Chinese
version String no API version

request parameters

Request parameter: shop_id=433655136&page=1&sort=

Parameter description: shop_id: shop_id page: page number
sort: sort [new, bid, sale]
  (new new product, bid: price, sale: sales, bid plus _ prefix is ​​sorted from large to small)

response parameters

Version: Date:

name type must example value describe

num_id

Bigint 0 579813460997 Product ID

pic_url

String 0 //img.alicdn.com/bao/uploaded/i3/478952498/O1CN011UK7q9WzgFGKQw8_!!478952498.jpg The map's address

title

String 0 British small leather shoes women's retro 2020 autumn and winter new net red fur shoes women's all-match outerwear thick heel mid-heel single shoes store title

orginal_price

String 0 398.00 discounted price

price

Float 0 148 price

sales

Int 0 7 Sales

detail_url

String 0 taobao.com/item.htm?id=579813460997 baby link

request example

	
-- Request example url The default request parameters have been URL encoded 
curl -i "https://api-gw.onebound.cn/taobao/item_search_shop/?key=<your own apiKey>&secret=<your own apiSecret>&shop_id =433655136&page=1&sort="

Guess you like

Origin blog.csdn.net/G171104/article/details/131468941