返回商品API

方法名称:get_product_detail

请求地址:https://open.patpat.com/api/get_product_detail

支持请求方式: GET POST

接口说明: 只获取在售状态的商品


系统级输入参数:

名称类型是否必须描述
_timestampstring请求时间戳
_signatureString请求签名
access_tokenString用户授权令牌

应用级输入参数:

名称 类型 是否必须 描述 示例值
product_code String 商品编码搜索字段 17908260

接口返回结果:

字段 参考值 类型 描述
status 200 Integer 返回状态码
msg success String 接口返回信息
content 接口返回内容

数据返回示例:

{
    "status": 200,
    "msg": "success",
    "content": {
        "product": {
            "product_code": 17000760,
            "supplier_code": "AR173015",
            "name": "澳尔特莱 秋季新款女童字母小猫刺绣套装",
            "description": "儿童棉质套装,柔软舒适又保暖,省心套装,省去宝妈们搭配时间,宝宝开心,妈妈省心。",
            "icon": "http://img.patpat.com/product/59798e6fbaa37/1501138543.jpg",
            "updated_at": "2017-09-14 20:16:35",
            "created_at": "2017-07-27 10:42:20",
            "skus": [
                {
                    "sku_code": 1700076001,
                    "supplier_code": "AR17301501100",
                    "price": "69.00",
                    "icon": "http://img.patpat.com/product/59798e8db3c3b/1501138573.jpg",
                    "attributes_description": "颜色:咖啡色,童装尺码:100CM",
                    "updated_at": "2017-08-18 10:26:24",
                    "created_at": "2017-07-29 07:41:08",
                    "stock": 0
                },
                {
                    "sku_code": 1700076002,
                    "supplier_code": "AR17301501110",
                    "price": "69.00",
                    "icon": "http://img.patpat.com/product/59798e8db3c3b/1501138573.jpg",
                    "attributes_description": "颜色:咖啡色,童装尺码:110CM",
                    "updated_at": "2017-08-18 10:26:24",
                    "created_at": "2017-07-29 07:41:08",
                    "stock": 0
                },
                {
                    "sku_code": 1700076003,
                    "supplier_code": "AR17301501120",
                    "price": "69.00",
                    "icon": "http://img.patpat.com/product/59798e8db3c3b/1501138573.jpg",
                    "attributes_description": "颜色:咖啡色,童装尺码:120CM",
                    "updated_at": "2017-08-18 10:26:24",
                    "created_at": "2017-07-29 07:41:08",
                    "stock": 0
                },
                {
                    "sku_code": 1700076004,
                    "supplier_code": "AR17301501130",
                    "price": "69.00",
                    "icon": "http://img.patpat.com/product/59798e8db3c3b/1501138573.jpg",
                    "attributes_description": "颜色:咖啡色,童装尺码:130CM",
                    "updated_at": "2017-08-18 10:26:24",
                    "created_at": "2017-07-29 07:41:08",
                    "stock": 0
                },
                {
                    "sku_code": 1700076005,
                    "supplier_code": "AR17301501140",
                    "price": "69.00",
                    "icon": "http://img.patpat.com/product/59798e8db3c3b/1501138573.jpg",
                    "attributes_description": "颜色:咖啡色,童装尺码:140CM",
                    "updated_at": "2017-08-18 10:26:24",
                    "created_at": "2017-07-29 07:41:08",
                    "stock": 1
                }
            ],
            "stock": 1
        }
    }
}


©2015 Interfocus Inc. All Rights Reserved