Marketplace admin can set commission rates in various combinations, which enables to charge different commission for different product types, categories, sellers etc.
Each commission rule has its reference. A reference entity types are listed below. There are simple (one reference_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.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_type
seller+product_category
seller
product_type
product_category
site
Each rule should have applicable rate attached. Commission rate entity describes the details on how the commission should be calculated. Available options:
type
- flat
or percentage
percentage_rate
- applicable if type
is percentage
include_tax
- indicates if commission should be calculated including taxprice_set_id
- applicable if type
is flat
max_price_set_id
- maximum commission valuemin_price_set_id
- minimum commission valueflat
- share for marketplace is a fixed amount,percentage
- share for marketplace is a percent of price.Marketplace admin can set commission rates in various combinations, which enables to charge different commission for different product types, categories, sellers etc.
Each commission rule has its reference. A reference entity types are listed below. There are simple (one reference_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.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_type
seller+product_category
seller
product_type
product_category
site
Each rule should have applicable rate attached. Commission rate entity describes the details on how the commission should be calculated. Available options:
type
- flat
or percentage
percentage_rate
- applicable if type
is percentage
include_tax
- indicates if commission should be calculated including taxprice_set_id
- applicable if type
is flat
max_price_set_id
- maximum commission valuemin_price_set_id
- minimum commission valueflat
- share for marketplace is a fixed amount,percentage
- share for marketplace is a percent of price.