Module: AmzSpApi::SellersApiModel

Defined in:
lib/sellers-api-model/version.rb,
lib/sellers-api-model.rb,
lib/sellers-api-model/api_error.rb,
lib/sellers-api-model/api_client.rb,
lib/sellers-api-model/models/error.rb,
lib/sellers-api-model/configuration.rb,
lib/sellers-api-model/api/sellers_api.rb,
lib/sellers-api-model/models/error_list.rb,
lib/sellers-api-model/models/marketplace.rb,
lib/sellers-api-model/models/participation.rb,
lib/sellers-api-model/models/marketplace_participation.rb,
lib/sellers-api-model/models/marketplace_participation_list.rb,
lib/sellers-api-model/models/get_marketplace_participations_response.rb

Overview

#Selling Partner API for Sellers

#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.

OpenAPI spec version: v1

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 3.0.24

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, Error, ErrorList, GetMarketplaceParticipationsResponse, Marketplace, MarketplaceParticipation, MarketplaceParticipationList, Participation, SellersApi

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

AmzSpApi::SellersApiModel.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



38
39
40
41
42
43
44
# File 'lib/sellers-api-model.rb', line 38

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end