REST API
Webhooks
Help Center →
Search…
Introduction
JavaScript API
Overview
REST API
Overview
Affiliates
Affiliate Links
Referrals
Commissions
The commission object
List commissions
Retrieve commission
Update commission
Delete commission
Webhooks
Overview
Endpoints
Requests
Event types
Signed webhooks
Links
Help Center
Sign up
Login
Learn more about Rewardful
Powered By
GitBook
Delete commission
Permanently deletes a commission. Financial stats for the associated affiliate and campaign will be recalculated.
Deleting a commission is permanent and cannot be reversed.
Request
Method
URL
DELETE
https://api.getrewardful.com/v1/commissions/:id
Example
curl
--request DELETE
\
--url https://api.getrewardful.com/v1/commissions/39e68c88-d84a-4510-b3b4-43c75016a080
\
-u YOUR_API_SECRET:
Response
Success
Failure
Response code
Body
200
JSON object confirming the operation succeeded.
{
"object"
:
"commission"
,
"id"
:
"39e68c88-d84a-4510-b3b4-43c75016a080"
,
"deleted"
:
true
}
Not found
Response code
Body
404
JSON object describing the error.
{
"error"
:
"Commission not found: 39e68c88-d84a-4510-b3b4-43c75016a080"
}
Authentication failure
Response code
Body
401
Description of the authentication failure.
{
"error"
:
"Invalid API Secret."
}
Previous
Update commission
Next - Webhooks
Overview
Last modified
1yr ago
Export as PDF
Copy link
Outline
Request
Example
Response