> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/fr/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/batch-process-reversals-via-api-web-services-overview.md).

# Modifier ou annuler par lot via l’API

<a href="https://pxa.impact.com/student/activity/2268418?sid=0c0e3e5c-54c9-4435-9bee-ebcdccb7f292&#x26;sid_i=0?utm_source=app.impact.com&#x26;utm_medium=owned-platform&#x26;utm_content=&#x26;utm_campaign=help-center" class="button primary">Suivez le cours PXA</a>

Si quoi que ce soit concernant une action change (par exemple, une commande a été annulée, un article a été retourné, etc.), vous pouvez utiliser l’API pour la modifier (ou l’annuler), en changeant le montant de commission pour l’action.

### Quelle méthode de soumission vous convient le mieux ?

| Si vous souhaitez...                              | Utilisez cette méthode...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Soumettez un fichier manuel unique sans code      | ​[E-mail](/brand/fr/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/submit-conversion-data/submit-conversion-data-via-ftp-or-email.md#before-you-start) traitement par lot ou [téléverser un fichier via FTP](https://help.impact.com/brand/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/submit-batch-modifications-and-reversals#upload-file-to-system-ftp-server)                                                                                                                                                                                                                                         |
| Configurer des rapports de conversion automatisés | ​[Conversions](https://integrations.impact.com/brand-api-reference/reference/conversions/conversions) / [Actions](https://integrations.impact.com/brand-api-reference/reference/actions) API, [envoyer un fichier via FTP](https://help.impact.com/brand/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/submit-batch-modifications-and-reversals#upload-file-to-system-ftp-server), ou [récupérer un fichier via FTP](https://help.impact.com/brand/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/submit-batch-modifications-and-reversals#pull-file-from-your-own-ftp-server) |

### Options de réversion via l’API :

* [Modifier ou annuler un ou plusieurs éléments d’une action via l’API](https://integrations.impact.com/brand-api-reference/reference/actions/actions)
* [Annuler une action entière via l’API](https://integrations.impact.com/brand-api-reference/reference/actions/actions)

### Prérequis : récupérer la *ActionId* valeur

Pour modifier les données d’une action via l’API, vous aurez besoin de sa `ActionId` valeur. Vous pouvez ensuite l’utiliser pour trouver l’action que vous souhaitez modifier via l’API.

* Vous pouvez spécifier une plage de dates dans votre appel — sinon, le point de terminaison affiche par défaut les actions des 30 derniers jours.
* [Les limites de débit](https://integrations.impact.com/brand-api-reference/readme/rate-limits) s’appliquent.
* Consultez le [Lister toutes les actions](https://integrations.impact.com/brand-api-reference/reference/actions/actions) documentation du point de terminaison de l’API pour en savoir plus.

### FAQ

<details>

<summary>Comment réinitialiser une modification / réversion apportée à une action (ou à des éléments d’action) ?</summary>

Si une action a été modifiée ou annulée avant sa date de verrouillage, vous pouvez envoyer `RESET` comme raison pour remettre l’action à son état par défaut :

```programlisting
curl 'https://api.impact.com/Advertisers/{AccountSID}/Actions' \
  -X PUT \
  -u '{AccountSID}:{AuthToken}' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'ActionId={ActionId}' \
  -d 'Reason=RESET'
```

Les actions réinitialisées via le `RESET` code peuvent ne pas apparaître correctement dans les rapports (par exemple, les valeurs de revenus peuvent être calculées incorrectement).

</details>

<details>

<summary>Quelle est la différence entre un code de disposition et une raison ?</summary>

Les deux *Codes de disposition* et *Raisons* sont utilisés dans le même contexte — *Raisons* sont des codes prédéfinis que l’API acceptera par défaut, tandis que *Codes de disposition* sont des raisons personnalisées que vous pouvez configurer. [En savoir plus sur les codes de disposition](/brand/fr/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/manage-disposition-codes.md).

Codes de raison pris en charge :

<table><thead><tr><th width="234">Code</th><th>Description</th></tr></thead><tbody><tr><td><code>CONS_FRAUD</code></td><td>Fraude du consommateur</td></tr><tr><td><code>CONS_ERROR</code></td><td>Erreur du consommateur</td></tr><tr><td><code>ITEM_RETURNED</code></td><td>L’article a été retourné</td></tr><tr><td><code>APPROVED</code></td><td><p>L’action est approuvée</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Remarque :</strong> Si vous essayez d’approuver des actions, <code>Approuver</code> doit être configuré comme un <a href="/pages/81225e0596a6ab58689c0ac7a60c3df0d79ae31a">code de disposition personnalisé</a>.</p></div></td></tr><tr><td><code>ORDER_ERROR</code></td><td>Erreur de commande</td></tr><tr><td><code>ORDER_UPDATE</code></td><td>La commande a été mise à jour</td></tr><tr><td><code>PUB_ACT_DISPUTE</code></td><td>Litige d’activité du partenaire</td></tr><tr><td><code>ADV_ACT_DISPUTE</code></td><td>Litige d’activité de la marque</td></tr><tr><td><code>NOT_COMPLIANCE_TERMS</code></td><td>Non conforme aux conditions</td></tr><tr><td><code>ITEM_OUT_OF_STOCK</code></td><td>L’article est en rupture de stock</td></tr><tr><td><code>TEST_ACTION</code></td><td>Action de test</td></tr><tr><td><code>PARTNER_NOT_ACTIVE</code></td><td>Compte partenaire désactivé</td></tr><tr><td><code>CREDITED_DIFFERENT_MP</code></td><td>Crédité à un autre partenaire</td></tr><tr><td><code>AUTRE</code></td><td>Autre motif</td></tr></tbody></table>

</details>

<details>

<summary>Comment puis-je voir quand des modifications / réversions sont appliquées à une action ?</summary>

Vous pouvez utiliser les [mises à jour d’action](https://integrations.impact.com/brand-api-reference/reference/actions/models) point de terminaison pour voir quand une action a été mise à jour pour la dernière fois et quel est son état actuel.

{% hint style="info" %}
**Remarque :** Une `ActionUpdatesID` valeur est différente d’un `ActionId` valeur — vous devez utiliser la `ActionUpdatesID` valeur pour récupérer les mises à jour d’une action.
{% endhint %}

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.impact.com/brand/fr/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/batch-process-reversals-via-api-web-services-overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
