- Welcome 👋
- Get Started
- Create Your First App
- Authorization
- Webhooks
- Conditional Webhooks
- Security Considerations
- Multi-Language Support
- Responses
- Pagination
- Rate Limiting
- Versioning
- Change Log
- Support
- APIs
- Orders
- Order Status
- Order Histories
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- Abandoned Carts
- 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
- Webhooks - Store Events
List Countries
Production
Production
GET
https://api.salla.dev/admin/v2/countries
Countries
Last modified:2024-12-26 06:09:57
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://api.salla.dev/admin/v2/countries?page'
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
Modified at 2024-12-26 06:09:57