- 接口配置化
- PLM提供
- 验证引擎
- 单号配置获取
- 引擎
- 引擎-配置管理
产品国家查询(EJF,平台接单)
正式环境
https://occ.yanwentech.com
正式环境
https://occ.yanwentech.com
POST
/gateway/router
使用系统:1)EJF,2)平台接单使用;3)portal+CRM+PP(是客户轨迹定制业务,客户按产品国家维度定制轨迹,需要用到这个配置)
请求参数:产品编号(必填)
返回值:国家编号,国家二字码,国家名称,是否允许下单,仓内是否允许录入,是否为推荐产品,是否进行订单预处理,是否进行校验验证,是否支持重派,是否计税费
请求参数
Header 参数
appKey
string
系统名称
requestId
string
必需
method
string
请求方法
示例值:
product.country.querylist
Body 参数application/json
productNumber
string
产品编号
示例
{
"productNumber":"1148"
}
示例代码
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.country.querylist' \
--header 'Content-Type: application/json' \
--data-raw '{
"productNumber":"1148"
}'
返回响应
🟢200成功
application/json
Body
success
boolean
请求是否成功
code
integer
请求状态码
message
string
提示信息
data
array [object {10}]
产品国家信息
countryId
string
国家Id
countryCode
string | null
国家二字码
countryName
string | null
国家名称
allowOrder
boolean
是否允许下单
allowEnter
boolean
仓内是否允许录入
hasRecommend
boolean
是否为推荐产品
orderPretreatment
boolean
是否进行订单预处理
addressVerification
boolean
是否进行校验验证
supportReassignment
boolean
是否支持重派
recordTax
boolean
是否计税费
示例
{ "success": true, "code": 200, "message": "操作成功", "data": [ { "countryId": "1", "countryCode": "AW", "countryName": "阿鲁巴", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "2", "countryCode": "GL", "countryName": "格陵兰岛", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "3", "countryCode": "GE", "countryName": "格鲁吉亚", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "4", "countryCode": "CO", "countryName": "哥伦比亚", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "5", "countryCode": "GP", "countryName": "瓜德罗普", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "6", "countryCode": "GU", "countryName": "关岛", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "10", "countryCode": "CU", "countryName": "古巴", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "11", "countryCode": "OM", "countryName": "阿曼", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "13", "countryCode": "GY", "countryName": "圭亚那", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "18", "countryCode": "HT", "countryName": "海地", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "22", "countryCode": "AD", "countryName": "安道尔", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "24", "countryCode": "KR", "countryName": "韩国", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "30", "countryCode": "NL", "countryName": "荷兰", "allowOrder": true, "allowEnter": false, "hasRecommend": false, "orderPretreatment": false, "addressVerification": false, "supportReassignment": false, "recordTax": false }, { "countryId": "35", "countryCode": "
修改于 2024-12-18 03:24:03