Retrieve a country list
Retrieve a country list
Authorizations:Token, JWT
Query Parameters
| page | integerDefault: 1The collection page number |
| itemsPerPage | integer[0 .. 100]Default: 30The number of items per page |
| pagination | booleanEnable or disable pagination |
Responses
200Country collection
Response schema:
Country collection Array
| id | string | ||||||||
| code | string | ||||||||
| name | string | ||||||||
| regions | Array of objects | ||||||||
Array
| |||||||||
| states | Array of objects | ||||||||
Array
| |||||||||
| activeCurrency | string | ||||||||
401Unauthorized
Response schema:
Unauthorized | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |
500Internal error
Response schema:
Internal error | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |