State or Province
  • 17 Jun 2022
  • 1 Minute to read
  • Dark
    Light

State or Province

  • Dark
    Light

Article summary

State Or Province JSON Format

State Or Province is represented as simple flat JSON objects with the following keys:

NameTypeDescription
idstringID of State Or Province.
countryOrRegionIdstringID of Country Or Region.
namestringName of State Or Province.
descriptionstringDescription of State Or Province.

Get the list of State Or Province

GET global/stateOrProvinces

  • Parameters:

No Paramters

  • Response:

An array of State Or Province

  • Example

Sample Request:

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

Response:

HTTP/1.1 200 OK

[
  {
      "id": "Alebrta",
      "countryOrRegionId": "Canada",
      "name": "Alebrta",
      "description": ""
  }
] 

Was this article helpful?

What's Next