Weidian API sharing: get all the product interface parameter descriptions of the store (including request examples)

With the popularity of WeChat, more and more merchants hope to use social media such as WeChat to build their own small stores in order to better promote products and increase sales. The Weidian API has also emerged as the times require, and the API can be used to obtain the product data of the Weidian for data integration and sharing.

The API interface of all products in the store means that merchants can use this interface to obtain all the product information in their WeChat store, which is convenient for merchants to manage, update and release 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. Get all product information: After using the API interface, the merchant can obtain and display all product information on the WeChat store, including product name, price, introduction , 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.

Interface name: 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: userid=1785418864&page=&sort=&

Parameter description: userid:shop_id
page:page number
sort:sort=1 sales sort=0 comprehensive sort=5 price descending

response parameters

Version: Date:

name type must example value describe

title

String 0 HYKE x The North Face North tnf joint mid-length bread jacket down jacket autumn and winter thickened warm couple jacket product title

num_id

String 0 3490287840 Baby ID

price

Float 0 799 price

orginal_price

Float 0 799 original price

promotion_price

Float 0 799 Discounted prices

pic_url

String 0 https://si.geilicdn.com/pcitem1232497572-78fb000001765d42a8050a217205-unadjust_958_958.jpeg baby pictures

sales

Int 0 14830 Sales

seller_id

String 0 seller ID

seller_nick

String 0 Shopkeeper Nickname

detail_url

String 0 https://weidian.com/item.html?itemID=3490287840 baby link

Weidian API is a B2C e-commerce platform API, mainly used to help developers access Weidian e-commerce platform conveniently, and can realize product management, order management, user management and other functions through API. Weidian API is suitable for merchants and developers who want to conduct e-commerce business on Weidian platform.

The following are the business scenarios that the Weidian API may involve:

1. Commodity management: Merchants can use the Weidian API to implement basic product information management, including entry and modification of product title, price, inventory, classification and other information.

2. Order purchase: Developers can use Weidian API to realize complete control of user order submission and payment process, including receiving account binding, order generation, order status query, refund and other functions, and also supports some marketing activities, Such as discounts, coupons, etc.

3. User management: Developers can use Weidian API to implement user information management, including user basic information entry and modification, user address information entry and modification, user account security management, etc.

4. Data analysis: Merchants and developers can also obtain data analysis of the platform through the Weidian API, such as order volume, transaction volume, product sales rankings, etc., to better grasp market demand and sales trends.

Guess you like

Origin blog.csdn.net/Jernnifer_mao/article/details/130720355