From 2ec9bd2ae59925c0c4ffb2fb61bafd3716cf333b Mon Sep 17 00:00:00 2001 From: Gauravudia Date: Fri, 2 Feb 2024 16:17:20 +0530 Subject: [PATCH] feat: updated category id mapping --- .../the_trade_desk/data/TTDItemConfig.json | 49 ++++++++----------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/src/cdk/v2/destinations/the_trade_desk/data/TTDItemConfig.json b/src/cdk/v2/destinations/the_trade_desk/data/TTDItemConfig.json index 2a59381979..45aeb711ab 100644 --- a/src/cdk/v2/destinations/the_trade_desk/data/TTDItemConfig.json +++ b/src/cdk/v2/destinations/the_trade_desk/data/TTDItemConfig.json @@ -1,29 +1,22 @@ [ - { - "destKey": "item_code", - "sourceKeys": [ - "product_id", - "sku" - ] - }, - { - "destKey": "name", - "sourceKeys": "name" - }, - { - "destKey": "qty", - "sourceKeys": "quantity" - }, - { - "destKey": "price", - "sourceKeys": "price" - }, - { - "destKey": "cat", - "sourceKeys": [ - "cat", - "category_id", - "categoryId" - ] - } -] \ No newline at end of file + { + "destKey": "item_code", + "sourceKeys": ["product_id", "sku"] + }, + { + "destKey": "name", + "sourceKeys": "name" + }, + { + "destKey": "qty", + "sourceKeys": "quantity" + }, + { + "destKey": "price", + "sourceKeys": "price" + }, + { + "destKey": "cat", + "sourceKeys": "category_id" + } +]