Skip to main content
Version: 202506

Create province

POST 

/openapi/2025-06/areas/country/:country/province

The Create Province API allows developers to create a new province within a specified country. This endpoint requires the province data in the request body.

Request

Path Parameters

    country stringrequired

    Province ID

Bodyrequired

    provinces object[]required

    The cities of the province

  • Array [
  • namestringrequired

    Name of the province

    cities object[]required

    Cities of the province

  • Array [
  • namestringrequired

    Name of the city

    addresses object[]required

    List of addresses

  • Array [
  • namestringrequired

    Name of the address

    address1sstring[]required

    Detailed information of the address

  • ]
  • ]
  • ]

Responses

OK

Schema
    codestring

    error code

    messagestring

    error message

    data object
    object