catalog_items_2020_12_01_models

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ItemImageVariantMAIN captures enum value "MAIN"
	ItemImageVariantMAIN string = "MAIN"

	// ItemImageVariantPT01 captures enum value "PT01"
	ItemImageVariantPT01 string = "PT01"

	// ItemImageVariantPT02 captures enum value "PT02"
	ItemImageVariantPT02 string = "PT02"

	// ItemImageVariantPT03 captures enum value "PT03"
	ItemImageVariantPT03 string = "PT03"

	// ItemImageVariantPT04 captures enum value "PT04"
	ItemImageVariantPT04 string = "PT04"

	// ItemImageVariantPT05 captures enum value "PT05"
	ItemImageVariantPT05 string = "PT05"

	// ItemImageVariantPT06 captures enum value "PT06"
	ItemImageVariantPT06 string = "PT06"

	// ItemImageVariantPT07 captures enum value "PT07"
	ItemImageVariantPT07 string = "PT07"

	// ItemImageVariantPT08 captures enum value "PT08"
	ItemImageVariantPT08 string = "PT08"

	// ItemImageVariantSWCH captures enum value "SWCH"
	ItemImageVariantSWCH string = "SWCH"
)
View Source
const (

	// ItemVariationsByMarketplaceVariationTypePARENT captures enum value "PARENT"
	ItemVariationsByMarketplaceVariationTypePARENT string = "PARENT"

	// ItemVariationsByMarketplaceVariationTypeCHILD captures enum value "CHILD"
	ItemVariationsByMarketplaceVariationTypeCHILD string = "CHILD"
)
View Source
const (

	// ItemVendorDetailsByMarketplaceReplenishmentCategoryALLOCATED captures enum value "ALLOCATED"
	ItemVendorDetailsByMarketplaceReplenishmentCategoryALLOCATED string = "ALLOCATED"

	// ItemVendorDetailsByMarketplaceReplenishmentCategoryBASICREPLENISHMENT captures enum value "BASIC_REPLENISHMENT"
	ItemVendorDetailsByMarketplaceReplenishmentCategoryBASICREPLENISHMENT string = "BASIC_REPLENISHMENT"

	// ItemVendorDetailsByMarketplaceReplenishmentCategoryINSEASON captures enum value "IN_SEASON"
	ItemVendorDetailsByMarketplaceReplenishmentCategoryINSEASON string = "IN_SEASON"

	// ItemVendorDetailsByMarketplaceReplenishmentCategoryLIMITEDREPLENISHMENT captures enum value "LIMITED_REPLENISHMENT"
	ItemVendorDetailsByMarketplaceReplenishmentCategoryLIMITEDREPLENISHMENT string = "LIMITED_REPLENISHMENT"

	// ItemVendorDetailsByMarketplaceReplenishmentCategoryMANUFACTUREROUTOFSTOCK captures enum value "MANUFACTURER_OUT_OF_STOCK"
	ItemVendorDetailsByMarketplaceReplenishmentCategoryMANUFACTUREROUTOFSTOCK string = "MANUFACTURER_OUT_OF_STOCK"

	// ItemVendorDetailsByMarketplaceReplenishmentCategoryNEWPRODUCT captures enum value "NEW_PRODUCT"
	ItemVendorDetailsByMarketplaceReplenishmentCategoryNEWPRODUCT string = "NEW_PRODUCT"

	// ItemVendorDetailsByMarketplaceReplenishmentCategoryNONREPLENISHABLE captures enum value "NON_REPLENISHABLE"
	ItemVendorDetailsByMarketplaceReplenishmentCategoryNONREPLENISHABLE string = "NON_REPLENISHABLE"

	// ItemVendorDetailsByMarketplaceReplenishmentCategoryNONSTOCKUPABLE captures enum value "NON_STOCKUPABLE"
	ItemVendorDetailsByMarketplaceReplenishmentCategoryNONSTOCKUPABLE string = "NON_STOCKUPABLE"

	// ItemVendorDetailsByMarketplaceReplenishmentCategoryOBSOLETE captures enum value "OBSOLETE"
	ItemVendorDetailsByMarketplaceReplenishmentCategoryOBSOLETE string = "OBSOLETE"

	// ItemVendorDetailsByMarketplaceReplenishmentCategoryPLANNEDREPLENISHMENT captures enum value "PLANNED_REPLENISHMENT"
	ItemVendorDetailsByMarketplaceReplenishmentCategoryPLANNEDREPLENISHMENT string = "PLANNED_REPLENISHMENT"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BrandRefinement

type BrandRefinement struct {

	// Brand name. For display and can be used as a search refinement.
	// Required: true
	BrandName *string `json:"brandName"`

	// The estimated number of results that would still be returned if refinement key applied.
	// Required: true
	NumberOfResults *int64 `json:"numberOfResults"`
}

BrandRefinement Description of a brand that can be used to get more fine-grained search results.

swagger:model BrandRefinement

func (*BrandRefinement) ContextValidate

func (m *BrandRefinement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this brand refinement based on context it is used

func (*BrandRefinement) MarshalBinary

func (m *BrandRefinement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BrandRefinement) UnmarshalBinary

func (m *BrandRefinement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BrandRefinement) Validate

func (m *BrandRefinement) Validate(formats strfmt.Registry) error

Validate validates this brand refinement

type ClassificationRefinement

type ClassificationRefinement struct {

	// Identifier for the classification that can be used for search refinement purposes.
	// Required: true
	ClassificationID *string `json:"classificationId"`

	// Display name for the classification.
	// Required: true
	DisplayName *string `json:"displayName"`

	// The estimated number of results that would still be returned if refinement key applied.
	// Required: true
	NumberOfResults *int64 `json:"numberOfResults"`
}

ClassificationRefinement Description of a classification that can be used to get more fine-grained search results.

swagger:model ClassificationRefinement

func (*ClassificationRefinement) ContextValidate

func (m *ClassificationRefinement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this classification refinement based on context it is used

func (*ClassificationRefinement) MarshalBinary

func (m *ClassificationRefinement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClassificationRefinement) UnmarshalBinary

func (m *ClassificationRefinement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClassificationRefinement) Validate

func (m *ClassificationRefinement) Validate(formats strfmt.Registry) error

Validate validates this classification refinement

type Error

type Error struct {

	// An error code that identifies the type of error that occurred.
	// Required: true
	Code *string `json:"code"`

	// Additional details that can help the caller understand or fix the issue.
	Details string `json:"details,omitempty"`

	// A message that describes the error condition.
	// Required: true
	Message *string `json:"message"`
}

Error Error response returned when the request is unsuccessful.

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type ErrorList

type ErrorList struct {

	// errors
	// Required: true
	Errors []*Error `json:"errors"`
}

ErrorList A list of error responses returned when a request is unsuccessful.

swagger:model ErrorList

func (*ErrorList) ContextValidate

func (m *ErrorList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this error list based on the context it is used

func (*ErrorList) MarshalBinary

func (m *ErrorList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ErrorList) UnmarshalBinary

func (m *ErrorList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ErrorList) Validate

func (m *ErrorList) Validate(formats strfmt.Registry) error

Validate validates this error list

type Item

type Item struct {

	// asin
	// Required: true
	Asin *ItemAsin `json:"asin"`

	// attributes
	Attributes ItemAttributes `json:"attributes,omitempty"`

	// identifiers
	Identifiers ItemIdentifiers `json:"identifiers,omitempty"`

	// images
	Images ItemImages `json:"images,omitempty"`

	// product types
	ProductTypes ItemProductTypes `json:"productTypes,omitempty"`

	// sales ranks
	SalesRanks ItemSalesRanks `json:"salesRanks,omitempty"`

	// summaries
	Summaries ItemSummaries `json:"summaries,omitempty"`

	// variations
	Variations ItemVariations `json:"variations,omitempty"`

	// vendor details
	VendorDetails ItemVendorDetails `json:"vendorDetails,omitempty"`
}

Item An item in the Amazon catalog.

swagger:model Item

func (*Item) ContextValidate

func (m *Item) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item based on the context it is used

func (*Item) MarshalBinary

func (m *Item) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Item) UnmarshalBinary

func (m *Item) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Item) Validate

func (m *Item) Validate(formats strfmt.Registry) error

Validate validates this item

type ItemAsin

type ItemAsin string

ItemAsin Amazon Standard Identification Number (ASIN) is the unique identifier for an item in the Amazon catalog.

swagger:model ItemAsin

func (ItemAsin) ContextValidate

func (m ItemAsin) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this item asin based on context it is used

func (ItemAsin) Validate

func (m ItemAsin) Validate(formats strfmt.Registry) error

Validate validates this item asin

type ItemAttributes

type ItemAttributes interface{}

ItemAttributes A JSON object that contains structured item attribute data keyed by attribute name. Catalog item attributes are available only to brand owners and conform to the related product type definitions available in the Selling Partner API for Product Type Definitions.

swagger:model ItemAttributes

type ItemIdentifier

type ItemIdentifier struct {

	// Identifier.
	// Required: true
	Identifier *string `json:"identifier"`

	// Type of identifier, such as UPC, EAN, or ISBN.
	// Required: true
	IdentifierType *string `json:"identifierType"`
}

ItemIdentifier Identifier associated with the item in the Amazon catalog, such as a UPC or EAN identifier.

swagger:model ItemIdentifier

func (*ItemIdentifier) ContextValidate

func (m *ItemIdentifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this item identifier based on context it is used

func (*ItemIdentifier) MarshalBinary

func (m *ItemIdentifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemIdentifier) UnmarshalBinary

func (m *ItemIdentifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemIdentifier) Validate

func (m *ItemIdentifier) Validate(formats strfmt.Registry) error

Validate validates this item identifier

type ItemIdentifiers

type ItemIdentifiers []*ItemIdentifiersByMarketplace

ItemIdentifiers Identifiers associated with the item in the Amazon catalog, such as UPC and EAN identifiers.

swagger:model ItemIdentifiers

func (ItemIdentifiers) ContextValidate

func (m ItemIdentifiers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item identifiers based on the context it is used

func (ItemIdentifiers) Validate

func (m ItemIdentifiers) Validate(formats strfmt.Registry) error

Validate validates this item identifiers

type ItemIdentifiersByMarketplace

type ItemIdentifiersByMarketplace struct {

	// Identifiers associated with the item in the Amazon catalog for the indicated Amazon marketplace.
	// Required: true
	Identifiers []*ItemIdentifier `json:"identifiers"`

	// Amazon marketplace identifier.
	// Required: true
	MarketplaceID *string `json:"marketplaceId"`
}

ItemIdentifiersByMarketplace Identifiers associated with the item in the Amazon catalog for the indicated Amazon marketplace.

swagger:model ItemIdentifiersByMarketplace

func (*ItemIdentifiersByMarketplace) ContextValidate

func (m *ItemIdentifiersByMarketplace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item identifiers by marketplace based on the context it is used

func (*ItemIdentifiersByMarketplace) MarshalBinary

func (m *ItemIdentifiersByMarketplace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemIdentifiersByMarketplace) UnmarshalBinary

func (m *ItemIdentifiersByMarketplace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemIdentifiersByMarketplace) Validate

func (m *ItemIdentifiersByMarketplace) Validate(formats strfmt.Registry) error

Validate validates this item identifiers by marketplace

type ItemImage

type ItemImage struct {

	// Height of the image in pixels.
	// Required: true
	Height *int64 `json:"height"`

	// Link, or URL, for the image.
	// Required: true
	Link *string `json:"link"`

	// Variant of the image, such as MAIN or PT01.
	// Example: MAIN
	// Required: true
	// Enum: [MAIN PT01 PT02 PT03 PT04 PT05 PT06 PT07 PT08 SWCH]
	Variant *string `json:"variant"`

	// Width of the image in pixels.
	// Required: true
	Width *int64 `json:"width"`
}

ItemImage Image for an item in the Amazon catalog.

swagger:model ItemImage

func (*ItemImage) ContextValidate

func (m *ItemImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this item image based on context it is used

func (*ItemImage) MarshalBinary

func (m *ItemImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemImage) UnmarshalBinary

func (m *ItemImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemImage) Validate

func (m *ItemImage) Validate(formats strfmt.Registry) error

Validate validates this item image

type ItemImages

type ItemImages []*ItemImagesByMarketplace

ItemImages Images for an item in the Amazon catalog. All image variants are provided to brand owners. Otherwise, a thumbnail of the "MAIN" image variant is provided.

swagger:model ItemImages

func (ItemImages) ContextValidate

func (m ItemImages) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item images based on the context it is used

func (ItemImages) Validate

func (m ItemImages) Validate(formats strfmt.Registry) error

Validate validates this item images

type ItemImagesByMarketplace

type ItemImagesByMarketplace struct {

	// Images for an item in the Amazon catalog for the indicated Amazon marketplace.
	// Required: true
	Images []*ItemImage `json:"images"`

	// Amazon marketplace identifier.
	// Required: true
	MarketplaceID *string `json:"marketplaceId"`
}

ItemImagesByMarketplace Images for an item in the Amazon catalog for the indicated Amazon marketplace.

swagger:model ItemImagesByMarketplace

func (*ItemImagesByMarketplace) ContextValidate

func (m *ItemImagesByMarketplace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item images by marketplace based on the context it is used

func (*ItemImagesByMarketplace) MarshalBinary

func (m *ItemImagesByMarketplace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemImagesByMarketplace) UnmarshalBinary

func (m *ItemImagesByMarketplace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemImagesByMarketplace) Validate

func (m *ItemImagesByMarketplace) Validate(formats strfmt.Registry) error

Validate validates this item images by marketplace

type ItemProductTypeByMarketplace

type ItemProductTypeByMarketplace struct {

	// Amazon marketplace identifier.
	MarketplaceID string `json:"marketplaceId,omitempty"`

	// Name of the product type associated with the Amazon catalog item.
	// Example: LUGGAGE
	ProductType string `json:"productType,omitempty"`
}

ItemProductTypeByMarketplace Product type associated with the Amazon catalog item for the indicated Amazon marketplace.

swagger:model ItemProductTypeByMarketplace

func (*ItemProductTypeByMarketplace) ContextValidate

func (m *ItemProductTypeByMarketplace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this item product type by marketplace based on context it is used

func (*ItemProductTypeByMarketplace) MarshalBinary

func (m *ItemProductTypeByMarketplace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemProductTypeByMarketplace) UnmarshalBinary

func (m *ItemProductTypeByMarketplace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemProductTypeByMarketplace) Validate

func (m *ItemProductTypeByMarketplace) Validate(formats strfmt.Registry) error

Validate validates this item product type by marketplace

type ItemProductTypes

type ItemProductTypes []*ItemProductTypeByMarketplace

ItemProductTypes Product types associated with the Amazon catalog item.

swagger:model ItemProductTypes

func (ItemProductTypes) ContextValidate

func (m ItemProductTypes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item product types based on the context it is used

func (ItemProductTypes) Validate

func (m ItemProductTypes) Validate(formats strfmt.Registry) error

Validate validates this item product types

type ItemSalesRank

type ItemSalesRank struct {

	// Corresponding Amazon retail website link, or URL, for the sales rank.
	Link string `json:"link,omitempty"`

	// Sales rank value.
	// Required: true
	Rank *int64 `json:"rank"`

	// Title, or name, of the sales rank.
	// Required: true
	Title *string `json:"title"`
}

ItemSalesRank Sales rank of an Amazon catalog item.

swagger:model ItemSalesRank

func (*ItemSalesRank) ContextValidate

func (m *ItemSalesRank) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this item sales rank based on context it is used

func (*ItemSalesRank) MarshalBinary

func (m *ItemSalesRank) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemSalesRank) UnmarshalBinary

func (m *ItemSalesRank) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemSalesRank) Validate

func (m *ItemSalesRank) Validate(formats strfmt.Registry) error

Validate validates this item sales rank

type ItemSalesRanks

type ItemSalesRanks []*ItemSalesRanksByMarketplace

ItemSalesRanks Sales ranks of an Amazon catalog item.

swagger:model ItemSalesRanks

func (ItemSalesRanks) ContextValidate

func (m ItemSalesRanks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item sales ranks based on the context it is used

func (ItemSalesRanks) Validate

func (m ItemSalesRanks) Validate(formats strfmt.Registry) error

Validate validates this item sales ranks

type ItemSalesRanksByMarketplace

type ItemSalesRanksByMarketplace struct {

	// Amazon marketplace identifier.
	// Required: true
	MarketplaceID *string `json:"marketplaceId"`

	// Sales ranks of an Amazon catalog item for an Amazon marketplace.
	// Required: true
	Ranks []*ItemSalesRank `json:"ranks"`
}

ItemSalesRanksByMarketplace Sales ranks of an Amazon catalog item for the indicated Amazon marketplace.

swagger:model ItemSalesRanksByMarketplace

func (*ItemSalesRanksByMarketplace) ContextValidate

func (m *ItemSalesRanksByMarketplace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item sales ranks by marketplace based on the context it is used

func (*ItemSalesRanksByMarketplace) MarshalBinary

func (m *ItemSalesRanksByMarketplace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemSalesRanksByMarketplace) UnmarshalBinary

func (m *ItemSalesRanksByMarketplace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemSalesRanksByMarketplace) Validate

func (m *ItemSalesRanksByMarketplace) Validate(formats strfmt.Registry) error

Validate validates this item sales ranks by marketplace

type ItemSearchResults

type ItemSearchResults struct {

	// A list of items from the Amazon catalog.
	// Required: true
	Items []*Item `json:"items"`

	// The estimated total number of products matched by the search query (only results up to the page count limit will be returned per request regardless of the number found).
	//
	// Note: The maximum number of items (ASINs) that can be returned and paged through is 1000.
	// Required: true
	NumberOfResults *int64 `json:"numberOfResults"`

	// If available, the nextToken and/or previousToken values required to return paginated results.
	// Required: true
	Pagination *Pagination `json:"pagination"`

	// refinements
	// Required: true
	Refinements *Refinements `json:"refinements"`
}

ItemSearchResults Items in the Amazon catalog and search related metadata.

swagger:model ItemSearchResults

func (*ItemSearchResults) ContextValidate

func (m *ItemSearchResults) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item search results based on the context it is used

func (*ItemSearchResults) MarshalBinary

func (m *ItemSearchResults) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemSearchResults) UnmarshalBinary

func (m *ItemSearchResults) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemSearchResults) Validate

func (m *ItemSearchResults) Validate(formats strfmt.Registry) error

Validate validates this item search results

type ItemSummaries

type ItemSummaries []*ItemSummaryByMarketplace

ItemSummaries Summary details of an Amazon catalog item.

swagger:model ItemSummaries

func (ItemSummaries) ContextValidate

func (m ItemSummaries) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item summaries based on the context it is used

func (ItemSummaries) Validate

func (m ItemSummaries) Validate(formats strfmt.Registry) error

Validate validates this item summaries

type ItemSummaryByMarketplace

type ItemSummaryByMarketplace struct {

	// Name of the brand associated with an Amazon catalog item.
	BrandName string `json:"brandName,omitempty"`

	// Identifier of the browse node associated with an Amazon catalog item.
	BrowseNode string `json:"browseNode,omitempty"`

	// Name of the color associated with an Amazon catalog item.
	ColorName string `json:"colorName,omitempty"`

	// Name, or title, associated with an Amazon catalog item.
	ItemName string `json:"itemName,omitempty"`

	// Name of the manufacturer associated with an Amazon catalog item.
	Manufacturer string `json:"manufacturer,omitempty"`

	// Amazon marketplace identifier.
	// Required: true
	MarketplaceID *string `json:"marketplaceId"`

	// Model number associated with an Amazon catalog item.
	ModelNumber string `json:"modelNumber,omitempty"`

	// Name of the size associated with an Amazon catalog item.
	SizeName string `json:"sizeName,omitempty"`

	// Name of the style associated with an Amazon catalog item.
	StyleName string `json:"styleName,omitempty"`
}

ItemSummaryByMarketplace Summary details of an Amazon catalog item for the indicated Amazon marketplace.

swagger:model ItemSummaryByMarketplace

func (*ItemSummaryByMarketplace) ContextValidate

func (m *ItemSummaryByMarketplace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this item summary by marketplace based on context it is used

func (*ItemSummaryByMarketplace) MarshalBinary

func (m *ItemSummaryByMarketplace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemSummaryByMarketplace) UnmarshalBinary

func (m *ItemSummaryByMarketplace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemSummaryByMarketplace) Validate

func (m *ItemSummaryByMarketplace) Validate(formats strfmt.Registry) error

Validate validates this item summary by marketplace

type ItemVariations

type ItemVariations []*ItemVariationsByMarketplace

ItemVariations Variation details by marketplace for an Amazon catalog item (variation relationships).

swagger:model ItemVariations

func (ItemVariations) ContextValidate

func (m ItemVariations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item variations based on the context it is used

func (ItemVariations) Validate

func (m ItemVariations) Validate(formats strfmt.Registry) error

Validate validates this item variations

type ItemVariationsByMarketplace

type ItemVariationsByMarketplace struct {

	// Identifiers (ASINs) of the related items.
	// Required: true
	Asins []string `json:"asins"`

	// Amazon marketplace identifier.
	// Required: true
	MarketplaceID *string `json:"marketplaceId"`

	// Type of variation relationship of the Amazon catalog item in the request to the related item(s): "PARENT" or "CHILD".
	// Example: PARENT
	// Required: true
	// Enum: [PARENT CHILD]
	VariationType *string `json:"variationType"`
}

ItemVariationsByMarketplace Variation details for the Amazon catalog item for the indicated Amazon marketplace.

swagger:model ItemVariationsByMarketplace

func (*ItemVariationsByMarketplace) ContextValidate

func (m *ItemVariationsByMarketplace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this item variations by marketplace based on context it is used

func (*ItemVariationsByMarketplace) MarshalBinary

func (m *ItemVariationsByMarketplace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemVariationsByMarketplace) UnmarshalBinary

func (m *ItemVariationsByMarketplace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemVariationsByMarketplace) Validate

func (m *ItemVariationsByMarketplace) Validate(formats strfmt.Registry) error

Validate validates this item variations by marketplace

type ItemVendorDetails

type ItemVendorDetails []*ItemVendorDetailsByMarketplace

ItemVendorDetails Vendor details associated with an Amazon catalog item. Vendor details are available to vendors only.

swagger:model ItemVendorDetails

func (ItemVendorDetails) ContextValidate

func (m ItemVendorDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item vendor details based on the context it is used

func (ItemVendorDetails) Validate

func (m ItemVendorDetails) Validate(formats strfmt.Registry) error

Validate validates this item vendor details

type ItemVendorDetailsByMarketplace

type ItemVendorDetailsByMarketplace struct {

	// Brand code associated with an Amazon catalog item.
	BrandCode string `json:"brandCode,omitempty"`

	// Product category associated with an Amazon catalog item.
	CategoryCode string `json:"categoryCode,omitempty"`

	// Manufacturer code associated with an Amazon catalog item.
	ManufacturerCode string `json:"manufacturerCode,omitempty"`

	// Parent vendor code of the manufacturer code.
	ManufacturerCodeParent string `json:"manufacturerCodeParent,omitempty"`

	// Amazon marketplace identifier.
	// Required: true
	MarketplaceID *string `json:"marketplaceId"`

	// Product group associated with an Amazon catalog item.
	ProductGroup string `json:"productGroup,omitempty"`

	// Replenishment category associated with an Amazon catalog item.
	// Enum: [ALLOCATED BASIC_REPLENISHMENT IN_SEASON LIMITED_REPLENISHMENT MANUFACTURER_OUT_OF_STOCK NEW_PRODUCT NON_REPLENISHABLE NON_STOCKUPABLE OBSOLETE PLANNED_REPLENISHMENT]
	ReplenishmentCategory string `json:"replenishmentCategory,omitempty"`

	// Product subcategory associated with an Amazon catalog item.
	SubcategoryCode string `json:"subcategoryCode,omitempty"`
}

ItemVendorDetailsByMarketplace Vendor details associated with an Amazon catalog item for the indicated Amazon marketplace.

swagger:model ItemVendorDetailsByMarketplace

func (*ItemVendorDetailsByMarketplace) ContextValidate

func (m *ItemVendorDetailsByMarketplace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this item vendor details by marketplace based on context it is used

func (*ItemVendorDetailsByMarketplace) MarshalBinary

func (m *ItemVendorDetailsByMarketplace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemVendorDetailsByMarketplace) UnmarshalBinary

func (m *ItemVendorDetailsByMarketplace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemVendorDetailsByMarketplace) Validate

func (m *ItemVendorDetailsByMarketplace) Validate(formats strfmt.Registry) error

Validate validates this item vendor details by marketplace

type Pagination

type Pagination struct {

	// A token that can be used to fetch the next page.
	NextToken string `json:"nextToken,omitempty"`

	// A token that can be used to fetch the previous page.
	PreviousToken string `json:"previousToken,omitempty"`
}

Pagination When a request produces a response that exceeds the pageSize, pagination occurs. This means the response is divided into individual pages. To retrieve the next page or the previous page, you must pass the nextToken value or the previousToken value as the pageToken parameter in the next request. When you receive the last page, there will be no nextToken key in the pagination object.

swagger:model Pagination

func (*Pagination) ContextValidate

func (m *Pagination) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pagination based on context it is used

func (*Pagination) MarshalBinary

func (m *Pagination) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Pagination) UnmarshalBinary

func (m *Pagination) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Pagination) Validate

func (m *Pagination) Validate(formats strfmt.Registry) error

Validate validates this pagination

type Refinements

type Refinements struct {

	// Brand search refinements.
	// Required: true
	Brands []*BrandRefinement `json:"brands"`

	// Classification search refinements.
	// Required: true
	Classifications []*ClassificationRefinement `json:"classifications"`
}

Refinements Search refinements.

swagger:model Refinements

func (*Refinements) ContextValidate

func (m *Refinements) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this refinements based on the context it is used

func (*Refinements) MarshalBinary

func (m *Refinements) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Refinements) UnmarshalBinary

func (m *Refinements) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Refinements) Validate

func (m *Refinements) Validate(formats strfmt.Registry) error

Validate validates this refinements

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL