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." }
Export as PDF
Copy link