Module: AmznSpApi::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.36
Defined Under Namespace
Classes: ApiClient, ApiError, Configuration, DefinitionsApi, Error, ErrorList, ProductType, ProductTypeDefinition, ProductTypeList, ProductTypeVersion, PropertyGroup, SchemaLink, SchemaLinkLink
Constant Summary collapse
- VERSION =
'1.0.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.
AmznSpApi::ProductTypeDefinitionsApiModel.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/product_type_definitions_api_model.rb', line 38 def configure if block_given? yield(Configuration.default) else Configuration.default end end |