Update an existing commission amount. This is useful for handling refunds (partial or full) or fraudulent sales.
Default authentication mechanism
The commission's unique ID on Dub.
"cm_1JVR7XRCSR0EDBAF39FZ4PMYE"
The new absolute amount for the sale. Paid commissions cannot be updated.
x >= 0Modify the current sale amount: use positive values to increase the amount, negative values to decrease it. Takes precedence over saleAmount. Paid commissions cannot be updated.
The new absolute earnings for the custom commission. Paid commissions cannot be updated.
x >= 0The currency of the sale amount to update. Accepts ISO 4217 currency codes.
Useful for marking a commission as pending, refunded, duplicate, canceled, or fraudulent. Takes precedence over saleAmount and modifySaleAmount. When a commission is marked as pending, refunded, duplicate, canceled, or fraudulent, it will be omitted from the payout, and the payout amount will be recalculated accordingly. Paid commissions cannot be updated.
pending, refunded, duplicate, canceled, fraud Deprecated. Use saleAmount instead.
x >= 0Deprecated. Use modifySaleAmount instead.
The updated commission.
The commission's unique ID on Dub.
"cm_1JVR7XRCSR0EDBAF39FZ4PMYE"
pending, processed, paid, refunded, duplicate, fraud, canceled click, lead, sale, custom The user who created the manual commission.