Skip to main content

Get List of Provinces

GET 

/provinces

Retrieve a list of provinces based on the user type and country ID.

Request

Query Parameters

    user_type integerrequired

    The type of user. Example 1

    country_id integer

    The ID of the country.

Header Parameters

    Request-ID stringrequired

    A unique identifier for the request, used for tracking and troubleshooting purposes. In case of any errors, Flip can use this value to trace and investigate the specific request. The Request-ID will be formed of bigflip-{uuid}, where the “uuid” (Universally unique identifier) has to be generated on your end. Example: "Request-ID: bigflip-47EB7F57-5565-4BF0-B9DD-46C6268CEE71".

Responses

List of provinces retrieved successfully

Schema

    provinces

    object[]

  • Array [

  • id integer

    The ID of the province.

    name string

    The name of the province.

  • ]

Loading...