eBay::API::XML::Call::GetPromotionRules::GetPromotionRulesRequestType
Retrieves all promotion rules associated with the specified item or store category.
eBay::API::XML::Call::GetPromotionRules::GetPromotionRulesRequestType inherits from the eBay::API::XML::RequestDataType 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'
# Returns: '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'
# Returns: 'ns:PromotionMethodCodeType'
The unique ID of the store category for which to retrieve promotion rules. Mutually exclusive with ItemID.
RequiredInput: Conditionally # Argument: 'xs:long'
# Returns: 'xs:long'
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.