diff --git a/src/v0/destinations/iterable/data/IterableTrackConfig.json b/src/v0/destinations/iterable/data/IterableTrackConfig.json index 28fdcaecc7..5de4856b33 100644 --- a/src/v0/destinations/iterable/data/IterableTrackConfig.json +++ b/src/v0/destinations/iterable/data/IterableTrackConfig.json @@ -23,8 +23,11 @@ }, { "destKey": "id", - "sourceKeys": ["properties.id", "properties.event_id"], - "required": false + "sourceKeys": "properties.event_id", + "required": false, + "metadata": { + "type": "toString" + } }, { "destKey": "eventName", diff --git a/src/v0/destinations/iterable/data/IterableTrackPurchaseConfig.json b/src/v0/destinations/iterable/data/IterableTrackPurchaseConfig.json index 00e83d0125..aa15d76a70 100644 --- a/src/v0/destinations/iterable/data/IterableTrackPurchaseConfig.json +++ b/src/v0/destinations/iterable/data/IterableTrackPurchaseConfig.json @@ -6,13 +6,11 @@ }, { "destKey": "id", - "sourceKeys": [ - "properties.order_id", - "properties.orderId", - "properties.id", - "properties.event_id" - ], - "required": false + "sourceKeys": ["properties.order_id", "properties.orderId", "properties.event_id"], + "required": false, + "metadata": { + "type": "toString" + } }, { "destKey": "createdAt", diff --git a/test/__tests__/data/iterable.json b/test/__tests__/data/iterable.json index 08e83a47a5..f8147c7402 100644 --- a/test/__tests__/data/iterable.json +++ b/test/__tests__/data/iterable.json @@ -3103,7 +3103,6 @@ "JSON_ARRAY": {}, "FORM": {}, "JSON": { - "id": "event1234", "userId": "abcdeeeeeeeexxxx102", "createdAt": 1598631966468, "dataFields": {