While creating/updating a product on JCP, the response from webhook does not return Identifier attribute of the product. This is critical. Pasting a sample response below.
{
“map”: {
“contains”: {
“myArrayList”: [
“product”
]
},
“company_id”: 4,
“payload”: {
“map”: {
“product”: {
“map”: {
“brand_uid”: 11666,
“item_code”: “1253788524”,
“short_description”: “Milk packet”,
“_custom_json”: {
“map”: {}
},
“item_type”: “standard”,
“description”: “”,
“net_quantity”: {
“map”: {
“unit”: “ml”,
“value”: 500
}
},
“media”: {
“myArrayList”: [
{
“map”: {
“type”: “image”,
“url”: “https://cdn.pixelbin.io/v2/jiomart-fynd/jio-np/wrkr/jmrtz0/products/pictures/item/free/original/TLdXuIrgg-1f1f3c844d8811ed8a797d39cf2bc3a6_PRODUCT_5c0e14798d92d07fdff822b2_1.jpg”
}
}
]
},
“variants”: {
“map”: {}
},
“size_guide”: “”,
“template_tag”: “price-details”,
“custom_order”: {
“map”: {
“manufacturing_time”: 0,
“manufacturing_time_unit”: “days”,
“is_custom_order”: false
}
},
“uid”: 7516941,
“product_publish”: {
“map”: {
“is_set”: true,
“product_online_date”: “2023-12-07T05:45:33+00:00”
}
},
“variant_media”: {
“map”: {}
},
“is_dependent”: false,
“no_of_boxes”: 1,
“currency”: “INR”,
“departments”: {
“myArrayList”: [
4204
]
},
“slug”: “amul-500-ml-7516941”,
“category_uid”: 36275,
“is_set”: false,
“is_active”: true,
“company_id”: 4,
“is_image_less_product”: false,
“trader”: {
“myArrayList”: [
{
“map”: {
“address”: {
“myArrayList”: [
“RCP”
]
},
“name”: “Vidit”,
“type”: “Manufacturer”
}
},
{
“map”: {
“address”: {
“myArrayList”: [
“RCP”
]
},
“name”: “Mayank”,
“type”: “Packer”
}
},
{
“map”: {
“address”: {
“myArrayList”: [
“RCP”
]
},
“name”: “Avinash”,
“type”: “Marketer”
}
}
]
},
“country_of_origin”: “India”,
“product_group_tag”: {
“myArrayList”: []
},
“tax_identifier”: {
“map”: {
“hsn_code_id”: “6569f117b5f6db63e4576655”,
“reporting_hsn”: “0231443907H1”,
“hsn_code”: “0231443907”
}
},
“tags”: {
“myArrayList”: []
},
“highlights”: {
“myArrayList”: []
},
“name”: “Amul 500 ml”,
“teaser_tag”: {
“map”: {}
},
“attributes”: {
“map”: {
“sgst”: 5,
“cgst”: 5
}
},
“return_config”: {
“map”: {
“unit”: “days”,
“returnable”: false,
“time”: 0
}
},
“multi_size”: false,
“category_slug”: “toned-milk”
}
}
}
},
“event”: {
“map”: {
“trace_id”: {
“myArrayList”: [
“silverbolt.d92f2b16-94d1-11ee-a91e-c2ad81190f0f”
]
},
“name”: “product”,
“created_timestamp”: 1701933950788,
“id”: “g2qQyHqJrtdXhELjb96PJOHfu8gDHWYExuf2lY7TtUQ\u003d”,
“type”: “update”,
“category”: “company”,
“version”: “3”
}
}
}
}