Country or Region
  • 05 Jul 2022
  • 1 Minute to read
  • Dark
    Light

Country or Region

  • Dark
    Light

Article summary

Country Or Region JSON Format

Country Or Region is represented as simple flat JSON objects with the following keys:

NameTypeDescription
idstringId of Country Or Region.
namestringName of Country Or Region.
descriptionstringDescription of Country Or Region.
isDeletedboolWhether the Country Or Region is deleted or not.

Get the list of Country Or Region

GET global/countryOrRegions

  • Parameters:

No Paramters

  • Response:

An array of Country Or Region

  • Example

Sample Request:

curl https://partnerapi.comm100.io/v4/global/countryOrRegions \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

[
  {
      "id": "Afghanistan",
      "name": "Afghanistan (افغانستان)",
      "description": "",
      "isDeleted": false
  }
] 

Was this article helpful?