- Welcome 👋
- Get Started
- 水合失败
- Authorization
- Webhooks
- Conditional Webhooks
- Security Considerations
- Multi-Language Support
- Responses
- Pagination
- Rate Limiting
- Versioning
- Change Log
- Support
- 测试
- APIs
- Orders
- Order Status
- Order Histories
- Abandoned Carts
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- Customer Groups
- Customers
- Digitals Product
- Categories
- Exports
- Shipments
- Shipping Companies
- Shipping Zones
- Shipping Rules
- Countries
- Product Option Templates
- Taxes
- Coupons
- Affiliates
- Order Assignment
- Special Offers
- Transactions
- Payments
- Settlements
- Settings
- Merchant
- Brands
- Reviews
- Branches
- Currencies
- SEO
- Cities
- DNS Records
- Languages
- Employees
- Advertisements
- Webhooks
- Custom URLs
- Loyalty Points
- Orders
- Webhooks - Store Events
- 其他资源-Module
- 其他资源 Copy
List Countries
Develop Env
https://echo.apifox.com/anything
Develop Env
https://echo.apifox.com/anything
GET
https://echo.apifox.com/anything
Countries
Last modified:2025-02-20 07:53:20
Maintainer:Not configured
Scopes
metadata.read
- Metadata Read OnlyRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Query Params
page
integer
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://echo.apifox.com/anything/countries'
Responses
🟢200Success
application/json
Body
status
number
optional
success
boolean
optional
data
array[object (Country) {5}]
optional
id
number
required
name
string
required
name_en
string
required
code
string
required
mobile_code
string
required
pagination
object (Pagination)
optional
count
number
required
total
number
required
perPage
number
required
<= 65
currentPage
number
required
totalPages
number
required
links
object
required
Example
{
"status": 200,
"success": true,
"data": [
{
"id": 1473353380,
"name": "السعودية",
"name_en": "Saudi Arabia",
"code": "SA",
"mobile_code": "+966",
"capital": "Riyadh"
},
{
"id": 566146469,
"name": "الامارات",
"name_en": "United Arab Emirates",
"code": "AE",
"mobile_code": "+971",
"capital": "Abu Dhabi"
},
{
"id": 1939592358,
"name": "الكويت",
"name_en": "Kuwait",
"code": "KW",
"mobile_code": "+965",
"capital": "Kuwait City"
},
{
"id": 1298199463,
"name": "قطر",
"name_en": "Qatar",
"code": "QA",
"mobile_code": "+974",
"capital": "Doha"
},
{
"id": 525144736,
"name": "البحرين",
"name_en": "Bahrain",
"code": "BH",
"mobile_code": "+973",
"capital": "Manama"
},
{
"id": 1764372897,
"name": "العراق",
"name_en": "Iraq",
"code": "IQ",
"mobile_code": "+964",
"capital": "Baghdad"
},
{
"id": 989286562,
"name": "عمان",
"name_en": "Oman",
"code": "OM",
"mobile_code": "+968",
"capital": "Muscat"
},
{
"id": 349994915,
"name": "اليمن",
"name_en": "Yemen",
"code": "YE",
"mobile_code": "+967",
"capital": "Sanaa"
},
{
"id": 1723506348,
"name": "مصر",
"name_en": "Egypt",
"code": "EG",
"mobile_code": "+20",
"capital": "Cairo"
},
{
"id": 814202285,
"name": "السودان",
"name_en": "Sudan",
"code": "SD",
"mobile_code": "+249",
"capital": "Khartoum"
},
{
"id": 40688814,
"name": "ليبيا",
"name_en": "Libya",
"code": "LY",
"mobile_code": "+218",
"capital": "Tripoli"
},
{
"id": 1548352431,
"name": "الجزائر",
"name_en": "Algeria",
"code": "DZ",
"mobile_code": "+213",
"capital": "Algiers"
},
{
"id": 773200552,
"name": "تونس",
"name_en": "Tunisia",
"code": "TN",
"mobile_code": "+216",
"capital": "Tunis"
},
{
"id": 2079537577,
"name": "المغرب",
"name_en": "Morocco",
"code": "MA",
"mobile_code": "+212",
"capital": "Rabat"
},
{
"id": 1440241834,
"name": "سوريا",
"name_en": "Syria",
"code": "SY",
"mobile_code": "+963",
"capital": "Damascus"
}
],
"pagination": {
"count": 15,
"total": 240,
"perPage": 15,
"currentPage": 1,
"totalPages": 16,
"links": {
"next": "https://api.salla.dev/admin/v2/countries?page=2"
}
}
}
🟠401Unauthorized

扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

