# Revoke Commission

**Unsuccessful Order Statuses**

Select the order statuses that should trigger commission revocation:

1. **Canceled:** The order was terminated before completion.
2. **Refunded:** The order was fully refunded.
3. **Partially Refunded:** Only part of the order was refunded.
4. **Voided:** The transaction was invalidated.<br>

   <figure><img src="/files/s5Xdz8mq9wmexYsLsCvm" alt=""><figcaption><p>Choose Unsuccessful Order Statuses</p></figcaption></figure>

**Cancel Affiliate Commission**

Decide whether to cancel the affiliate commission immediately when an order status changes to one of the selected unsuccessful statuses:

1. Yes, Cancel Immediately: Immediately cancel the commission for unsuccessful orders.
2. No, Do not cancel the commission: Keep the commission despite the order status.\ <br>

   <figure><img src="/files/bMZddKWTWCbvFHJzWgHg" alt=""><figcaption><p>Cancel Commission</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.shopjar.co/affiliate-program/settings/revoke-commission.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
