The Items object holds data about the items in the order associated with an Action. With this endpoint, you can list all items within an action, retrieve a specific item in an action using its Sku (or ProductId) value, and update items (such as their quantity or price) within an action.
Attributes
Sku string
Sku stringStock-keeping unit (SKU) identifier that's been assigned to the item. Alternatively known as the ProductId.
ItemName string
ItemName stringDisplay name for the product in this action item.
Category string
Category stringCategory for the product in this action item.
Quantity string
Quantity stringNumber of units of the product in the action item.
SaleAmount string
SaleAmount stringRevenue amount for this action item.
Payout decimal
Payout decimalCommission amount calculated for the action item that will be paid out to the partner.
AdjustmentDate datetime
AdjustmentDate datetimeDate and time in ISO 8601 format when the action item was last updated. Attribute is empty if the item has never been modified.
AdjustmentReason enum
AdjustmentReason enumIf the action item was adjusted (i.e., modified or reversed), lists the reason for why. Attribute is empty if the item has never been modified.
| Possible enum values | |
|---|---|
OVERLIMIT_WEEKDAYCAP | The action item was adjusted since it was considered over the weekday limit cap set in the contact. |
OVERLIMIT_WEEKENDCAP | The action item was adjusted since it was considered over the weekend limit cap set in the contact. |
OVERLIMIT_BUDGET | The action item was adjusted since it was considered over the spend limit set in the contact. |
OVERLIMIT_ACTIONCAP | The action item was adjusted since it was considered over the action limit set in the contact. |
OVERLIMIT_CONCURRENTCALLS | The action item was adjusted since it was considered over the concurrent call limit set in the contact. |
OVERLIMIT_UNKNOWN_CALLERID | The action item was adjusted since it was considered over the unknown caller ID limit set in the contact. |
RECALC_COMM | The action item was adjusted due to recalculating the commission. |
MP_RETURN | The action item was adjusted due to the partner returning the commission. |
APPROVED | The action item was adjusted due to being manually approved. |
REJECTED | The action item was adjusted due to being rejected. |
CONS_INFO_INVALID | The action item was adjusted due to the consumer's information being invalid. |
CONS_ERROR | The action item was adjusted due to consumer error. |
CONS_FRAUD | The action item was adjusted due to consumer fraud. |
ITEM_RETURNED | The action item was adjusted due to it being returned. |
ITEM_OUT_OF_STOCK | The action item was adjusted due to it being out of stock. |
ORDER_ERROR | The action item was adjusted due to an order error. |
PUB_ACT_DISPUTE | The action item was adjusted due to a dispute with the publisher's activity. |
ADV_ACT_DISPUTE | The action item was adjusted due to a dispute with the advertiser's activity. |
NOT_COMPLIANCE_TERMS | The action item was adjusted due to it not being in compliance with the terms (contract). |
MP_ACCOUNT_DEATVIATED | The action item was adjusted due to your account being deactivated. |
CREDITED_DIFFERENT_MP | The action item was adjusted due to it being credited to another publisher. |
ORDER_UPDATE | The action item was adjusted due to the order being updated. |
OTHER | The action item was adjusted due for some other reason—contact the advertiser/brand to learn more. |
TEST_ACTION | The action item was adjusted due to it being part of a test action, meaning it's automatically reversed. |
RESET | Any adjustments to the action have been reset, meaning it is now in its original state. |
Uri string
Uri stringUnique reference to this action item in the impact.com API.
More attributes
View more attributes
SaleAmountCurrency currency
SaleAmountCurrency currencyThree-letter ISO currency code for the revenue amount. Typically the default currency of your account. Not the currency originally sent in on the order.
PayoutCurrency currency
PayoutCurrency currencyThree-letter ISO currency code for the payout amount. Typically the default currency of your account.
Rebate decimal
Rebate decimalDiscount (or rebate) amount applied to the action item.
RebateCurrency currency
RebateCurrency currencyThree-letter ISO currency code, in uppercase. Typically the default currency of your account. Not the currency originally sent in on the order.
{
"Sku": "12345",
"ItemName": "Acme Tennis Balls (One Dozen)",
"Category": "Sports",
"Quantity": "2",
"SaleAmount": "19.27",
"SaleAmountCurrency": "USD",
"Payout": "0.77",
"PayoutCurrency": "USD",
"Rebate": "1.00",
"RebateCurrency": "USD",
"AdjustmentDate": "",
"AdjustmentReason": "",
"Uri": "/Mediapartners/<AccountSID>/Actions/1000.4636.401482/Items/12345"
}