Skip to main content

This type defines either the selections rules or the list of listing IDs for the discount. The "listing IDs" are are either the seller's item IDs or the eBay listing IDs.

Types that use InventoryCriterion

ItemPromotionItemPromotionResponseSelectedInventoryDiscount

Calls that use InventoryCriterion

Fields

Field
Type
Description
inventoryCriterionType
Indicates how the items to be discounted are selected. You can include inventory by ID, using rules, or globally include all your inventory.
inventoryItems
array of InventoryItem
An array of containers for the seller's inventory reference IDs (also known as an "SKU" or "custom label") to be added to the discount.

Note: The request can have either inventoryItems or listingIds, but not both.


Maximum: 500 parent items

Maximum SKU or custom label length: 50 characters

Required if InventoryCriterionType is set to INVENTORY_BY_VALUE, you must specify either inventoryItems or listingIds.
listingIds
array of string
An array of eBay listing IDs to be discounted.

Note: The request can have either inventoryItems or listingIds, but not both.


Required: All listings being discounted must offer an electronic payment method.

Maximum: 500 parent items

Maximum SKU or custom label length: 50 characters

Required if InventoryCriterionType is set to INVENTORY_BY_VALUE, you must specify either inventoryItems or listingIds.
ruleCriteria
This container defines a set of inventory selection rules for a discount.

When defining rule criteria, you must limit item exclusions to 100 IDs when you choose from live inventory.

Required if InventoryCriterionEnum is set to INVENTORY_BY_RULE or INVENTORY_ANY.