County

List counties by country

Changed on

Use this BillingServ API endpoint to list counties for a selected country. Cache the returned canonical county names and IDs for selection, or use search for autocomplete. Pass the selected county ID to the customer endpoint. Review the response for the operation result or validation errors.

get/county/lists-by-country

Request

Query parameters

country_idinteger required

ID of the selected country.

pageinteger

Page number for pagination.

per_pageinteger

Number of counties to return per page. Defaults to 15 and supports up to 100.

searchstring

Optional search by county name or county code.

Response

OK

successboolean

Changes

    • info

      added the new optional query request parameter page

    • info

      added the new optional query request parameter per_page

    • info

      added the new optional query request parameter search

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status