Record multiple revenue attributions in a single request.
trk_[32-char-hex].true to mark these records as imported data.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_revenue | A record is missing the revenue field. |
| 400 | missing_attribution_type | A record is missing the attribution_type field. |
| 400 | invalid_revenue | Revenue must be a number greater than or equal to 0. |
| 400 | invalid_attribution_type | Must be one of: sale, click, or send. |
| 400 | message_not_found | No message exists with the given ID. |
| 400 | contact_not_found | The contact associated with the message could not be found. |