lazada API 开发系列:item_get - 获得lazada商品详情API返回值说明

为了进行电商平台 lazada 的API开发,首先我们需要做下面几件事情。
1)开发者注册一个账号
2)然后为每个 lazada 应用注册一个应用程序键(App Key) 。
3)下载 lazada API的SDK并掌握基本的API基础知识和调用
4)利用SDK接口和对象,传入AppKey或者必要的时候获取并传入SessionKey来进行程序开发。
5)利用lazada平台的文档中心和API测试工具,对接口进行测试。从而了解返回信息,方便程序获取。
以上是一般lazada API应用开发的关键流程,其中通过lazada文档中心和API测试工具,进行概念了解和接口信息查询很重要。因为这些数据就是我们需要在逐步显示出来的。lazada 的API很多,不过都分为了好几个领域,慢慢就会了解深入了。

注册链接(获取Key和secret):[http://console.open.onebound.cn/console/?i=lucy]
lazada API 开发系列:item_get - 获得lazada商品详情API返回值说明_第1张图片
响应示例:
{
“item”: {
“num_iid”: “267690734”,
“title”: “城市奢华男士鞋正式鞋高跟鞋商务套装男牛津鞋尖头牛津鞋男士皮革婚礼”,
“price”: 232,
“nick”: “URBAN SAFARI”,
“pic_url”: “//my-test-11.slatic.net/original/208de91b5132477f8a723c82c56c3a58.jpg”,
“detail_url”: “https://www.lazada.co.th/products/oxfords-i267690734-s418579763.html”,
“brand”: “No Brand”,
“orginal_price”: null,
“skus”: {
“sku”: [
{
“total_price”: 0,
“price”: 232,
“orginal_price”: 417,
“quantity”: 1950,
“properties”: “30097:95204;30585:133117”,
“properties_name”: “30097:95204:涂料:白色;30585:133117:大小:38”,
“sku_id”: “418579756”
},
{
“total_price”: 0,
“price”: 232,
“orginal_price”: 417,
“quantity”: 1949,
“properties”: “30097:95204;30585:133137”,
“properties_name”: “30097:95204:涂料:白色;30585:133137:大小:39”,
“sku_id”: “418579757”
},
{
“total_price”: 0,
“price”: 232,
“orginal_price”: 417,
“quantity”: 1947,
“properties”: “30097:95204;30585:133146”,
“properties_name”: “30097:95204:涂料:白色;30585:133146:大小:40”,
“sku_id”: “418579758”
},
{
“total_price”: 0,
“price”: 232,
“orginal_price”: 417,
“quantity”: 1948,
“properties”: “30097:95204;30585:133152”,
“properties_name”: “30097:95204:涂料:白色;30585:133152:大小:41”,
“sku_id”: “418579759”
},
{
“total_price”: 0,
“price”: 232,
“orginal_price”: 417,
“quantity”: 1946,
“properties”: “30097:95204;30585:133157”,
“properties_name”: “30097:95204:涂料:白色;30585:133157:大小:42”,
“sku_id”: “418579760”
},
{
“total_price”: 0,
“price”: 232,
“orginal_price”: 417,
“quantity”: 1946,
“properties”: “30097:95204;30585:133165”,
“properties_name”: “30097:95204:涂料:白色;30585:133165:大小:43”,
“sku_id”: “418579761”
},
{
“total_price”: 0,
“price”: 232,
“orginal_price”: 417,
“quantity”: 1949,
“properties”: “30097:95204;30585:133172”,
“properties_name”: “30097:95204:涂料:白色;30585:133172:大小:44”,
“sku_id”: “418579762”
},
{
“total_price”: 0,
“price”: 232,
“orginal_price”: 417,
“quantity”: 1949,
“properties”: “30097:95204;30585:133178”,
“properties_name”: “30097:95204:涂料:白色;30585:133178:大小:45”,
“sku_id”: “418579763”
},
{
“total_price”: 0,
“price”: 232,
“orginal_price”: 417,
“quantity”: 1948,
“properties”: “30097:95204;30585:133177”,
“properties_name”: “30097:95204:涂料:白色;30585:133177:大小:46”,
“sku_id”: “418579764”
},
{
“total_price”: 0,
“price”: 232,
“orginal_price”: 417,
“quantity”: 1950,
“properties”: “30097:95204;30585:133198”,
“properties_name”: “30097:95204:涂料:白色;30585:133198:大小:47”,
“sku_id”: “418579765”
},
{
“total_price”: 0,
“price”: 232,
“orginal_price”: 417,
“quantity”: 1950,
“properties”: “30097:95204;30585:133204”,
“properties_name”: “30097:95204:涂料:白色;30585:133204:大小:48”,
“sku_id”: “418579766”
},
{
“total

你可能感兴趣的:(API,代购,电商,api,开发平台,数据库)