Skip to content
On this page

getAvailableCountries

Definition

Get all available countries

Signature

ts
export async function getAvailableCountries(
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<EntityResult<"country", Country>> 

Parameters

NameTypeDescription
contextInstance
ShopwareApiInstance
instance of the api client (by default it's an Axios instance)

Return type

ts
Promise<EntityResult<, Country>>

Usage example

WARNING

Example is generated automatically. Sometimes it's required to be adjusted to your needs.

Open in StackBlitz

getAvailableCountries has loaded