接口说明

获取单个商品。

接口方法

esales.product.get

传入参数

名称类型必须描述
product_idinttrue商品编号

返回数据

参数名类型说明
idint商品编号
namestring商品名称
typeint商品类型(1:直充,2:卡密)
face_valuedecimal面值
pricedecimal售价
purchase_quantity_rulestring合法的购买数量
statusint状态(1:销售中,2:停售)

示例

{
    "code": 0,
    "message": "",
    "data": {
        "id": "27692",
        "name": "黄金会员季卡",
        "type": "2",
        "face_value": "10.00",
        "price": "37.5000",
        "purchase_quantity_rule": "1-10000",
        "status": "1"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
Last Updated: 10/13/2021, 4:41:04 PM
Contributors: Zhang Yuteng, qq