Create a commission rate
Sets what the marketplace charges, and which sales it applies to.
rules is the rate’s whole targeting, sent inline. Every rule has to
hold, and a rule naming several records means any of them — so
“(Cameras OR Audio) AND that seller” is a category rule holding two ids
beside a seller rule holding one. Send no rules to charge every sale.
Rule kinds come from GET /commission_rates/rule_types, which also
describes the configuration each one takes. A marketplace that adds its
own kind sees it there without this endpoint changing.
commission_tax_rate is VAT on the commission itself — the
marketplace’s own service to the seller, a separate supply from the
sale. Leave it null to let the store’s tax engine answer for wherever
the seller’s business sits.
Required scope: write_commissions (for API-key authentication).
Authorizations
Body
Response
commission rate created

