eb_iteminvcontrapose/batch_get
目录 |
1.接口说明
1.1接口描述
批量获取店铺商品档案
1.2适用版本
支持U8V12.0 及更高版本
2.使用场景
电商集成
3.接口调用说明
3.1请求说明
| url | https://api.yonyouup.com/api/eb_iteminvcontrapose/batch_get |
| 格式 | JSON |
| https请求方式 | GET |
3.2url参数说明
| 参数 | 是否必填 | 类型 | 描述 |
|---|---|---|---|
| from_account | 是 | sting | 调用方id |
| to_account | 是 | string | 提供方id |
| app_key | 是 | string | 应用编码 |
| token | 是 | string | 全局访问唯一识别码 |
| ds_sequence | 否 | number | 数据源序号(默认取应用的第一个数据源) |
| cShopCode | 是 | string | 店铺编码 |
| cShopName | 是 | string | 店铺名称关键字 |
| cEBItemCode_begin | 否 | string | 起始店铺商品编码 |
| cEBItemCode_end | 是 | string | 结束店铺商品编码 |
| cEBItemName | 是 | string | 店铺商品名称关键字 |
| cEBSKUID_begin | 否 | string | 起始店铺商品SKU |
| cEBSKUID_end | 否 | string | 结束店铺商品SKU |
| cEBItemMemo | 否 | string | 店铺商品描述 |
| cOutIID | 否 | string | 商家编码 |
| cOutSKUID | 否 | string | 商家SKU |
3.3请求示例
GET https://api.yonyouup.com/api/eb_iteminvcontrapose/batch_get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=26d2fc4a06844448957a7f8260f3d08b&cShopCode=xxxxx&cShopName=xxxxx&cEBItemCode_begin=xxxxx&cEBItemCode_end=xxxxx&cEBItemName=xxxxx&cEBSKUID_begin=xxxxx&cEBSKUID_end=xxxxx&cEBItemMemo=xxxxx&cOutIID=xxxxx&cOutSKUID=xxxxx
3.4返回参数说明
| 参数说明 | 类型 | 参数路径 | 描述 |
|---|---|---|---|
| errcode | string | 错误码,0 为正常。 | |
| errmsg | string | 错误信息。 | |
| cShopCode | string | 店铺编码 | |
| cShopName | string | 店铺名称 | |
| cEBItemCode | string | 店铺商品编码 | |
| cEBItemName | string | 店铺商品名称 | |
| cEBSKUID | string | 店铺商品SKU | |
| cEBItemMemo | string | 店铺商品描述 | |
| cOutIID | string | 商家编码 | |
| cOutSKUID | string | 商家SKU |
3.5正确返回示例
JSON示例:
application/json;charset=UTF-8
{
"page_index":"1",
"eb_iteminvcontrapose":[
{
"cshopcode":"01",
"cebitemname":"电子书",
"coutiid":"",
"cebskuid":"59459602408",
"coutskuid":"11010612",
"cshopname":"淘宝",
"cebitemcode":"39890984132",
"cebitemmemo":""
},
{
"cshopcode":"01",
"cebitemname":"三星打印机",
"coutiid":"",
"cebskuid":"59459602409",
"coutskuid":"11010612",
"cshopname":"淘宝",
"cebitemcode":"39890984132",
"cebitemmemo":""
}
],
"rows_per_page":"20",
"row_count":"225",
"errmsg":"",
"page_count":"12",
"errcode":"0"
}
3.6错误返回示例
application/json;charset=UTF-8
{
"errcode":"30021",
"errmsg":"此应用未上线"
}