Module: AmzSpApi::ProductTypeDefinitionsApiModel
- Defined in:
- lib/product-type-definitions-api-model/version.rb,
lib/product-type-definitions-api-model.rb,
lib/product-type-definitions-api-model/api_error.rb,
lib/product-type-definitions-api-model/api_client.rb,
lib/product-type-definitions-api-model/models/error.rb,
lib/product-type-definitions-api-model/configuration.rb,
lib/product-type-definitions-api-model/models/error_list.rb,
lib/product-type-definitions-api-model/models/schema_link.rb,
lib/product-type-definitions-api-model/api/definitions_api.rb,
lib/product-type-definitions-api-model/models/product_type.rb,
lib/product-type-definitions-api-model/models/property_group.rb,
lib/product-type-definitions-api-model/models/schema_link_link.rb,
lib/product-type-definitions-api-model/models/product_type_list.rb,
lib/product-type-definitions-api-model/models/product_type_version.rb,
lib/product-type-definitions-api-model/models/product_type_definition.rb
Overview
#Selling Partner API for Product Type Definitions
#The Selling Partner API for Product Type Definitions provides programmatic access to attribute and data requirements for product types in the Amazon catalog. Use this API to return the JSON Schema for a product type that you can then use with other Selling Partner APIs, such as the Selling Partner API for Listings Items, the Selling Partner API for Catalog Items, and the Selling Partner API for Feeds (for JSON-based listing feeds). For more information, see the [Product Type Definitions API Use Case Guide](doc:product-type-api-use-case-guide).
OpenAPI spec version: 2020-09-01
Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 3.0.24
Defined Under Namespace
Classes: ApiClient, ApiError, Configuration, DefinitionsApi, Error, ErrorList, ProductType, ProductTypeDefinition, ProductTypeList, ProductTypeVersion, PropertyGroup, SchemaLink, SchemaLinkLink
Constant Summary collapse
- VERSION =
'0.1.0'
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
AmzSpApi::ProductTypeDefinitionsApiModel.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
40 41 42 43 44 45 46 |
# File 'lib/product-type-definitions-api-model.rb', line 40 def configure if block_given? yield(Configuration.default) else Configuration.default end end |