eBay::API::XML::Call::GetPromotionRules(3)

NAME
eBay::API::XML::Call::GetPromotionRules

DESCRIPTION

SYNOPSIS

INHERITANCE
eBay::API::XML::Call::GetPromotionRules inherits from the eBay::API::XML::BaseCall class

Subroutines:

  setItemID()
The unique ID of the item for which to retrieve promotion rules. Mutually exclusive with StoreCategoryID.

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

  RequiredInput: Conditionally
#    Argument: 'ns:ItemIDType'

  setPromotionMethod()
The type of promotion. (CrossSell: items that are related to or useful in combination with this item. UpSell: items that are more expensive than or of higher quality than this item.)

  RequiredInput: Yes
#    Argument: 'ns:PromotionMethodCodeType'

  setStoreCategoryID()
The unique ID of the store category for which to retrieve promotion rules. Mutually exclusive with ItemID.

  RequiredInput: Conditionally
#    Argument: 'xs:long'

  getPromotionRuleArray()
An array of promotion rules associated with the item or store category specified in the request.

  Returned: Always
#    Returns: 'ns:PromotionRuleArrayType'