The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

eBay::API::XML::Call::GetCrossPromotions::GetCrossPromotionsRequestType

DESCRIPTION

Retrieves a list of upsell or cross-sell items associated with the specifeid item ID. The seller must be the owner of an eBay Stores storefront to cross-promote items.

SYNOPSIS

INHERITANCE

eBay::API::XML::Call::GetCrossPromotions::GetCrossPromotionsRequestType inherits from the eBay::API::XML::RequestDataType class

Subroutines:

setItemID()

The unique ID of the referring item. The cross-promoted items will supplement this item.

MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)

  RequiredInput: Yes
#    Argument: 'ns:ItemIDType'

getItemID()

# Returns: 'ns:ItemIDType'

setPromotionMethod()

The cross-promotion method you want to use for the returned list, either UpSell or CrossSell.

  RequiredInput: Yes
#    Argument: 'ns:PromotionMethodCodeType'

getPromotionMethod()

# Returns: 'ns:PromotionMethodCodeType'

setPromotionViewMode()

The role of the person requesting to view the cross-promoted items, either seller or buyer. Default is buyer.

  RequiredInput: No
#    Argument: 'ns:TradingRoleCodeType'

getPromotionViewMode()

# Returns: 'ns:TradingRoleCodeType'