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

Endpoints.getCountries() method

Returns a list of supported countries for shipping and billing.

Signature:

getCountries(context: SapccIntegrationContext, props: GetCountriesProps): Promise<CountryList>;

Parameters

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

Returns:

Promise<CountryList>