This page provides the list of events and associated payload for internal events (via RabbitMQ/AWS MQ) and external events (via EventBridge) for the Catalog microservice.
External Events via EventBridge
The following events contain the entity changed in the event message payload.
List of Events
S.No. | API call | Call detail | Event Type | Identifier |
---|---|---|---|---|
1. | DELETE | DeleteCatalog | catalogservice/catalog/delete | response_Catalog.identifier |
2. | POST | CreateCatalog | catalogservice/catalog/create | response_Catalog.identifier |
3. | PUT | UpdateCatalog | catalogservice/catalog/update | response_Catalog.identifier |
4. | POST | CreateAttributeGroup | catalogservice/attributegroup/create | response_identifier |
5. | --POST | CreateAttribute | catalogservice/attribute/create | response_identifier |
6. | POST | CreateModel | catalogservice/model/create | response_modelId |
7. | POST | CreateModelValue | catalogservice/modelvalue/create | response_identifier |
8. | POST | CreateProduct | catalogservice/product/create | response_identifier |
9. | POST | CreateProjectNotes | catalogservice/projectnotes/create | response_identifier |
10. | POST | CreateProject | catalogservice/project/create | response_identifier |
11. | POST | CreateSku | catalogservice/sku/create | response_identifier |
12. | DELETE | DeleteAttributeGroup | catalogservice/attributegroup/delete | request_identifier |
13. | DELETE | DeleteAttribute | catalogservice/attribute/delete | request_identifier |
14. | DELETE | DeleteModel | catalogservice/model/delete | request_identifier |
15. | DELETE | DeleteProduct | catalogservice/product/delete | request_identifier |
16. | DELETE | DeleteProject | catalogservice/project/delete | request_identifier |
17. | DELETE | DeleteSku | catalogservice/sku/delete | request_identifier |
18. | PATCH | PatchUpdateAttributeGroup | catalogservice/attributegroup/patch | response_identifier |
19. | PATCH | PatchUpdateAttributeProperty | catalogservice/attributeproperty/patch | response_attributeProperties.name |
20. | PATCH | PatchUpdateAttribute | catalogservice/attribute/patch | response_identifier |
21. | PATCH | PatchUpdateCatalogProperty | catalogservice/property/patch | response_catalogProperties.name |
22. | PATCH | PatchUpdateCatalog | catalogservice/catalog/patch | response_identifier |
23. | PATCH | PatchUpdateModel | catalogservice/model/patch | response_modelId |
24. | PATCH | PatchUpdateModelValue | catalogservice/modelvalue/patch | response_identifier |
25. | PATCH | PatchUpdateProductProperty | catalogservice/productproperty/patch | response_productProperties.attributeId |
26. | PATCH | PatchUpdateProduct | catalogservice/product/patch | response_identifier |
27. | PATCH | PatchUpdateProject | catalogservice/project/patch | response_identifier |
28. | PATCH | PatchUpdateSkuProperty | catalogservice/skuproperty/patch | response_skuProperties.attributeId |
29. | PATCH | PatchUpdateSku | catalogservice/sku/patch | response_identifier |
30. | PUT | UpdateAttributeProperty | catalogservice/attributeproperty/update | response_attributeProperties.name |
31. | PUT | UpdateAttribute | catalogservice/attribute/update | response_identifier |
32. | PUT | UpdateCatalogProperty | catalogservice/property/update | response_catalogProperties.name |
33. | PUT | UpdateProductProperty | catalogservice/productproperty/update | response_productProperties.attributeId |
34. | PUT | UpdateProduct | catalogservice/product/update | response_identifier |
35. | PUT | UpdateProject | catalogservice/project/update | response_identifier |
36. | PUT | UpdateSkuProperty | catalogservice/skuproperty/update | response_skuProperties.attributeId |
37. | PUT | UpdateSku | catalogservice/sku/update | response_identifier |
Payload
DeleteCatalog
Event Type: catalogservice/catalog/delete
{
"version": "0",
"id": "a10d5a67-d636-fe18-eee9-d8d7fa6a4e53",
"detail-type": "catalogservice/catalog/delete",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:01:18Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "d027d54f74e24cd1a5f9855e80958b59_1715234478121",
"timestamp": 1715234478496,
"payload": {
"responseCode": "CACAD0000",
"responseMessage": "Catalog Idd027d54f74e24cd1a5f9855e80958b59_1715234478121 Deleted Successfully.",
"timeStamp": "1715234478493"
},
"collectionId": "4499",
"eventType": "catalogservice/catalog/delete",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
CreateCatalog
Event Type: catalogservice/catalog/create
{
"version": "0",
"id": "da45fe93-8ee6-f4bb-d850-2fa9736993d7",
"detail-type": "catalogservice/catalog/create",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:00:55Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"timestamp": 1715234455316,
"payload": {
"identifier": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"collectionId": 4499,
"type": "MASTER",
"status": "ACTIVE",
"subType": "DEFAULT",
"startTime": "2026-05-09T06:00:45+05:30",
"endTime": "2027-05-09T06:00:45+05:30",
"createdOn": "2024-05-09T11:30:55.310793813+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:30:55.310893356+05:30",
"updatedBy": 2
},
"collectionId": "4499",
"eventType": "catalogservice/catalog/create",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
UpdateCatalog
Event Type: catalogservice/catalog/update
{
"version": "0",
"id": "0ad109af-6b2f-279f-2a87-bb67713aac63",
"detail-type": "catalogservice/catalog/update",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:01:03Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"timestamp": 1715234463506,
"payload": {
"identifier": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"collectionId": 4499,
"type": "MASTER",
"status": "ACTIVE",
"subType": "DEFAULT",
"startTime": "2026-05-09T06:01:03+05:30",
"endTime": "2027-05-09T06:01:03+05:30",
"createdOn": "2024-05-09T11:30:55.31+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:31:03.494851929+05:30",
"updatedBy": 1
},
"collectionId": "4499",
"eventType": "catalogservice/catalog/update",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
CreateAttributeGroup
Event Type: catalogservice/attributegroup/create
{
"version": "0",
"id": "73cd301d-7ffd-7fea-01ab-85b223f32c68",
"detail-type": "catalogservice/attributegroup/create",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:02:47Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "AttributeID_17152345676057858",
"timestamp": 1715234567650,
"payload": {
"identifier": "AttributeID_17152345676057858",
"collectionId": 4499,
"type": "NORMAL",
"orderIdx": 1,
"attributeIds": [
"Attribute_1715234522992"
],
"createdOn": "2024-05-09T11:32:47.637278638+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:32:47.638075743+05:30",
"updatedBy": 2
},
"collectionId": "4499",
"eventType": "catalogservice/attributegroup/create",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
CreateAttribute
Event Type: catalogservice/attribute/create
{
"version": "0",
"id": "c76c360c-5a3c-fc39-55e6-d918f36e1df0",
"detail-type": "catalogservice/attribute/create",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:02:03Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "Attribute_1715234522992",
"timestamp": 1715234523032,
"payload": {
"identifier": "Attribute_1715234522992",
"collectionId": 4499,
"versionId": "default",
"type": "STATIC",
"dataType": "STRING",
"status": "ACTIVE",
"validation": "yes",
"required": true,
"searchable": true,
"sortable": true,
"filterable": true,
"createdOn": "2024-05-09T11:32:03.02078591+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:32:03.020888749+05:30",
"updatedBy": 2,
"properties": [
{
"createdBy": 0,
"updatedBy": 0,
"locale": "en_US",
"validationData": "1to100",
"name": "string"
}
],
"suggestible": false,
"comparable": false,
"displayable": false,
"autoGeneration": false
},
"collectionId": "4499",
"eventType": "catalogservice/attribute/create",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
CreateModel
Event Type: catalogservice/model/create
{
"version": "0",
"id": "ff65f575-6f79-4f16-4131-013db7504b7a",
"detail-type": "catalogservice/model/create",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:03:17Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "MODEL_1715234597585",
"timestamp": 1715234597621,
"payload": {
"status": "ACTIVE",
"properties": [
{
"name": "music",
"locale": "en_US"
}
],
"createdOn": "2024-05-09T11:33:17.610506696+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:33:17.610614486+05:30",
"updatedBy": 2,
"type": "TEMPLATE",
"modelId": "MODEL_1715234597585"
},
"collectionId": "4499",
"eventType": "catalogservice/model/create",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
CreateModelValue
Event Type: catalogservice/modelvalue/create
{
"version": "0",
"id": "1653c45e-cd39-626f-65bf-a4d7f9127443",
"detail-type": "catalogservice/modelvalue/create",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:03:47Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "ParentModelId_17152346272188431",
"timestamp": 1715234627501,
"payload": {
"versionId": "default",
"status": "ACTIVE",
"createdTime": "2024-05-09T06:03:47.492620311",
"createdBy": 2,
"updatedTime": "2024-05-09T06:03:47.492717628",
"updatedBy": 2,
"collectionId": 4499,
"catalogId": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"modelId": "ParentModelId_17152346272188431",
"projectId": "663c673c957a701c9cca1f3b",
"modelType": "TEMPLATE",
"attributes": [
{
"attributeId": "test_1715234627259",
"locale": "en_US"
}
],
"modelValueId": "ParentModelId_17152346272188431"
},
"collectionId": "4499",
"eventType": "catalogservice/modelvalue/create",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
CreateProduct
Event Type: catalogservice/product/create
{
"version": "0",
"id": "5c6ab2c0-fff3-e214-b6d9-a945370ba59a",
"detail-type": "catalogservice/product/create",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:04:02Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "PRODUCT_1715234642446",
"timestamp": 1715234642489,
"payload": {
"collectionId": 4499,
"projectId": "663c66b5957a701c9cca1f34",
"catalogId": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"identifier": "PRODUCT_1715234642446",
"versionId": "default",
"status": "ACTIVE",
"visible": "ENABLED",
"startTime": "2026-05-09T06:01:25+05:30",
"endTime": "2027-05-09T06:01:25+05:30",
"createdOn": "2024-05-09T11:34:02.481544862+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:34:02.481635421+05:30",
"updatedBy": 2,
"properties": [
{
"createdBy": 0,
"updatedBy": 0,
"attributeId": "Attribute_1715234522992",
"value": true,
"locale": "en_US",
"isDelete": false,
"type": "BOOLEAN"
}
]
},
"collectionId": "4499",
"eventType": "catalogservice/product/create",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
CreateProjectNotes
Event Type: catalogservice/projectnotes/create
{
"version": "0",
"id": "6397306f-e428-d3db-6ea3-d4991b4c1c47",
"detail-type": "catalogservice/projectnotes/create",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:01:55Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "663c66d3957a701c9cca1f3a",
"timestamp": 1715234515619,
"payload": {
"identifier": "663c66d3957a701c9cca1f3a",
"projectId": "663c66b5957a701c9cca1f34",
"collectionId": 4499,
"catalogId": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"notes": "This project contain all products and skus"
},
"collectionId": "4499",
"eventType": "catalogservice/projectnotes/create",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
CreateProject
Event Type: catalogservice/project/create
{
"version": "0",
"id": "9e567903-b338-11aa-4db7-da58810eea20",
"detail-type": "catalogservice/project/create",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:01:25Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "663c66b5957a701c9cca1f34",
"timestamp": 1715234485915,
"payload": {
"identifier": "663c66b5957a701c9cca1f34",
"collectionId": 4499,
"name": "Project_SECOM-3172_1715234485886",
"description": "1z73bQRpef2nbN6tcxx",
"catalogId": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"notes": "ym8lzMO",
"type": "MASTER",
"state": "OPEN",
"targetCompletionDate": "2027-05-09T06:00:45+05:30",
"actualCompletionDate": "2026-05-09T06:00:45+05:30",
"createdOn": "2024-05-09T11:31:25.901481702+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:31:25.901589921+05:30",
"updatedBy": 2
},
"collectionId": "4499",
"eventType": "catalogservice/project/create",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
CreateSku
Event Type: catalogservice/sku/create
{
"version": "0",
"id": "94e56d62-867e-b27d-1a1c-ffdd6a6a917a",
"detail-type": "catalogservice/sku/create",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:04:46Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "Sku_id__1715234686737",
"timestamp": 1715234686780,
"payload": {
"identifier": "Sku_id__1715234686737",
"collectionId": 4499,
"catalogId": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"projectId": "663c66b5957a701c9cca1f34",
"versionId": "default",
"status": "ACTIVE",
"visible": "ENABLED",
"startTime": "2026-05-09T06:00:45+05:30",
"endTime": "2027-05-09T06:00:45+05:30",
"createdOn": "2024-05-09T11:34:46.765630042+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:34:46.765730733+05:30",
"updatedBy": 2
},
"collectionId": "4499",
"eventType": "catalogservice/sku/create",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
DeleteAttributeGroup
Event Type: catalogservice/attributegroup/delete
{
"version": "0",
"id": "c67a83eb-c72a-74ad-1f13-ca6fcee72e40",
"detail-type": "catalogservice/attributegroup/delete",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:03:10Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "AttributeID_17152345897783428",
"timestamp": 1715234590269,
"payload": {
"responseCode": "CAAGD0000",
"responseMessage": "Attribute Group IdAttributeID_17152345897783428 Deleted Successfully.",
"timeStamp": "1715234590267"
},
"collectionId": "4499",
"eventType": "catalogservice/attributegroup/delete",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
DeleteAttribute
Event Type: catalogservice/attribute/delete
{
"version": "0",
"id": "240e2742-d830-5f72-8bdb-c0ffeeb7f92e",
"detail-type": "catalogservice/attribute/delete",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:02:40Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "Attribute_1715234560002",
"timestamp": 1715234560258,
"payload": {
"responseCode": "CAABD0000",
"responseMessage": "Attribute Deleted Successfully.",
"timeStamp": "1715234560255"
},
"collectionId": "4499",
"eventType": "catalogservice/attribute/delete",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
DeleteModel
Event Type: catalogservice/model/delete
{
"version": "0",
"id": "5cc8b2f4-d675-3123-7e0b-895c59fda779",
"detail-type": "catalogservice/model/delete",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:03:32Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "MODEL_1715234612591",
"timestamp": 1715234612668,
"payload": {
"responseCode": "CAMDD0000",
"responseMessage": "Model Deleted Successfully.",
"timeStamp": "1715234612665"
},
"collectionId": "4499",
"eventType": "catalogservice/model/delete",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
DeleteProduct
Event Type: catalogservice/product/delete
{
"version": "0",
"id": "0ff86890-f556-a414-11fe-ac8dff69586c",
"detail-type": "catalogservice/product/delete",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:04:24Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "1e8d3f24970c4e27a0a65cce382cf4a4_1715234664435",
"timestamp": 1715234664696,
"payload": {
"responseCode": "CAPRD0000",
"responseMessage": "Product Id1e8d3f24970c4e27a0a65cce382cf4a4_1715234664435 Deleted Successfully.",
"timeStamp": "1715234664693"
},
"collectionId": "4499",
"eventType": "catalogservice/product/delete",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
DeleteProject
Event Type: catalogservice/project/delete
{
"version": "0",
"id": "7dcfdcca-7975-d18d-b343-98e31b08649f",
"detail-type": "catalogservice/project/delete",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:01:48Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "663c66cc957a701c9cca1f38",
"timestamp": 1715234508228,
"payload": {
"responseCode": "CAPJD0000",
"responseMessage": "Project Id663c66cc957a701c9cca1f38 Deleted Successfully.",
"timeStamp": "1715234508225"
},
"collectionId": "4499",
"eventType": "catalogservice/project/delete",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
DeleteSku
Event Type: catalogservice/sku/delete
{
"version": "0",
"id": "a77f5bdc-0dfd-ae62-cbba-adbcb0200328",
"detail-type": "catalogservice/sku/delete",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:05:09Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "Sku_id__1715234708924",
"timestamp": 1715234709182,
"payload": {
"responseCode": "CASKD0000",
"responseMessage": "Sku IdSku_id__1715234708924 Deleted Successfully.",
"timeStamp": "1715234709180"
},
"collectionId": "4499",
"eventType": "catalogservice/sku/delete",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateAttributeGroup
Event Type: catalogservice/attributegroup/patch
{
"version": "0",
"id": "7504cb30-1ebc-7f33-89c6-6063460ed699",
"detail-type": "catalogservice/attributegroup/patch",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:03:02Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "AttributeID_17152345676057858",
"timestamp": 1715234582489,
"payload": {
"identifier": "AttributeID_17152345676057858",
"collectionId": 4499,
"type": "NORMAL",
"orderIdx": 1,
"attributeIds": [
"Attribute_1715234522992"
],
"createdOn": "2024-05-09T11:32:47.637+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:33:02.478340307+05:30",
"updatedBy": 2
},
"collectionId": "4499",
"eventType": "catalogservice/attributegroup/patch",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateAttributeProperty
Event Type: catalogservice/attributeproperty/patch
{
"version": "0",
"id": "8e7908c6-591d-1e65-1181-1a7a01524424",
"detail-type": "catalogservice/attributeproperty/patch",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:02:25Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"timestamp": 1715234545231,
"payload": {
"attributeProperties": [
{
"name": "AttibuteProperty1715234545190",
"locale": "en_US",
"validationData": "1to100"
}
]
},
"collectionId": "4499",
"eventType": "catalogservice/attributeproperty/patch",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateAttribute
Event Type: catalogservice/attribute/patch
{
"version": "0",
"id": "cfc76b49-6740-3c81-f984-6a61f5e776c8",
"detail-type": "catalogservice/attribute/patch",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:02:32Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "Attribute_1715234522992",
"timestamp": 1715234552622,
"payload": {
"identifier": "Attribute_1715234522992",
"collectionId": 4499,
"versionId": "default",
"type": "STATIC",
"dataType": "BOOLEAN",
"status": "ACTIVE",
"validation": "yes",
"required": false,
"createdOn": "2024-05-09T11:32:03.02+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:32:32.602998766+05:30",
"updatedBy": 2,
"properties": [
{
"createdBy": 0,
"updatedBy": 0,
"locale": "en_US",
"validationData": "1to100",
"name": "AttibuteProperty1715234545190"
}
],
"suggestible": false
},
"collectionId": "4499",
"eventType": "catalogservice/attribute/patch",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateCatalogProperty
Event Type: catalogservice/property/patch
{
"version": "0",
"id": "4787a4dc-eae7-47fa-b232-752882ddcb7c",
"detail-type": "catalogservice/property/patch",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:05:39Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"timestamp": 1715234739091,
"payload": {
"catalogProperties": [
{
"value": "122",
"locale": "en_IN",
"name": "attributeid_1715234738866"
}
],
"count": 0
},
"collectionId": "4499",
"eventType": "catalogservice/property/patch",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateCatalog
Event Type: catalogservice/catalog/patch
{
"version": "0",
"id": "256e825e-9c10-0895-baa0-8f22b41ee4db",
"detail-type": "catalogservice/catalog/patch",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:01:10Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"timestamp": 1715234470907,
"payload": {
"identifier": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"collectionId": 4499,
"type": "MASTER",
"status": "ACTIVE",
"subType": "DEFAULT",
"startTime": "2026-05-09T06:01:03+05:30",
"endTime": "2027-05-09T06:01:03+05:30",
"createdOn": "2024-05-09T11:30:55.31+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:31:10.896096396+05:30",
"updatedBy": 1
},
"collectionId": "4499",
"eventType": "catalogservice/catalog/patch",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateModel
Event Type: catalogservice/model/patch
{
"version": "0",
"id": "215efea9-92a5-b1f5-0512-c358b7b7fdc1",
"detail-type": "catalogservice/model/patch",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:03:25Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "MODEL_1715234604911",
"timestamp": 1715234605143,
"payload": {
"status": "INACTIVE",
"createdOn": "2024-05-09T11:33:24.936+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:33:25.137264048+05:30",
"updatedBy": 2,
"type": "TEMPLATE",
"modelId": "MODEL_1715234604911"
},
"collectionId": "4499",
"eventType": "catalogservice/model/patch",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateModelValue
Event Type: catalogservice/modelvalue/patch
{
"version": "0",
"id": "ccd16f38-5437-51d2-f7a2-462299846149",
"detail-type": "catalogservice/modelvalue/patch",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:03:54Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "ParentModelId_17152346272188431",
"timestamp": 1715234634860,
"payload": {
"versionId": "default",
"status": "INACTIVE",
"createdTime": "2024-05-09T06:03:47.492",
"createdBy": 2,
"updatedTime": "2024-05-09T06:03:54.842584712",
"updatedBy": 2,
"collectionId": 4499,
"catalogId": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"modelId": "ParentModelId_17152346272188431",
"projectId": "663c673c957a701c9cca1f3b",
"modelType": "TEMPLATE",
"attributes": [
{
"attributeId": "test_1715234627259",
"locale": "en_US"
}
],
"modelValueId": "ParentModelId_17152346272188431"
},
"collectionId": "4499",
"eventType": "catalogservice/modelvalue/patch",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateProductProperty
Event Type: catalogservice/productproperty/patch
{
"version": "0",
"id": "9a3ccc12-e696-b34c-d129-6174cdc5e4c3",
"detail-type": "catalogservice/productproperty/patch",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:04:39Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"timestamp": 1715234679386,
"payload": {
"productProperties": [
{
"value": "pant",
"attributeId": "Attribute_1715234642176",
"locale": "en_US",
"isDelete": false
}
],
"count": 1
},
"collectionId": "4499",
"eventType": "catalogservice/productproperty/patch",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateProduct
Event Type: catalogservice/product/patch
{
"version": "0",
"id": "8a11fdeb-c496-e734-47b6-2f467ff394bc",
"detail-type": "catalogservice/product/patch",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:04:17Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "PRODUCT_1715234642446",
"timestamp": 1715234657260,
"payload": {
"collectionId": 4499,
"projectId": "663c66b5957a701c9cca1f34",
"catalogId": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"identifier": "PRODUCT_1715234642446",
"versionId": "default",
"status": "ACTIVE",
"visible": "ENABLED",
"startTime": "2026-05-09T06:01:25+05:30",
"endTime": "2027-05-09T06:01:25+05:30",
"createdOn": "2024-05-09T11:34:02.481+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:34:17.244407559+05:30",
"updatedBy": 2,
"properties": [
{
"createdBy": 0,
"updatedBy": 0,
"attributeId": "Attribute_1715234642176",
"value": "This is a string",
"locale": "en_US",
"isDelete": false,
"type": "STRING"
}
]
},
"collectionId": "4499",
"eventType": "catalogservice/product/patch",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateProject
Event Type: catalogservice/project/patch
{
"version": "0",
"id": "733b69f5-0954-6393-7786-20ceb8be5794",
"detail-type": "catalogservice/project/patch",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:01:40Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "663c66b5957a701c9cca1f34",
"timestamp": 1715234500642,
"payload": {
"identifier": "663c66b5957a701c9cca1f34",
"collectionId": 4499,
"name": "Project_SECOM-3829_1715234493258",
"description": "DiPPm",
"catalogId": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"notes": "QEAyzbQi",
"type": "MASTER",
"state": "OPEN",
"createdOn": "2024-05-09T11:31:25.901+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:31:40.630700315+05:30",
"updatedBy": 2
},
"collectionId": "4499",
"eventType": "catalogservice/project/patch",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateSkuProperty
Event Type: catalogservice/skuproperty/patch
{
"version": "0",
"id": "92d97c3f-7275-be8d-63e5-279b1c500078",
"detail-type": "catalogservice/skuproperty/patch",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:05:24Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"timestamp": 1715234723983,
"payload": {
"skuProperties": [
{
"attributeId": "Attribute_1715234642176",
"locale": "en_US",
"value": "Value1",
"isDelete": false
}
],
"count": 1
},
"collectionId": "4499",
"eventType": "catalogservice/skuproperty/patch",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateSku
Event Type: catalogservice/sku/patch
{
"version": "0",
"id": "6fc8cd8a-cdcd-7485-0b18-7490313557ae",
"detail-type": "catalogservice/sku/patch",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:05:01Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "Sku_id__1715234686737",
"timestamp": 1715234701614,
"payload": {
"identifier": "Sku_id__1715234686737",
"collectionId": 4499,
"catalogId": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"projectId": "663c66b5957a701c9cca1f34",
"versionId": "default",
"status": "ACTIVE",
"visible": "ENABLED",
"startTime": "2026-05-09T06:00:45+05:30",
"endTime": "2027-05-09T06:00:45+05:30",
"createdOn": "2024-05-09T11:34:46.765+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:35:01.602865084+05:30",
"updatedBy": 2
},
"collectionId": "4499",
"eventType": "catalogservice/sku/patch",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
UpdateAttributeProperty
Event Type: catalogservice/attributeproperty/update
{
"version": "0",
"id": "85792a94-b734-e18c-e4f3-0bda32143ddb",
"detail-type": "catalogservice/attributeproperty/update",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:02:17Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"timestamp": 1715234537861,
"payload": {
"attributeProperties": [
{
"name": "AttibuteProperty1715234537819",
"locale": "en_US",
"validationData": "1to100"
}
]
},
"collectionId": "4499",
"eventType": "catalogservice/attributeproperty/update",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
UpdateAttribute
Event Type: catalogservice/attribute/update
{
"version": "0",
"id": "907d0d9b-2f22-05b5-ca31-60e93868abc8",
"detail-type": "catalogservice/attribute/update",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:02:10Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "Attribute_1715234522992",
"timestamp": 1715234530471,
"payload": {
"identifier": "Attribute_1715234522992",
"collectionId": 4499,
"versionId": "default",
"type": "STATIC",
"dataType": "BOOLEAN",
"status": "ACTIVE",
"validation": "yes",
"required": false,
"searchable": true,
"sortable": true,
"filterable": true,
"createdOn": "2024-05-09T11:32:03.02+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:32:10.459068207+05:30",
"updatedBy": 2,
"suggestible": false,
"comparable": false,
"displayable": false,
"autoGeneration": false
},
"collectionId": "4499",
"eventType": "catalogservice/attribute/update",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
UpdateCatalogProperty
Event Type: catalogservice/property/update
{
"version": "0",
"id": "c3e1541c-3037-8f4a-02a9-a6e9323aef45",
"detail-type": "catalogservice/property/update",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:05:31Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"timestamp": 1715234731515,
"payload": {
"catalogProperties": [
{
"value": "value_1715234731491",
"locale": "en_US",
"name": "catalogProp_1715234731491"
}
],
"count": 0
},
"collectionId": "4499",
"eventType": "catalogservice/property/update",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
UpdateProductProperty
Event Type: catalogservice/productproperty/update
{
"version": "0",
"id": "54c07ea0-5885-c555-4370-713c028da635",
"detail-type": "catalogservice/productproperty/update",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:04:32Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"timestamp": 1715234672034,
"payload": {
"productProperties": [
{
"value": "shirt",
"attributeId": "Attribute_1715234642176",
"locale": "en_US",
"isDelete": false
}
],
"count": 1
},
"collectionId": "4499",
"eventType": "catalogservice/productproperty/update",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
UpdateProduct
Event Type: catalogservice/product/update
{
"version": "0",
"id": "85021520-eb09-7eee-2ed6-ce0b6f199e03",
"detail-type": "catalogservice/product/update",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:04:09Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "PRODUCT_1715234642446",
"timestamp": 1715234649887,
"payload": {
"collectionId": 4499,
"projectId": "663c66b5957a701c9cca1f34",
"catalogId": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"identifier": "PRODUCT_1715234642446",
"versionId": "default",
"status": "INACTIVE",
"visible": "ENABLED",
"startTime": "2026-05-09T06:01:25+05:30",
"endTime": "2027-05-09T06:01:25+05:30",
"createdOn": "2024-05-09T11:34:02.481+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:34:09.872599869+05:30",
"updatedBy": 2,
"properties": [
{
"createdBy": 0,
"updatedBy": 0,
"attributeId": "Attribute_1715234642176",
"value": "This is a string",
"locale": "en_US",
"isDelete": false,
"type": "STRING"
}
]
},
"collectionId": "4499",
"eventType": "catalogservice/product/update",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
UpdateProject
Event Type: catalogservice/project/update
{
"version": "0",
"id": "f455b647-013f-90b7-e53f-e8477a5956f9",
"detail-type": "catalogservice/project/update",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:01:33Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "663c66b5957a701c9cca1f34",
"timestamp": 1715234493285,
"payload": {
"identifier": "663c66b5957a701c9cca1f34",
"collectionId": 4499,
"name": "Project_SECOM-3829_1715234493258",
"description": "MVNRZBlsdq",
"catalogId": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"notes": "QEAyzbQi",
"type": "MASTER",
"state": "OPEN",
"createdOn": "2024-05-09T11:31:25.901+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:31:33.273345185+05:30",
"updatedBy": 2
},
"collectionId": "4499",
"eventType": "catalogservice/project/update",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
UpdateSkuProperty
Event Type: catalogservice/skuproperty/update
{
"version": "0",
"id": "24bb5fa7-119f-43c6-a15e-9d6917bf2c75",
"detail-type": "catalogservice/skuproperty/update",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:05:16Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"timestamp": 1715234716565,
"payload": {
"skuProperties": [
{
"attributeId": "Attribute_1715234642176",
"locale": "en_US",
"value": "Value1",
"isDelete": false
}
],
"count": 1
},
"collectionId": "4499",
"eventType": "catalogservice/skuproperty/update",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
UpdateSku
Event Type: catalogservice/sku/update
{
"version": "0",
"id": "97efba59-0a20-5415-0913-a26809c6c84f",
"detail-type": "catalogservice/sku/update",
"source": "catalogservice",
"account": "277827593990",
"time": "2024-05-09T06:04:54Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "Sku_id__1715234686737",
"timestamp": 1715234694192,
"payload": {
"identifier": "Sku_id__1715234686737",
"collectionId": 4499,
"catalogId": "4ac88fce76c84f4aa74d37191c6f9125_1715234455142",
"projectId": "663c66b5957a701c9cca1f34",
"versionId": "default",
"status": "ACTIVE",
"visible": "ENABLED",
"startTime": "2026-05-09T06:00:45+05:30",
"endTime": "2027-05-09T06:00:45+05:30",
"createdOn": "2024-05-09T11:34:46.765+05:30",
"createdBy": 2,
"updatedOn": "2024-05-09T11:34:54.176756293+05:30",
"updatedBy": 2
},
"collectionId": "4499",
"eventType": "catalogservice/sku/update",
"userId": "2",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_UNIT_TEST_ADMIN"
],
"channel": "CSR"
}
}
Internal Events via RabbitMQ/AWS MQ
The following events communicate with the internal microservices.
List of Events
SL.# | NAME | DESCRIPTION | PUBLISH LOCATION | ROUTING KEY | DURABILITY | PAYLOAD TYPE |
---|---|---|---|---|---|---|
1 | Project Submitted | This event is triggered when a project is updated to SUBMITTED state. | Topic: ecomm | catalog.project.updated | false | CatalogSubmittedProject |
2 | Project Approved | This event is triggered when a project is updated to APPROVED state. | Topic: ecomm | catalog.project.updated | false | CatalogSubmittedProject |
3 | Project Approval In-Progress | This event is triggered when a project is updated to APPROVAL_INPROGRESS state. | Topic: ecomm | catalog.project.updated | false | CatalogSubmittedProject |
4 | Project Failed | This event is triggered when a project is updated to APPROVAL_FAILED state. | Topic: ecomm | catalog.project.updated | false | CatalogSubmittedProject |
5 | Project Denied | This event is triggered when a project is updated to DENIED state. | Topic: ecomm | catalog.project.updated | false | CatalogSubmittedProject |
6 | Project Opened or Reopened | This event is triggered when a project is updated to OPEN state. | Topic: ecomm | catalog.project.updated | false | CatalogSubmittedProject |
Payload Model
Below is the payload for the Catalog microservice.
CatalogSubmittedProject
PROPERTY | TYPE | DESCRIPTION | EXAMPLE |
---|---|---|---|
projectId.collectionId | string | Indicates the collection ID of the project. | 1001 |
projectId.identifier | string | Indicates the identifier of the project. | 5ca5d845655160000d922a02 |
projectId.catalogId | string | Indicates the catalog ID of the project. | 3 |
name | string | Specifies the name of the project. | project name |
status | string | Specifies the status of the project, such as ACTIVE or INACTIVE. | ACTIVE |
description | string | Denotes the description of the project. | Project state is updated from OPEN to SUBMITTED. |
type | string | Indicates the type of the project, such as MASTER or SALE. | MASTER |
state | string | Indicates the state of the project, such as OPEN, SUBMITTED, APPROVAL_INPROGRESS, APPROVAL_FAILED, APPROVED, or DENIED. | SUBMITTED |
notes | string | Indicates the notes of the project. | Project state updated from OPEN to SUBMITTED. |
targetCompletionDate | LoclDateTime | Indicates the target completion date and time of the project, which is added by a user with appropriate privileges. | 2016-11-09T11:44:44.797+05:30 |
actualCompletionDate | LocalDateTime | Indicates the actual completion date and time of the project, which is added by a user with appropriate privileges. | 2016-11-09T11:44:44.797+05:30 |
createdBy | integer | Holds the ID of the user, who has created the project. | 0 |
createdOn | LocalDateTime | Holds the timestamp, when the project is created. | 2016-11-09T11:44:44.797+05:30 |
updatedBy | integer | Holds the ID of the user, who has updated the project. | 0 |
updatedOn | LocalDateTime | Specifies the timestamp, when the project is updated. | 2016-11-09T11:44:44.797+05:30 |
Revision History
2024-05-22 | JP – Added the external events for Release 8.17.4
2022-04-10 | JP – Fixed link and http issues.
2019-06-08 | PLK – Minor copyedits.
2019-05-17 | JP – Uploaded to a new table tool.
2019-04-05 | AN – Content updated for April 2019 release.
2019-01-21 | PLK – Page created and content uploaded.