热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

抖音API接口,商品详情,产品页面信息接口调用展示

本文主要分享【抖音怎么做商品橱窗】,技术文章【抖音API接口,商品详情,产品页面信息接口调用展示】为【写给所有的程序猿】投稿,如果你遇到api,淘宝详情相关问题,本文相关知识或能到你。抖音怎么做商品

本文主要分享【抖音怎么做商品橱窗】,技术文章【抖音API接口,商品详情,产品页面信息接口调用展示】为【写给所有的程序猿】投稿,如果你遇到api,淘宝详情相关问题,本文相关知识或能到你。

抖音怎么做商品橱窗

为了进行此平台API的调用,首先我们需要做下面几件事情。

1、 获取一个KEY。

2、 参考API文档里的接入方式和示例。

3、查看测试工具是否有需要的接口,响应实例的返回字段是否符合参数要求。

4、利用平台的文档中心和API测试工具,对接口进行测试、程序获取。

更多API调用展示以及获取Key和secret请移步
http://console.open.onebound.cn/console/?i=Turbo

以下是标题API的返回值说明,由于篇幅有限只展示部分代码。

{
   
“item”: {
   
“appoint_num”: 0,
“assoc_ids”: “”,
“biz_kind”: 0,
“biz_type”: 4,
“buy_record_switch”: 0,
“category_id”: 20179,
“check_status”: 3,
“company_name”: “黄岛区古蒂歌服饰店”,
“cos_ratio”: 0,
“credit_score”: {
   
“gap_logistics”: 1,
“gap_product”: 1,
“gap_shop”: 1,
“logistics”: 5,
“product”: 4.84,
“shop”: 4.96
},
“current_time”: 1648884427,
“delivery_delay_desc”: “”,
“description”:<img src=“https://p9-aio.ecombdimg.com/obj/temai/9a37b5d7b8c164e0dec78115f7239c48455376e7www750-1136” https://www.#.com/go/4oCcaHR0cHM6Ly9wNi1haW8uZWNvbWJkaW1nLmNvbS9vYmovdGVtYWkvNTBhYmZlNTQwNGZjYzY0MjI2NmU5N2NjZmJhNTNkNDZhZmM1MWEwY3d3dzc1MC0xMTM24oCd"  100%;”="" referrerpolicy="no-referrer">,
“detail_config”: null,
“detail_delay_desc”:48小时内发货”,
“discount”: 0,
“discount_price”: 7200,
“dsrInfo”: {
   default: 0,
“gap_logistics”: 0,
“gap_product”: 0,
“gap_shop”: 0,
“logistics”: 0,
“merchant_id”: 0,
“product”: 0,
“shop”: 0
},
“end_time”: 2145888000,
“ep_extra_info”: null,
“ep_user_info”: null,
“extra”: {
   
“category_detail”: {
   
“first_cid”: 20005,
“first_cname”: “女装”,
“fourth_cid”: 0,
“fourth_cname”: “”,
“is_leaf”: true,
“second_cid”: 20179,
“second_cname”: “衬衫”,
“third_cid”: 0,
“third_cname”: “”
},
“class_quality”: “”,
“is_publish”: 1,
“quality_list”: [
{
   
“quality_attachments”: [],
“quality_key”:3457058945162709852,
“quality_name”: “质检报告”
},
{
   
“quality_attachments”: [],
“quality_key”:6924586049331085575,
“quality_name”: “人物肖像授权资质”
},
{
   
“quality_attachments”: [],
“quality_key”:6945746852176363820,
“quality_name”: “赠品资质”
},
{
   
“quality_attachments”: [],
“quality_key”:6946075234516599076,
“quality_name”: “老字号认证证书”
},
{
   
“quality_attachments”: [],
“quality_key”:3457058919409648559,
“quality_name”: “报关单”
},
{
   
“quality_attachments”: [],
“quality_key”:3457058936748903145,
“quality_name”: “委托进口协议”
}
],
“quality_report”: “”,
“spec_seq_info”: {
   
“child_spec_seq”: [
“颜色分类”,
“尺码”
],
“spec_values_seq”: [
[
“米杏色”,
“灰蓝色”,
“卡其色”,
“珍珠白”
],
[
“S 建议100斤内穿”,
“M 建议100-113斤”,
“L 建议110-123斤”,
“XL 建议120-133斤”,2XL 建议130-158斤穿”
]
]
},
“stone”: {
   
“remark”: “”
}
},
“first_cid”: 5,
“freight”: {
   
“calculate_type”: 2,
“columns”: [
{
   
“add_num”: 1,
“add_num_price”: 100,
“add_weight”: 0,
“add_weight_price”: 0,
“address”: {
   54: [],65: []
},
“first_num”: 1,
“first_num_price”: 1000,
“first_weight”: 0,
“first_weight_price”: 0,
“is_default”: 0,
“is_limited”: false,
“is_over_free”: false,
“over_amount”: 0,
“over_num”: 0,
“over_weight”: 0,
“province”: [
65,
54
],
“province_name”: [
“新疆维吾尔自治区”,
“西藏自治区”
],
“rule_id”: 2
},
{
   
“add_num”: 0,
“add_num_price”: 0,
“add_weight”: 0,
“add_weight_price”: 0,
“address”: {
   11: [],13: [],14: [],15: [],21: [],22: [],23: [
230600,
230100,
230400,
231100,
230800,
230300,
231000,
230200,
230900,
231200,
230500,
230700
],31: [],32: [],33: [],34: [],35: [],36: [],37: [],41: [
410700,
411700
],42: [],43: [],44: [],45: [],46: [],50: [],51: [],52: [],53: [],61: [],62: [],63: [],64: []
},
“first_num”: 0,
“first_num_price”: 0,
“first_weight”: 0,
“first_weight_price”: 0,
“is_default”: 0,
“is_limited”: false,
“is_over_free”: true,
“over_amount”: 1000,
“over_num”: 0,
“over_weight”: 0,
“province”: [
50,
11,
52,
62,
64,
15,
45,
46,
14,
23,
230600,
230100,
230400,
231100,
230800,
230300,
231000,
230200,
230900,
231200,
230500,
230700,
33,
63,
13,
61,
32,
21,
42,
53,
22,
51,
37,
34,
43,
35,
31,
44,
36,
41,
410700,
411700
],
“province_name”: [
“重庆市”,
“北京市”,
“贵州省”,
“甘肃省”,
“宁夏回族自治区”,
“内蒙古自治区”,
“广西壮族自治区”,
“海南省”,
“山西省”,
“黑龙江省”,
“大庆市”,
“哈尔滨市”,
“鹤岗市”,
“黑河市”,
“佳木斯市”,
“鸡西市”,
“牡丹江市”,
“齐齐哈尔市”,
“七台河市”,
“绥化市”,
“双鸭山市”,
“伊春市”,
“浙江省”,
“青海省”,
“河北省”,
“陕西省”,
“江苏省”,
“辽宁省”,
“湖北省”,
“云南省”,
“吉林省”,
“四川省”,
“山东省”,
“安徽省”,
“湖南省”,
“福建省”,
“上海市”,
“广东省”,
“江西省”,
“河南省”,
“新乡市”,
“驻马店市”
],
“rule_id”: 3
},
{
   
“add_num”: 0,
“add_num_price”: 0,
“add_weight”: 0,
“add_weight_price”: 0,
“address”: {
   71: [],81: [],82: []
},
“first_num”: 0,
“first_num_price”: 0,
“first_weight”: 0,
“first_weight_price”: 0,
“is_default”: 0,
“is_limited”: true,
“is_over_free”: false,
“over_amount”: 0,
“over_num”: 0,
“over_weight”: 0,
“province”: [
71,
82,
81
],
“province_name”: [
“台湾省”,
“澳门特别行政区”,
“香港特别行政区”
],
“rule_id”: 4
}
],default: {
   
“add_num”: 1,
“add_num_price”: 0,
“add_weight”: 0,
“add_weight_price”: 0,
“calculate_type”: 2,
“first_num”: 1,
“first_num_price”: 0,
“first_weight”: 0,
“first_weight_price”: 0,
“is_default”: 1,
“is_limited”: false,
“rule_id”: 1,
“template_id”: 896776
},
“fixed_amount”: 0,
“product_province”: 44,
“product_province_name”: “广东省”,
“rule_type”: 0
},
“freight_id”: 896776,
“group_id”:0,
“img”: “https://p6-aio.ecombdimg.com/obj/temai/e9ed9a7b06bbbf03b769075a4cf12045www876-876”,
“img_list”: [
“https://p6-aio.ecombdimg.com/obj/temai/e9ed9a7b06bbbf03b769075a4cf12045www876-876”,
“https://p6-aio.ecombdimg.com/obj/temai/f6543c94a2c3c724fd57a8c61d6e79ec7bb846f5www800-800”,
“https://p9-aio.ecombdimg.com/obj/temai/d312afa85676443c7a807688d4aab85cwww800-800”,
“https://p6-aio.ecombdimg.com/obj/temai/104f75934f295b6395ec792ad755eed8b10f543dwww800-800”,
“https://p9-aio.ecombdimg.com/obj/temai/3d65927c478ab58d06ecc31e6f541d2099e2429cwww800-800”
],
“img_style_switch”: 0,
“industry”: null,
“ins_product”: {
   
“returnfreight2020v1”: 0
},
“is_alliance”: 0,
“is_educational”: false,
“is_hide_sales”: false,
“is_pledge_cash”: 1,
“limit_time_desc”: “”,
“market_price”: 7200,
“mobile”:13710277900,
“name”: "【古蒂歌品牌】精致磨毛纹理 叠穿衬衣女春装新款 高档磨毛衬衫 ",
“need_checkout”: false,
“need_code”: 0,
“need_logistic”: true,
“need_share”: 1,
“out_product_id”:0,
“pay_type”: 1,
“presell_delay”: 5,
“presell_end_time”: 0,
“presell_type”: 0,
“product_format”: {
   
“上市年份季节”:2022,
“品牌”: “Gudige/古蒂歌”,
“图案”: “纯色”,
“成分含量”:95%以上”,
“服装款式细节”: “口袋,纽扣”,
“服装版型”: “宽松”,
“衣长”: “常规款”,
“衣门襟”: “单排多扣”,
“袖型”: “常规”,
“袖长”: “长袖”,
“货号”:251,
“面料材质”: “聚酯纤维”,
“面料材质成分含量”:95%以上”,
“领型”: “POLO领”,
“风格”: “通勤”
},
“product_id”:3514453298386183303,
“product_tag”: {
   
“service_tag”: [
“pay_for_bad”,
“support_7days_refund”,
“customer_protection”,
“shop_qualification”,
“platform_announcement”
],
“tag_infos”: null
},
“product_type”: 0,
“recommend_remark”: “”,
“report_id__for_event”: 1098996,
“saved”: 0,
“second_cid”: 48,
“second_mobile”: “”,
“sell_num”:1.3+,
“shop_id”: “sXahcZg”,
“shop_logo”: “https://p3-aio.ecombdimg.com/obj/temai/1611656872ab5f2645a9f6cf20810db68844e3e3f5cf248f0f”,
“shop_name”: “古蒂歌精品女装店”,
“shop_tel”:13710277900,
“show_buyers”: 1,
“show_comments”: 1,
“show_place”: 0,
“sku_delay_desc”: “”,
“sku_max_price”: 7200,
“sku_min_price”: 7200,
“sku_presell_delay_desc”: “”,
“spec_id”: 1716041646595087,
“spec_info”: [
{
   
“list”: [
{
   
“id”:1716041646595119,
“name”: “米杏色”
},
{
   
“id”:1716041646595135,
“name”: “灰蓝色”
},
{
   
“id”:1716041646596108,
“name”: “卡其色”
},
{
   
“id”:1716041646596124,
“name”: “珍珠白”
}
],
“name”: “颜色分类”
},
{
   
“list”: [
{
   
“id”:1716041646596156,
“name”: “S 建议100斤内穿”
},
{
   
“id”:1716151478027315,
“name”: “M 建议100-113斤”
},
{
   
“id”:1716151478028291,
“name”: “L 建议110-123斤”
},
{
   
“id”:1716151478028307,
“name”: “XL 建议120-133斤”
},
{
   
“id”:1716151478028323,
“name”:2XL 建议130-158斤穿”
}
],
“name”: “尺码”
}
],
“start_time”: 0,
“status”: 0,
“supply_status”: 0,
“third_cid”: 423,
“user_limit”: 0,
“usp”: “”,
“v_type”: 41,
“weight”:0.00,
“data_from”: “app”
},
“secache”:6773136882f2e5605a7a74e5f9874d1d”,
“secache_time”: 1648884427,
“secache_date”:2022-04-02 15:27:07,
“error”: “”,
“reason”: “”,
“error_code”:0000,
“cache”: 0,
“api_info”: “today:0 max:150000,
“execution_time”:3.832,
“server_time”: “Beijing/2022-04-02 15:27:07,
“client_ip”:106.6.37.118,
“call_args”: {
   
“num_iid”:3514453298386183303},
“api_type”: “douyin”,
“translate_language”: “zh-CN”,
“translate_engine”: “baidu_api”,
“server_memory”:3.08MB”,
“request_id”: “gw-3.6247fac81a170”,
“last_id”:858914903}

本文《抖音API接口,商品详情,产品页面信息接口调用展示》版权归写给所有的程序猿所有,引用抖音API接口,商品详情,产品页面信息接口调用展示需遵循CC 4.0 BY-SA版权协议。


推荐阅读
author-avatar
Wo-们是平行线
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有