This page provides the list of events and associated payload for the Lists microservice.
Page Contents
List of Events
SL.# | NAME | DESCRIPTION | PUBLISH LOCATION | ROUTING KEY | DURABILITY | PAYLOAD TYPE |
---|---|---|---|---|---|---|
1 | Create List | This event is triggered when a list is created. | Topic: ecomm | list.created | true | listPayload |
2 | Update List | This event is triggered when a list is updated. | Topic: ecomm | list.updated | true | listPayload |
3 | Delete List | This event is triggered when a list is deleted. | Topic: ecomm | list.deleted | true | listPayload |
4 | Create Listitem | This event is triggered when a listitem is created. | Topic: ecomm | listitem.created | true | listPayload |
5 | Update Listitem | This event is triggered when a listitem is updated. | Topic: ecomm | listitem.updated | true | listPayload |
6 | Delete Listitem | This event is triggered when a listitem is deleted. | Topic: ecomm | listitem.deleted | true | listPayload |
Payload Model
Below is the payload for the Lists microservice events.
listPayload
PROPERTY | TYPE | DESCRIPTION | EXAMPLE |
---|---|---|---|
userId | long | Indicates the identifier of the user, who has accessed the cart. | 123 |
listId | long | Indicates the identifier of the list, which is created, updated, or deleted. | 123 |
listItemId | long | Indicates the identifier of the listitem, which is created, updated, or deleted. | 123 |
listType | string | Specifies the type of the list. The possible values are WISHLIST, SAVEFORLATER, and FAVOURITES. | WISHLIST |
listItemType | string | Specifies the allowed item types of the list. | SKU |
Revision History
2019-05-16 | Ananthi – Updated to a new table tool.
2019-04-06 | Ananthi – Content updated for April 2019 release.
2019-01-23 | PLK – Page created and content uploaded.