eBay::API::XML::Call::GetPromotionRules
eBay::API::XML::Call::GetPromotionRules inherits from the eBay::API::XML::BaseCall class
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'
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'
The unique ID of the store category for which to retrieve promotion rules. Mutually exclusive with ItemID.
RequiredInput: Conditionally # Argument: 'xs:long'
An array of promotion rules associated with the item or store category specified in the request.
Returned: Always # Returns: 'ns:PromotionRuleArrayType'
To install eBay::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm eBay::API
CPAN shell
perl -MCPAN -e shell install eBay::API
For more information on module installation, please visit the detailed CPAN module installation guide.