Skip to main content

An enum that defines the values that represent the inventory selection method for a discount.

Type that uses InventoryCriterionEnum

InventoryCriterion

Calls that use InventoryCriterionEnum

Enumerations

Value
Description
INVENTORY_BY_RULE
Indicates the discount inventory selection is based on rules and item aspects such as item condition or brand.

Note: If inventoryCriterionType is set to this value, the request payload must have at least one rule in ruleCriteria.

INVENTORY_BY_VALUE
Indicates the discount inventory selection is either a list of the seller's inventory reference IDs (also known as an "SKU" or "custom label") or eBay listing IDs.

Note: If inventoryCriterionType is set to this value, the request payload must have at least one listing ID in listingIds or inventoryItems.

INVENTORY_ANY
Indicates all the seller's inventory is discounted.

Note: If inventoryCriterionType is set to this value, include an inventory selection rule. In the request payload, use ruleCriteria that contains criteria or null.