Module: AmznSpApi::ListingsRestrictionsApiModel

Defined in:
lib/listings_restrictions_api_model/version.rb,
lib/listings_restrictions_api_model.rb,
lib/listings_restrictions_api_model/api_error.rb,
lib/listings_restrictions_api_model/api_client.rb,
lib/listings_restrictions_api_model/models/link.rb,
lib/listings_restrictions_api_model/models/error.rb,
lib/listings_restrictions_api_model/configuration.rb,
lib/listings_restrictions_api_model/models/reason.rb,
lib/listings_restrictions_api_model/api/listings_api.rb,
lib/listings_restrictions_api_model/models/error_list.rb,
lib/listings_restrictions_api_model/models/restriction.rb,
lib/listings_restrictions_api_model/models/restriction_list.rb

Overview

#Selling Partner API for Listings Restrictions

The Selling Partner API for Listings Restrictions provides programmatic access to restrictions on Amazon catalog listings. For more information, see the [Listings Restrictions API Use Case Guide](doc:listings-restrictions-api-v2021-08-01-use-case-guide).

OpenAPI spec version: 2021-08-01

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

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, Error, ErrorList, Link, ListingsApi, Reason, Restriction, RestrictionList

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

AmznSpApi::ListingsRestrictionsApiModel.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



35
36
37
38
39
40
41
# File 'lib/listings_restrictions_api_model.rb', line 35

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