多电商平台订单整合,库存同步ERP系统,为何不用电商API对接?

还有不到1个月就是618购物狂欢节了,这个节日对很多电商来说是重头戏,一年中销售额暴涨的机会。现在电商们会在多平台开直播,挂小黄车,如抖音、拼多多、小红书等。数据资源大户电商们通常会把这些不同类型的海量数据分散存储在各个电商平台、用友、金蝶等ERP上,这就导致了这些数据的分析口径和标准不同。造成数据孤岛难题,不利于业务人员进行统计分析。当同类型的数据拥有不同的分析口径和标准时,数据分析系统就无法及时、准确地从海量数据中将这类型的数据一一匹配出来,这将严重影响数据分析效果。上演电商数据分析中的“存储一时爽,分析火葬场”。

那么,现在的电商做数据分析时都是怎么解决这个问题的?将电商平台与用友、金蝶等ERP系统对接?又是怎么完成数据分析的?业务系统通过电商开放平台API可以轻松采集,清洗,统一分析口径和标准,自动推送结果给用友ERP,通过系统化的数据分析模型来完成系统化的智能数据可视化分析,还有反向ETL功能,将数据回流,形成业务闭环。

API调用示例  查看完整调用文档

<?php

// 请求示例 url 默认请求参数已经URL编码处理
// 注册账号获取key请参考:https://o0b.cn/jennif
$method = "GET";
$url = "https://api-服务器.cn/1688/item_search_suggest/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装";
$curl = curl_init();
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE);
curl_setopt($curl, CURLOPT_FAILONERROR, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, true);
curl_setopt($curl, CURLOPT_ENCODING, "gzip");
var_dump(curl_exec($curl));
?>
    • 通用参数说明

      • version:API版本
      • key:调用key,测试key:test_api_key
      • api_name:API类型[item_get,item_search]
      • cache:[yes,no]默认yes,将调用缓存的数据,速度比较快
      • result_type:[json,xml,serialize,var_export]返回数据格式,默认为json
      • lang:[cn,en,ru] 翻译语言,默认cn简体中文
    • API:item_get 参数说明: num_iid:宝贝ID

  1. 此API目前支持以下基本接口:

    • item_get 获得1688商品详情
    • item_search 按关键字搜索商品
    • item_search_img 按图搜索1688商品(拍立淘)
    • item_search_suggest 获得搜索词推荐
    • item_fee 获得商品快递费用
    • seller_info 获得店铺详情
    • item_search_shop 获得店铺的所有商品
    • item_password 获得淘口令真实url
    • upload_img 上传图片到1688
    • item_search_seller 搜索店铺列表
    • img2text 图片识别商品接口
    • item_get_app 获取1688app上原数据
    • buyer_order_list 获取购买到的商品订单列表
    • cat_get 获得1688商品分类

商品详情响应参数

Version: Date:

名称 类型 必须 示例值 描述

item

item[] 0 宝贝详情数据

num_iid

String 0 610947572360 宝贝ID

title

String 0 厂家直销小米有品Qin2 Pro智能手机学生机老人机备用机小爱同学4G 商品标题

desc_short

String 0 商品简介

price

Float 0 799.00 价格

total_price

Float 0 0

suggestive_price

Float 0 0

orginal_price

Float 0 799.00 原价

nick

String 0 qin多亲科技 卖家昵称

num

Int 0 2191

detail_url

String 0 https://detail.1688.com/offer/610947572360.html 宝贝链接

pic_url

String 0 https://cbu01.alicdn.com/img/ibank/2020/063/830/13235038360_979836901.jpg 宝贝图片

brand

String 0 MAJE 品牌

brandId

Int 0 8879363 品牌id

rootCatId

Int 0 0 顶级分类ID

cid

Int 0 124264005

desc

String 0

item_imgs

Mix 0 item_imgs[] 商品图片

item_weight

String 0

post_fee

Float 0 9.00 邮费

express_fee

Float 0 9.00 EMS费用

ems_fee

Float 0 9.00 物流费用

shipping_to

String 0 广东广州白云区 发货至

video

video[] 0 商品视频

sample_id

String 0

props_name

String 0 0:0:机身内存:64GB;1:0:颜色:铁灰色;1:1:颜色:瓷白色 商品属性名

prop_imgs

prop_imgs[] 0 商品属性图片列表

property_alias

String 0 0:0:64GB;1:0:铁灰色;1:1:瓷白色 属性别名

props

Mix 0 [{"name": "品牌", "value": "other"}] 商品详情

total_sold

Int 0 1

scale

Int 0

sellUnit

Int 0

skus

skus[] 0 商品规格信息列表

seller_id

Int 0 2206619673102 卖家ID

sales

Int 0 100 销售额

shop_id

Int 0 151372205 店铺ID

props_list

Mix 0 {"0:0": "机身内存:64GB"} 商品属性

seller_info

seller_info[] 0 卖家信息

tmall

Boolean 0 false 是否天猫

data_from

String 0 1688app 错误信息

error

String 0 错误信息

unit

String 0 部; 单位

is_support_mix

Boolean 0 true

mix_amount

Int 0 30

mix_Begin

Int 0

mix_number

Int 0

sales_data

Date 0

location

String 0 广东省 深圳市 发货地

props_img

Mix 0 属性图片

sales_info

Mix 0

desc_img

Mix 0 [{"https://cbu01.alicdn.com/img/ibank/2020/560/807/14112708065_979836901.jpg"}] 详情图片列表

shop_item

Mix 0

relate_items

Mix 0

电商API与ERP系统的对接是现代企业实现数字化转型的重要步骤之一。通过这种方式,电商可以将订单、商品、客户资料等数据无缝地传递给ERP系统,ERP系统可以实时处理这些数据并进行整合,从而帮助企业提高工作效率、降低成本、提高竞争力。 

猜你喜欢

转载自blog.csdn.net/Jernnifer_mao/article/details/130865832
今日推荐