States

Represents a state belonging to a physical address. This object is used by the Customer API.

State object

See the complete list of states available in Piriod

List states

GET https://api.piriod.com/generals/states/

Lists states objects. Learn more about pagination and filtering.

Query Parameters

{
  "count": 26,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": "US-CA",
      "code": "CA",
      "country": "US",
      "name": "California",
    },
    {
      "id": "US-NC",
      "code": "NC",
      "country": "US",
      "name": "Carolina del Norte"
    },
    ...
    ...
    ...
    {
      "id": "US-OH",
      "code": "OH",
      "country": "US",
      "name": "Ohio"
    },
    {
      "id": "US-OK",
      "code": "OK",
      "country": "US",
      "name": "Oklahoma"
    }
  ]
}

Last updated