Import historical revenue records for previously sent messages.
revenue_total, conversion_count, and last_revenue_at.
trk_[32-char-alphanumeric].index (integer) — Position of the failed record in the input array.code (string) — Machine-readable error code.error (string) — Human-readable error description.| HTTP Status | Error Code | Description |
|---|---|---|
| 400 | missing_records | The records field is required and must be a non-empty array. |
| 413 | too_many_records | Exceeded the maximum of 1,000 records per request. |
| 400 | missing_message_id | A record is missing the message_id field. |
| 400 | missing_offer_id | A record is missing the offer_id field. |
| 400 | missing_revenue | A record is missing the revenue field. |
| 404 | message_not_found | No message exists with the given message_id. |
| 404 | offer_not_found | No offer exists with the given offer_id. |
| 404 | contact_not_found | The contact associated with the message could not be found. |
| 500 | save_error | An unexpected error occurred while saving the record. |