My webhook configuration in event_map
:
"company/product/update": {
"handler": productHandler,
"version": '2'
},
"company/product/create": {
"handler": productHandler,
"version": '2'
},
I am getting 2 events for these two events, I have other events configured as well but they work as expected. When I check the difference between the payloads, I figured that trader
information is different
trader={name=Visenze, address=Singapore}, trader_type=null}
trader=[{address=[Singapore], type=Importer, name=Visenze}]}