Batch Modify or Reverse via API (Web Services)

Take the PXA course

If anything about an action changes (e.g., an order was canceled, an item was returned, etc.), you can use the API to modify (or reverse) it, changing the commission amount for the action.

Batch process reversal options:

Prerequisite: Retrieve the ActionId value

To modify action data, you'll need its ActionId value. You can then use this to find the action you want to modify via API.

FAQs

chevron-rightHow do I reset a modification / reversal made to an action (or action items)?hashtag

If an action has been modified or reversed before its locking date, you can submit RESET as a reason to update the action back to its default state:

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'

Actions that have been reset via the RESET code may not appear correctly in reporting (e.g., revenue values may be calculated incorrectly).

chevron-rightWhat is the difference between a disposition code & reason?hashtag

Both Disposition Codes and Reasons are used in the same context — Reasons are predefined codes that the API will accept by default, whereas Disposition Codes are custom reasons you can configure. Learn more about Disposition Codes.

Supported reason codes:

Code
Description

CONS_FRAUD

Consumer fraud

CONS_ERROR

Consumer error

ITEM_RETURNED

Item was returned

APPROVED

Action is approved

circle-info

Note: If you’re trying to approve actions, Approve needs to be set up as a custom disposition code.

ORDER_ERROR

Order error

ORDER_UPDATE

Order was updated

PUB_ACT_DISPUTE

Partner activity dispute

ADV_ACT_DISPUTE

Brand activity dispute

NOT_COMPLIANCE_TERMS

Not in compliance with terms

ITEM_OUT_OF_STOCK

Item is out of stock

TEST_ACTION

Test action

PARTNER_NOT_ACTIVE

Partner account deactivated

CREDITED_DIFFERENT_MP

Credited to another partner

OTHER

Other reason

chevron-rightHow can I see when modifications / reversals are applied to an action?hashtag

You can use the action updatesarrow-up-right endpoint to see when an action was last updated and what its current state is.

circle-info

Note: An ActionUpdatesID value is different from an ActionId value — you must use the ActionUpdatesID value to retrieve updates for an action.

Last updated

Was this helpful?