- 接口配置化
- PLM提供
- 验证引擎
- 单号配置获取
- 引擎
- 引擎-配置管理
产品信息查询(EJF,平台接单)
正式环境
https://occ.yanwentech.com
正式环境
https://occ.yanwentech.com
POST
/gateway/router
EJF,平台接单使用
请求参数:平台编号(必填),产品类型(非必填),一级分类(非必填),二级分类(非必填)
返回参数:产品编号,产品类型,一级分类,二级分类,EJF是否启用,TMS是否启用,是否删除,产品配置是否有效
请求参数
Header 参数
appKey
string
系统名称
requestId
string
必需
method
string
请求方法
示例值:
product.info.querylist
Body 参数application/json
platformCode
string
平台编号
productType
string
产品类型
primaryClassify
string
一级分类
secondaryClassify
string
二级分类
示例
{
"platformCode": "string",
"productType": "string",
"primaryClassify": "string",
"secondaryClassify": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://occ.yanwentech.com/gateway/router' \
--header 'appKey;' \
--header 'requestId;' \
--header 'method: product.info.querylist' \
--header 'Content-Type: application/json' \
--data-raw '{
"platformCode": "string",
"productType": "string",
"primaryClassify": "string",
"secondaryClassify": "string"
}'
返回响应
🟢200成功
application/json
Body
success
boolean
请求是否成功
code
integer
请求状态码
message
string
提示信息
data
array [object {13}]
产品信息
productNumber
string
产品编号
productType
string
产品类型
primaryClassify
string
一级分类
secondaryClassify
string
二级分类
makeBillEnabled
boolean
是否可制单
warehouseEnabled
boolean
仓内是否启用
enabled
boolean
产品配置是否有效
productCnName
string
产品中文名称
productEnName
string
产品英文名称
countryIds
array[string]
国家Id
warehouseCodes
array[string]
揽收仓编号
allowUpdate
boolean
是否允许订单修改
displayOrder
integer
展示的产品顺序
示例
{ "success": true, "code": 200, "message": "操作成功", "data": [ { "productNumber": "856", "productCnName": "万邑邮选郑州平邮小包", "productEnName": "winit zhengzhou-Unregistered", "productType": "2", "primaryClassify": "9", "secondaryClassify": "19", "makeBillEnabled": true, "warehouseEnabled": true, "enabled": true, "allowUpdate": false, "displayOrder": 1, "countryIds": [ "1", "2", "3", "4", "5", "6", "10", "11", "13", "18", "22", "24", "30", "35", "40", "44", "45", "49", "50", "52", "53", "56", "58", "66", "67", "69", "70", "71", "73", "74", "75", "76", "81", "82", "83", "87", "88", "89", "92", "94", "95", "97", "99", "100", "102", "104", "105", "106", "107", "108", "110", "111", "112", "113", "115", "117", "118", "121", "123", "124", "125", "126", "127", "128", "130", "131", "133", "135", "140", "143", "144", "147", "148", "150", "152", "154", "160", "163", "165", "166", "167", "168", "169", "170", "171", "172", "173", "174", "182", "184", "185", "190", "191", "192", "193", "194", "197", "201", "202", "203", "205", "209", "211", "212", "213", "216", "217", "218", "219", "223", "224", "226", "231", "232", "233", "240", "241", "242", "243", "248", "250", "254", "259", "261", "262", "263", "269", "272", "274", "275", "277", "279", "281", "282", "285", "286", "288", "289", "297", "298", "299", "303", "308", "309", "310", "311", "312", "313", "314", "315", "316", "317", "318", "319", "324", "326", "334", "338", "344", "345", "347", "348", "350", "351", "352", "353", "354", "356", "360", "363", "364", "365", "366", "367", "368", "369", "370", "371", "372", "373", "374", "375", "376", "377", "378", "379", "380", "382", "383", "384", "385", "387", "388", "389", "390", "391",
修改于 2024-12-18 03:20:31