Method: AvaTax::Client::Definitions#list_marketplace_locations

Defined in:
lib/avatax/client/definitions.rb

#list_marketplace_locations(options = {}) ⇒ FetchResult

Retrieve the list of locations for a marketplace.

Retrieves the list of suggested locations for a marketplace. Swagger Name: AvaTaxClient

Parameters:

  • marketplaceId (String)

    MarketplaceId of a marketplace

  • top (Integer)

    If nonzero, return no more than this number of results. Used with $skip to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.

  • skip (Integer)

    If nonzero, skip this number of results before returning data. Used with $top to provide pagination for large datasets.

  • orderBy (String)

    A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.

Returns:

  • (FetchResult)


472
473
# File 'lib/avatax/client/definitions.rb', line 472

def list_marketplace_locations(options={})        path = "/api/v2/definitions/marketplacelocations"
get(path, options, AvaTax::VERSION)      end