Config

Retrieve state/province

Work with states/provinces.Retrieves the state/province with the given ID.

get/admin/config/states-provinces/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/config/states-provinces/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID of the desired state/province.

Response

idnumber

State/province ID

codestring

State/province code

namestring

State/province name

date_changedstring

Date when state/province was changed

is_defaultnumber

Is default state/province

Example response

{
  "id": 1,
  "code": "code",
  "name": "name",
  "date_changed": "2024-10-08",
  "is_default": 0
}

Changes

No recorded changes to this operation across all 1 revision of this API.