NAME

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

INTERITANCE

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

Methods

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'

SEE ALSO

eBay::API, eBay::API::XML::BaseCall

JOIN US

Please visit http://developer.ebay.com for more eBay API information.

Web: http://developer.ebay.com

Community Forums: http://developer.ebay.com/community/forums/