A product type definition represents the attributes and data requirements for a product type in the Amazon catalog. Product type definitions are used interchangeably between the Selling Partner API for Listings Items, Selling Partner API for Catalog Items, and JSON-based listings feeds in the Selling Partner API for Feeds.

ProductTypeDefinition

interface ProductTypeDefinition {
    displayName: string;
    locale: string;
    marketplaceIds: string[];
    metaSchema?: SchemaLink;
    productType: string;
    productTypeVersion: ProductTypeVersion;
    propertyGroups: { [key: string]: PropertyGroup };
    requirements: ProductTypeDefinitionRequirementsEnum;
    requirementsEnforced: ProductTypeDefinitionRequirementsEnforcedEnum;
    schema: SchemaLink;
}

Properties

displayName: string

Human-readable and localized description of the Amazon product type.

ProductTypeDefinition

locale: string

Locale of the display elements contained in the product type definition.

ProductTypeDefinition

marketplaceIds: string[]

Amazon marketplace identifiers for which the product type definition is applicable.

ProductTypeDefinition

metaSchema?: SchemaLink

ProductTypeDefinition

productType: string

The name of the Amazon product type that this product type definition applies to.

ProductTypeDefinition

productTypeVersion: ProductTypeVersion

ProductTypeDefinition

propertyGroups: { [key: string]: PropertyGroup }

Mapping of property group names to property groups. Property groups represent logical groupings of schema properties that can be used for display or informational purposes.

ProductTypeDefinition

Name of the requirements set represented in this product type definition.

ProductTypeDefinition

Identifies if the required attributes for a requirements set are enforced by the product type definition schema. Non-enforced requirements enable structural validation of individual attributes without all of the required attributes being present (such as for partial updates).

ProductTypeDefinition

schema: SchemaLink

ProductTypeDefinition