Commission rule reference types
Each commission rule has its reference. A reference entity types are listed below. There are simple (onereference_id at once), and combined types, that take into account more than one reference at once. Each combination (reference and reference_id) are required to be unique.
site- default commission applied for all products in the marketplace, can be overriden by other rules,product_type- applied to products of specified type,product_category- applied to products from specified category,seller+product_category- applied to products from specified category, and sold by specified seller,seller+product_type- applied to products of specified type, and sold by specified seller,seller- applied to products sold by specified seller.
Commission rules priority
Multiple different condition rates can be applied to each of the items in order. That’s why some of the rules are more important that others, and during commission calculation process only one is applied. Rule reference types priority is described below.seller+product_typeseller+product_categorysellerproduct_typeproduct_categorysite
Commission rate
Each rule should have applicable rate attached. Commission rate entity describes the details on how the commission should be calculated. Available options:type-flatorpercentagepercentage_rate- applicable iftypeispercentageinclude_tax- indicates if commission should be calculated including taxprice_set_id- applicable iftypeisflatmax_price_set_id- maximum commission valuemin_price_set_id- minimum commission value
Commission rate types
flat- share for marketplace is a fixed amount,percentage- share for marketplace is a percent of price.