• 洋码头API 根据ID取商品详情 Onebound电商数据接口


    万邦洋码头根据ID取商品详情 API 返回值说明

    item_get-根据ID取商品详情   API test

    onebound.ymatou.item_get

    公共参数

    请求地址: 跨境电商平台接口提供商 数据采集公司 数据接口定制服务 企业级数据服务商

    名称类型必须描述
    keyString调用key(必须以GET方式拼接在URL中)
    secretString调用密钥
    api_nameStringAPI接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
    cacheString[yes,no]默认yes,将调用缓存的数据,速度比较快
    result_typeString[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
    langString[cn,en,ru]翻译语言,默认cn简体中文
    versionStringAPI版本

    请求参数

    请求参数:num_iid=995cd333-2e43-4c20-a796-5de93bfc0df5

    参数说明:num_iid:商品ID;

    响应参数

    Version: Date:

    名称类型必须示例值描述

    num_iid

    String02d7e9039-2184-4ab2-b91f-13e32c1fdcae商品ID

    title

    String0YSL圣罗兰奢华缎面镜光黑管唇釉6ML商品标题

    desc_short

    String0商品简介

    price

    String0199∼255价格

    total_price

    Int00

    suggestive_price

    Int00

    orginal_price

    Int0320原价

    nick

    String0悦购淘欧洲卖家昵称

    num

    Int0353库存

    min_num

    Int00

    detail_url

    String0https://www.ymatou.com/product/2d7e9039-2184-4ab2-b91f-13e32c1fdcae.html商品链接

    pic_url

    String0http://pic1.ymatou.com/G02/shangou/M08/82/01/CgvUA1j471uAI_y9AAKucWgpebI251_1_1_n_w_o.jpg商品图片

    brand

    String0品牌名称

    brandId

    Int0品牌ID

    rootCatId

    Int01130顶级分类ID

    cid

    Int01136

    favcount

    Int00

    fanscount

    Int00

    crumbs

    Mix0["1130": "香水彩妆", "1136": "唇膏/唇彩/唇笔"]导航菜单

    created_time

    String0

    modified_time

    String0

    delist_time

    String0

    desc

    String0

    item_imgs

    Mix0[{"url": "http://pic1.ymatou.com/G02/shangou/M08/82/01/CgvUA1j471uAI_y9AAKucWgpebI251_1_1_n_w_o.jpg"}]商品图片

    item_weight

    String0包装重量

    item_size

    String0包装尺寸

    location

    String0发货地

    express_fee

    Float06.00快递费用

    ems_fee

    Float06.00EMS费用

    post_fee

    Float06.00物流费用

    shipping_to

    String0发货至

    has_discount

    Boolean0false

    video

    Mix0[]商品视频

    is_virtual

    String0

    sample_id

    String0商品风格标识ID

    is_promotion

    Boolean0

    props_name

    String0商品属性名

    prop_imgs

    Mix0{"prop_img": []}商品属性图片列表

    property_alias

    String0商品属性别名

    props

    Mix0商品详情

    total_sold

    Int0

    skus

    Mix0{"sku": []商品规格信息

    seller_id

    Int0卖家ID

    sales

    Int0销量

    shop_id

    Int0店铺ID

    props_list

    Mix0商品属性

    seller_info

    Mix0{"level": "", "shop_type": "", "user_num_id": "", "cid": "", "delivery_score": "", "item_score": "", "score_p": "", "zhuy": ""}卖家信息

    tmall

    Boolean0false是否天猫

    error

    String0错误信息

    warning

    String0警告信息

    url_log

    Mix0[]

    props_img

    Mix0[]属性图片

    shop_item

    Mix0[]

    relate_items

    Mix0[]

    请求示例

    	
    -- 请求示例 url 默认请求参数已经URL编码处理
    curl -i "https://api-gw.onebound.cn/ymatou/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=995cd333-2e43-4c20-a796-5de93bfc0df5"

    响应示例

    异常示例

    相关资料

    错误码解释

    状态代码(error_code)状态信息详细描述是否收费
    0000success接口调用成功并返回相关数据
    2000Search success but no result接口访问成功,但是搜索没有结果
    4000Server internal error服务器内部错误
    4001Network error网络错误
    4002Target server error目标服务器错误
    4003Param error用户输入参数错误忽略
    4004Account not found用户帐号不存在忽略
    4005Invalid authentication credentials授权失败忽略
    4006API stopped您的当前API已停用忽略
    4007Account stopped您的账户已停用忽略
    4008API rate limit exceeded并发已达上限忽略
    4009API maintenanceAPI维护中忽略
    4010API not found with these valuesAPI不存在忽略
    4012Please add api first请先添加api忽略
    4013Number of calls exceeded调用次数超限忽略
    4014Missing url param参数缺失忽略
    4015Wrong pageToken参数pageToken有误忽略
    4016Insufficient balance余额不足忽略
    4017timeout error请求超时
    5000unknown error未知错误
  • 相关阅读:
    dl_model_param
    【实验分享】CCIE—BGP联邦实验
    传承汉字,发扬光大!让《米小圈动画汉字》也出一份力吧!
    虚拟机中安装和初始化linux(Cent OS7)操作系统
    GIF图像动态生成-JAVA后台生成
    Go语言代码示例
    iptables与firewalld防火墙
    stm32的ADC通道错乱原因分析
    【系统美化】快速打开鼠标样式切换的对话框
    如何在前端传递一个String 的变量和一个obj对象到后端,然后被Java后端接收
  • 原文地址:https://blog.csdn.net/m0_72059466/article/details/125621103