跳轉到主要內容
GET
/
api
/
Country
/
getAllCountries
Get all countries
curl --request GET \
  --url https://api.returnshelper.com/uat/public/api/Country/getAllCountries \
  --header 'x-rr-apikey: <api-key>' \
  --header 'x-rr-apitoken: <api-key>'
{
  "countries": [
    {
      "countryCode": "<string>",
      "countryName": "<string>"
    }
  ]
}
此頁面由 AI 自動翻譯。API 技術規格以英文呈現為標準。如有任何疑問,請參閱英文版本
列出 Return Helper 支援作為目的地的所有國家。國家代碼以小寫 ISO3 形式回傳(例如 usagbrchn)——請使用這些值填充 toCountryCodeshipToCountry 欄位。

授權

x-rr-apikey
string
header
必填

Your API key

x-rr-apitoken
string
header
必填

Your API token — keep this private

回應

Success

countries
object[]

List of origin countries