Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

获取可发送国家

简要描述
获取可发送的国家列表,用于创建订单时的 sourceCountry 字段。

请求URL
POST ${baseUrl}/tf/v4/sourceCountry

请求方式

  • Method: POST
  • Content-Type: application/json

返回示例

{
    "data": [
        {
            "code": "ABW",
            "name": "Aruba",
            "shortCode": "AW"
        },
        {
            "code": "AFG",
            "name": "Afghanistan",
            "shortCode": "AF"
        }
    ],
    "msg": "操作成功",
    "status": 200,
    "success": true
}

返回参数说明

参数名称示例参数说明类型
data-响应数据数组
msg操作成功响应消息字符串
status200响应码整数
successtrue是否成功(true/false)布尔值

data 对象字段说明

参数名称示例参数说明
codeCHN国家编码(用于下单)
nameAfghanistan国家名称
shortCodeAF国家简写