Class: module:api/DeliverycountriesApi

module:api/DeliverycountriesApi(apiClient)

new module:api/DeliverycountriesApi(apiClient)

Constructs a new DeliverycountriesApi.

Parameters:
Name Type Description
apiClient module:ApiClient

Optional API client implementation to use, default to module:ApiClient#instance if unspecified.

Source:

Methods

deliverycountriesWithHttpInfo(opts) → {Promise}

getDeliveryCountries Lists all supported delivery countries for the current store. The list is sorted alphabetically.

Parameters:
Name Type Description
opts Object

Optional parameters

Properties
Name Type Description
fields String

Response configuration (list of fields, which should be returned in response)

Source:
Returns:

a Promise">www.promisejs.org/|Promise}, with an object containing data of type module:models/CountryList and HTTP response

Type
Promise

getDeliveryCountries(opts) → {Promise}

getDeliveryCountries Lists all supported delivery countries for the current store. The list is sorted alphabetically.

Parameters:
Name Type Description
opts Object

Optional parameters

Properties
Name Type Description
fields String

Response configuration (list of fields, which should be returned in response)

Source:
Returns:

a Promise">www.promisejs.org/|Promise}, with data of type module:models/CountryList

Type
Promise