获取商品库支持地区及货币
您可以使用本接口获取商品库管理API支持的地区(以国家或地区缩写的形式)以及每个地区对应的货币。
v1.2与v1.3版本对比
以下表格概括了 v1.2与v1.3接口的变化。 ```xtable |变化内容{30%}|v1.2{35%}|v1.3{35%}| |---|---|---| |接口路径| /v1.2/catalog/location_currency/get/| /v1.3/catalog/location_currency/get/|
## 请求
**地址**
https://business-api.tiktok.com/open_api/v1.3/catalog/location_currency/get/
**方法** GET
**Header**
```xtable
|字段{35%}|类型{15%}|描述{55%}|
|---|---|---|
|Access-Token {必填}|string|授权访问令牌。可以通过[获取访问令牌](https://ads.tiktok.com/marketing_api/docs?id=1738373164380162)接口获取。|
示例
(code curl http)
curl --location --request GET 'https://business-api.tiktok.com/open_api/v1.3/catalog/location_currency/get/' \
--header 'Access-Token: {{Access-Token}}'
(/code)
返回
|字段{35%}|类型{15%}|描述{55%}|
|--- |--- |--- |
|code |number|返回码,详见[附录-返回码](https://ads.tiktok.com/marketing_api/docs?id=1737172488964097)。|
|message |string|返回信息,详见[附录-返回码](https://ads.tiktok.com/marketing_api/docs?id=1737172488964097)。|
|data|object|返回数据。|
#|list|object[]|地域信息列表。|
##|location|string|国家或地区代码。<br><br>示例: `"DE"`。<br><br>若想了解某个国家或地区代码对应的地区,请查看[附录 - 地区代码](https://ads.tiktok.com/marketing_api/docs?id=1737585867307010)。|
##|currency|string[]|该地区支持的货币代码列表。<br><br>若想了解某个货币代码对应的币种,请查看[附录 - 币种](https://ads.tiktok.com/marketing_api/docs?id=1737585839634433)。|
|request_id |string|请求的日志 ID,唯一标识一个请求。|
示例
(code Success-Response http)
HTTPS/1.1 200 OK
{
"code": 0,
"message": "OK",
"request_id": "{{request_id}}",
"data": {
"list": [
{
"location": "PL",
"currency": [
"PLN"
]
},
{
"location": "FR",
"currency": [
"EUR"
]
},
{
"location": "MA",
"currency": [
"MAD"
]
},
{
"location": "HU",
"currency": [
"HUF"
]
},
{
"location": "AU",
"currency": [
"AUD"
]
},
{
"location": "GB",
"currency": [
"GBP"
]
},
{
"location": "UZ",
"currency": [
"UZS"
]
},
{
"location": "AE",
"currency": [
"AED"
]
},
{
"location": "TR",
"currency": [
"TRY"
]
},
{
"location": "AT",
"currency": [
"EUR"
]
},
{
"location": "CZ",
"currency": [
"CZK"
]
},
{
"location": "CL",
"currency": [
"CLP"
]
},
{
"location": "ES",
"currency": [
"EUR"
]
},
{
"location": "CH",
"currency": [
"CHF"
]
},
{
"location": "NO",
"currency": [
"NOK"
]
},
{
"location": "ID",
"currency": [
"IDR"
]
},
{
"location": "TW",
"currency": [
"TWD"
]
},
{
"location": "BE",
"currency": [
"EUR"
]
},
{
"location": "IT",
"currency": [
"EUR"
]
},
{
"location": "PE",
"currency": [
"PEN"
]
},
{
"location": "EG",
"currency": [
"EGP"
]
},
{
"location": "LU",
"currency": [
"EUR"
]
},
{
"location": "JP",
"currency": [
"JPY"
]
},
{
"location": "KR",
"currency": [
"KRW"
]
},
{
"location": "TH",
"currency": [
"THB"
]
},
{
"location": "KW",
"currency": [
"KWD"
]
},
{
"location": "SA",
"currency": [
"SAR"
]
},
{
"location": "CA",
"currency": [
"CAD"
]
},
{
"location": "IN",
"currency": [
"INR"
]
},
{
"location": "DE",
"currency": [
"EUR"
]
},
{
"location": "NZ",
"currency": [
"NZD"
]
},
{
"location": "NL",
"currency": [
"EUR"
]
},
{
"location": "CO",
"currency": [
"COP"
]
},
{
"location": "AR",
"currency": [
"ARS"
]
},
{
"location": "US",
"currency": [
"USD"
]
},
{
"location": "UA",
"currency": [
"UAH"
]
},
{
"location": "LB",
"currency": [
"LBP"
]
},
{
"location": "PK",
"currency": [
"PKR"
]
},
{
"location": "MX",
"currency": [
"MXN"
]
},
{
"location": "DK",
"currency": [
"DKK",
"EUR"
]
},
{
"location": "PH",
"currency": [
"PHP"
]
},
{
"location": "SE",
"currency": [
"SEK"
]
},
{
"location": "JO",
"currency": [
"JOD"
]
},
{
"location": "RO",
"currency": [
"RON",
"LEU",
"EUR"
]
},
{
"location": "EC",
"currency": [
"USD"
]
},
{
"location": "FI",
"currency": [
"EUR"
]
},
{
"location": "BR",
"currency": [
"BRL"
]
},
{
"location": "KZ",
"currency": [
"KZT"
]
},
{
"location": "OM",
"currency": [
"OMR"
]
},
{
"location": "SG",
"currency": [
"SGD",
"BND"
]
},
{
"location": "IE",
"currency": [
"EUR"
]
},
{
"location": "ZA",
"currency": [
"ZAR"
]
},
{
"location": "IQ",
"currency": [
"IQD"
]
},
{
"location": "BY",
"currency": [
"BYN"
]
},
{
"location": "MY",
"currency": [
"MYR"
]
},
{
"location": "QA",
"currency": [
"QAR"
]
},
{
"location": "BH",
"currency": [
"BHD"
]
},
{
"location": "GR",
"currency": [
"EUR"
]
},
{
"location": "PT",
"currency": [
"EUR"
]
},
{
"location": "KH",
"currency": [
"KHR"
]
},
{
"location": "IL",
"currency": [
"ILS"
]
},
{
"location": "RU",
"currency": [
"RUB"
]
},
{
"location": "VN",
"currency": [
"VND"
]
}
]
}
}
(/code);