Home > @vsf-enterprise/sapcc-api > Endpoints > getCountryRegions

Endpoints.getCountryRegions() method

Returns a list of supported regions for a given country.

Signature:

getCountryRegions(context: SapccIntegrationContext, props: GetCountryRegionsProps): Promise<RegionList>;

Parameters

Parameter Type Description
context SapccIntegrationContext An auto-generated value prepended to the method as a first parameter.
props GetCountryRegionsProps An object containing necessary props for pulling county regions.

Returns:

Promise<RegionList>