This page provides the list of events and associated payload for internal events (via RabbitMQ/AWS MQ) and external events (via EventBridge) for the Merchandising microservice.

External Events via EventBridge

The following events contain the entity changed in the event message payload.

List of Events

S.No.API callCall detailEvent TypeIdentifier
1POST CreateProject  merchandiseservice/project/create  response_identifier
2PUT UpdateProject  merchandiseservice/project/update  response_identifier
3PATCH PatchUpdateProject  merchandiseservice/project/patch  response_identifier
4DELETE DeleteProject  merchandiseservice/project/delete  request_identifier
5POST CreateProjectNotes  merchandiseservice/projectnotes/create  response_identifier
6POST CreateNavigation  merchandiseservice/navigation/create  response_identifier
7PUT UpdateNavigation  merchandiseservice/navigation/update  response_identifier
8PATCH PatchUpdateNavigation  merchandiseservice/navigation/patch  response_identifier
9DELETE DeleteNavigation  merchandiseservice/navigation/delete  request_identifier
10POST CreateCategory  merchandiseservice/category/create  response_identifier
11PUT UpdateCategory  merchandiseservice/category/update  response_identifier
12PATCH PatchUpdateCategory  merchandiseservice/category/patch  response_identifier
13DELETE DeleteCategory  merchandiseservice/category/delete  request_identifier
14POST CreateCategoryAttribute  merchandiseservice/categoryattribute/create  response_identifier
15PUT UpdateCategoryAttribute  merchandiseservice/categoryattribute/update  response_identifier
16PATCH PatchUpdateCategoryAttribute  merchandiseservice/categoryattribute/patch  response_identifier
17DELETE DeleteCategoryAttribute  merchandiseservice/categoryattribute/delete  request_id
18PUT UpdateCategoryProperty  merchandiseservice/categoryproperty/update  response_properties.attributeId
19PATCH PatchUpdateCategoryProperty  merchandiseservice/categoryproperty/patch  response_properties.attributeId
20POST CreateMilestone  merchandiseservice/milestone/create  response_identifier
21PUT UpdateMilestone  merchandiseservice/milestone/update  response_identifier
22PATCH PatchUpdateMilestone  merchandiseservice/milestone/patch  response_identifier
23DELETE DeleteMilestone  merchandiseservice/milestone/delete  request_id
24POST CreateCreative  merchandiseservice/creative/create  response_identifier
25PUT UpdateCreative  merchandiseservice/creative/update  response_identifier
26PATCH PatchUpdateCreative  merchandiseservice/creative/patch  response_identifier
27DELETE DeleteCreative  merchandiseservice/creative/delete  request_projectId

Payload

CreateProject

Event Type: merchandiseservice/project/create

{
  "version": "0",
  "id": "c4ea29f5-cf32-3e02-5513-16400949b46f",
  "detail-type": "merchandiseservice/project/create",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:34:45Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "663cc2e556a44563a5ee9d87",
    "timestamp": 1715258085272,
    "payload": {
      "identifier": "663cc2e556a44563a5ee9d87",
      "collectionId": 969,
      "status": "OPEN",
      "name": "Name671sVHgftznI5221715258085256",
      "description": "COOI54jVm69",
      "targetCompletionDate": "2059-11-08T22:14:44.797-08:00",
      "createdOn": "2024-05-09T12:34:45.266022156",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:34:45.266022750",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/project/create",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

UpdateProject

Event Type: merchandiseservice/project/update

{
  "version": "0",
  "id": "ec738289-ecea-de8d-8bb3-77de3228e176",
  "detail-type": "merchandiseservice/project/update",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:34:49Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "663cc2e556a44563a5ee9d87",
    "timestamp": 1715258089496,
    "payload": {
      "identifier": "663cc2e556a44563a5ee9d87",
      "collectionId": 969,
      "status": "OPEN",
      "name": "Name496YtKyPfpj1241715258089475",
      "description": "GmIVIpAym",
      "createdOn": "2024-05-09T12:34:45.266",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:34:49.490652252",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/project/update",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

PatchUpdateProject

Event Type: merchandiseservice/project/patch

{
  "version": "0",
  "id": "17c4a2d0-44de-6d76-3281-539db16845cc",
  "detail-type": "merchandiseservice/project/patch",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:34:53Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "663cc2e556a44563a5ee9d87",
    "timestamp": 1715258093159,
    "payload": {
      "identifier": "663cc2e556a44563a5ee9d87",
      "collectionId": 969,
      "status": "OPEN",
      "name": "Name496YtKyPfpj1241715258089475",
      "description": "xhQifChO",
      "createdOn": "2024-05-09T12:34:45.266",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:34:53.156180591",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/project/patch",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

DeleteProject

Event Type: merchandiseservice/project/delete

{
  "version": "0",
  "id": "542d939c-43ad-2211-470b-5c939a1ec385",
  "detail-type": "merchandiseservice/project/delete",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:34:56Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "663cc2f056a44563a5ee9d89",
    "timestamp": 1715258096697,
    "payload": {
      "identifier": "663cc2f056a44563a5ee9d89",
      "collectionId": 969,
      "status": "DELETED",
      "name": "Name786SFnRhhcy1321715258096644",
      "description": "3b61aaQstd9Xrn",
      "targetCompletionDate": "2059-11-09T06:14:44.797",
      "createdOn": "2024-05-09T12:34:56.656",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:34:56.694090355",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/project/delete",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

CreateProjectNotes

Event Type: merchandiseservice/projectnotes/create

{
  "version": "0",
  "id": "d2c60fe6-8a4e-801a-334b-311c994bf1a3",
  "detail-type": "merchandiseservice/projectnotes/create",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:00Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "663cc2f456a44563a5ee9d8b",
    "timestamp": 1715258100205,
    "payload": {
      "identifier": "663cc2f456a44563a5ee9d8b",
      "projectId": "663cc2e556a44563a5ee9d87",
      "collectionId": 969,
      "userId": 1,
      "notes": "This project contain all products and skus",
      "updatedTime": "2024-05-09T12:35:00.203378359"
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/projectnotes/create",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

CreateNavigation

Event Type: merchandiseservice/navigation/create

{
  "version": "0",
  "id": "8f14c6bf-d2f5-ee56-7388-c8f925678794",
  "detail-type": "merchandiseservice/navigation/create",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:04Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "969_1715258103737_294565812",
    "timestamp": 1715258103751,
    "payload": {
      "identifier": "969_1715258103737_294565812",
      "status": "ACTIVE",
      "name": "ExternalEvents1715258103729",
      "topNavigation": false,
      "defaultNavigation": false,
      "createdOn": "2024-05-09T12:35:03.749066130",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:35:03.749101124",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/navigation/create",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

UpdateNavigation

Event Type: merchandiseservice/navigation/update

{
  "version": "0",
  "id": "835347d6-f35a-c4ed-8ebc-014b39816f36",
  "detail-type": "merchandiseservice/navigation/update",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:07Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "969_1715258103737_294565812",
    "timestamp": 1715258107521,
    "payload": {
      "identifier": "969_1715258103737_294565812",
      "status": "ACTIVE",
      "name": "Nav-ExternalEvents1715258107492",
      "topNavigation": false,
      "defaultNavigation": false,
      "createdOn": "2024-05-09T12:35:03.749",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:35:07.517925981",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/navigation/update",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

PatchUpdateNavigation

Event Type: merchandiseservice/navigation/patch

{
  "version": "0",
  "id": "086a83b6-1542-4f49-1050-599037e2f2be",
  "detail-type": "merchandiseservice/navigation/patch",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:10Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "SiteNav21258181715258107806",
    "timestamp": 1715258110492,
    "payload": {
      "identifier": "SiteNav21258181715258107806",
      "status": "ACTIVE",
      "name": "SiteNav70151321715258110164",
      "topNavigation": false,
      "defaultNavigation": false,
      "createdOn": "2024-05-09T12:35:08.531",
      "createdBy": 23482,
      "updatedOn": "2024-05-09T12:35:10.489572913",
      "updatedBy": 23482
    },
    "collectionId": "955",
    "eventType": "merchandiseservice/navigation/patch",
    "userId": "23482",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_BUSINESS_ADMIN"
    ],
    "channel": "CSR"
  }
}

DeleteNavigation

Event Type: merchandiseservice/navigation/delete

{
  "version": "0",
  "id": "be0c6942-baba-6fef-71d1-89ff51dd6d5d",
  "detail-type": "merchandiseservice/navigation/delete",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:14Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "969_1715258114561_1218661228",
    "timestamp": 1715258114675,
    "payload": {
      "responseCode": "merchandise.navigation.delete",
      "responseMessage": "Navigation is successfully deleted.",
      "timeStamp": "1715258114675"
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/navigation/delete",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

CreateCategory

Event Type: merchandiseservice/category/create

{
  "version": "0",
  "id": "622bc5a3-21cf-9889-bdf6-57d073fc37c6",
  "detail-type": "merchandiseservice/category/create",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:20Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "af1357268513410a8502c25295680800",
    "timestamp": 1715258120219,
    "payload": {
      "identifier": "af1357268513410a8502c25295680800",
      "collectionId": 969,
      "status": "ACTIVE",
      "pageType": "PLP",
      "projectId": "663cc2e556a44563a5ee9d87",
      "visible": true,
      "locked": false,
      "createdOn": "2024-05-09T12:35:20.213814742",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:35:20.213847958",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/category/create",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

UpdateCategory

Event Type: merchandiseservice/category/update

{
  "version": "0",
  "id": "64081f8b-e0d9-8636-5cd2-fc33c253b206",
  "detail-type": "merchandiseservice/category/update",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:23Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "af1357268513410a8502c25295680800",
    "timestamp": 1715258123738,
    "payload": {
      "identifier": "af1357268513410a8502c25295680800",
      "collectionId": 969,
      "status": "ACTIVE",
      "pageType": "PLP",
      "projectId": "663cc2e556a44563a5ee9d87",
      "visible": true,
      "locked": false,
      "createdOn": "2024-05-09T12:35:20.213",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:35:23.733683650",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/category/update",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

PatchUpdateCategory

Event Type: merchandiseservice/category/patch

{
  "version": "0",
  "id": "25bc57b2-9166-a8bb-98ea-c1bf4610a8df",
  "detail-type": "merchandiseservice/category/patch",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:27Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "af1357268513410a8502c25295680800",
    "timestamp": 1715258127234,
    "payload": {
      "identifier": "af1357268513410a8502c25295680800",
      "collectionId": 969,
      "status": "ACTIVE",
      "pageType": "PLP",
      "projectId": "663cc2e556a44563a5ee9d87",
      "visible": true,
      "locked": false,
      "createdOn": "2024-05-09T12:35:20.213",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:35:27.229582705",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/category/patch",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

DeleteCategory

Event Type: merchandiseservice/category/delete

{
  "version": "0",
  "id": "f0b525ae-2331-4599-117a-ba83404043f4",
  "detail-type": "merchandiseservice/category/delete",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:30Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "b7f243a6f49c41ed972ef0687d162b2e",
    "timestamp": 1715258130806,
    "payload": {
      "responseCode": "merchandise.category.delete",
      "responseMessage": "Category is successfully deleted.",
      "timeStamp": "1715258130806"
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/category/delete",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

CreateCategoryAttribute

Event Type: merchandiseservice/categoryattribute/create

{
  "version": "0",
  "id": "02b4ce09-5156-e402-5304-1265d7a439ea",
  "detail-type": "merchandiseservice/categoryattribute/create",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:34Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "catattribute7851179",
    "timestamp": 1715258134312,
    "payload": {
      "identifier": "catattribute7851179",
      "collectionId": 969,
      "status": "ACTIVE",
      "mandatory": false,
      "properties": [
        {
          "name": "locale",
          "locale": "en_US"
        }
      ]
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/categoryattribute/create",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

UpdateCategoryAttribute

Event Type: merchandiseservice/categoryattribute/update

{
  "version": "0",
  "id": "b1bb68a5-e89b-f6c9-660d-47a2c52c490c",
  "detail-type": "merchandiseservice/categoryattribute/update",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:37Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "catattribute7851179",
    "timestamp": 1715258137802,
    "payload": {
      "identifier": "catattribute7851179",
      "collectionId": 969,
      "status": "ACTIVE",
      "mandatory": false,
      "properties": [
        {
          "name": "locale",
          "locale": "en_US"
        }
      ]
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/categoryattribute/update",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

PatchUpdateCategoryAttribute

Event Type: merchandiseservice/categoryattribute/patch

{
  "version": "0",
  "id": "7a254e9e-da4b-9508-22b9-3fc29d894dd6",
  "detail-type": "merchandiseservice/categoryattribute/patch",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:41Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "catattribute7851179",
    "timestamp": 1715258141277,
    "payload": {
      "identifier": "catattribute7851179",
      "collectionId": 969,
      "status": "ACTIVE",
      "mandatory": false,
      "properties": [
        {
          "name": "locale",
          "locale": "en_US"
        }
      ]
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/categoryattribute/patch",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

DeleteCategoryAttribute

Event Type: merchandiseservice/categoryattribute/delete

{
  "version": "0",
  "id": "75215fb7-5ef0-9d8c-42e5-8bf71cc88c30",
  "detail-type": "merchandiseservice/categoryattribute/delete",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:45Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "catattribute22655336",
    "timestamp": 1715258145051,
    "payload": {
      "responseCode": "merchandise.creativeattribute.delete",
      "responseMessage": "Category Attribute is successfully deleted.",
      "timeStamp": "1715258145051"
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/categoryattribute/delete",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

UpdateCategoryProperty

Event Type: merchandiseservice/categoryproperty/update

{
  "version": "0",
  "id": "b6ae6daf-ff41-2ad5-302a-eb9494aa3465",
  "detail-type": "merchandiseservice/categoryproperty/update",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:48Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "timestamp": 1715258148951,
    "payload": {
      "properties": [
        {
          "attributeId": "catattribute7851179",
          "value": "CategoryProperty1715258148929",
          "locale": "en_US",
          "locked": false,
          "name": "locale"
        }
      ]
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/categoryproperty/update",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

PatchUpdateCategoryProperty

Event Type: merchandiseservice/categoryproperty/patch

{
  "version": "0",
  "id": "cf48e186-c5a6-cf3d-67b6-cded8886b4a8",
  "detail-type": "merchandiseservice/categoryproperty/patch",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:52Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "timestamp": 1715258152818,
    "payload": {
      "properties": [
        {
          "attributeId": "catattribute7851179",
          "value": "category property",
          "locale": "en_US",
          "locked": true,
          "name": "locale"
        }
      ]
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/categoryproperty/patch",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

CreateMilestone

Event Type: merchandiseservice/milestone/create

{
  "version": "0",
  "id": "4826107d-f8d4-cb44-8fe1-bab68656773e",
  "detail-type": "merchandiseservice/milestone/create",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:56Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "id_sV7579PCz7yKD115366153555104959",
    "timestamp": 1715258156350,
    "payload": {
      "identifier": "id_sV7579PCz7yKD115366153555104959",
      "collectionId": 969,
      "projectId": "663cc2e556a44563a5ee9d87",
      "name": "Milestone0I87553zjbNXT2",
      "status": "ACTIVE",
      "type": "NAV",
      "itemId": "969_1715258103737_294565812",
      "priority": 1,
      "children": [
        {
          "type": "CATEGORY",
          "itemId": "af1357268513410a8502c25295680800",
          "sequence": 0.0
        },
        {
          "type": "ALIAS",
          "itemId": "af1357268513410a8502c25295680800",
          "aliasCategoryName": [
            {
              "name": "Milestone0I87553zjbNXT2",
              "locale": "en_US"
            }
          ],
          "sequence": 0.0
        }
      ],
      "startTime": "2019-06-08T23:14:44.797-07:00",
      "endTime": "2050-06-24T00:41:00.797-07:00",
      "createdOn": "2024-05-09T12:35:56.347432838",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:35:56.347464336",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/milestone/create",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

UpdateMilestone

Event Type: merchandiseservice/milestone/update

{
  "version": "0",
  "id": "13537b7a-25ce-9f02-4924-e04c3cd69126",
  "detail-type": "merchandiseservice/milestone/update",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:35:59Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "id_sV7579PCz7yKD115366153555104959",
    "timestamp": 1715258159859,
    "payload": {
      "identifier": "id_sV7579PCz7yKD115366153555104959",
      "collectionId": 969,
      "projectId": "663cc2e556a44563a5ee9d87",
      "name": "Milestonebz2SCBnJ9JDm1715258159826",
      "status": "INACTIVE",
      "type": "NAV",
      "itemId": "969_1715258103737_294565812",
      "priority": 1,
      "children": [
        {
          "type": "CATEGORY",
          "itemId": "af1357268513410a8502c25295680800",
          "sequence": 0.0
        },
        {
          "type": "ALIAS",
          "itemId": "af1357268513410a8502c25295680800",
          "aliasCategoryName": [
            {
              "name": "",
              "locale": "en_US"
            }
          ],
          "sequence": 0.0
        }
      ],
      "startTime": "2019-06-08T23:14:44.797-07:00",
      "endTime": "2050-06-24T00:41:00.797-07:00",
      "createdOn": "2024-05-09T12:35:56.347",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:35:59.855470952",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/milestone/update",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

PatchUpdateMilestone

Event Type: merchandiseservice/milestone/patch

{
  "version": "0",
  "id": "da6538d7-b1b2-3996-34f5-490112dc6e6d",
  "detail-type": "merchandiseservice/milestone/patch",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:36:03Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "id_sV7579PCz7yKD115366153555104959",
    "timestamp": 1715258163388,
    "payload": {
      "identifier": "id_sV7579PCz7yKD115366153555104959",
      "collectionId": 969,
      "projectId": "663cc2e556a44563a5ee9d87",
      "name": "MilestoneR73vP6vezANnBd1715258163356",
      "status": "INACTIVE",
      "type": "NAV",
      "itemId": "969_1715258103737_294565812",
      "priority": 1,
      "children": [
        {
          "type": "CATEGORY",
          "itemId": "af1357268513410a8502c25295680800",
          "sequence": 0.0
        },
        {
          "type": "ALIAS",
          "itemId": "af1357268513410a8502c25295680800",
          "aliasCategoryName": [
            {
              "name": "MilestoneR73vP6vezANnBd1715258163356",
              "locale": "en_US"
            }
          ],
          "sequence": 0.0
        }
      ],
      "startTime": "2019-06-08T23:14:44.797-07:00",
      "endTime": "2050-06-24T00:41:00.797-07:00",
      "createdOn": "2024-05-09T12:35:56.347",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:36:03.385199599",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/milestone/patch",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

DeleteMilestone

Event Type: merchandiseservice/milestone/delete

{
  "version": "0",
  "id": "ed233496-119e-fd5a-d7d9-8f484c4c7bd5",
  "detail-type": "merchandiseservice/milestone/delete",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:36:07Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "id_gi8Eq0ir2csrl8341709899232530977",
    "timestamp": 1715258167015,
    "payload": {
      "responseCode": "merchandise.milestone.delete",
      "responseMessage": "Milestone is successfully deleted.",
      "timeStamp": "1715258167015"
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/milestone/delete",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

CreateCreative

Event Type: merchandiseservice/creative/create

{
  "version": "0",
  "id": "ebe4c8c6-7c6d-63f0-7655-535c08d8c967",
  "detail-type": "merchandiseservice/creative/create",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:36:10Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "969_1715258170561_1895968293",
    "timestamp": 1715258170568,
    "payload": {
      "identifier": "969_1715258170561_1895968293",
      "collectionId": 969,
      "projectId": "663cc2e556a44563a5ee9d87",
      "name": "tEk988753129741715258170545",
      "status": "ACTIVE",
      "description": "XmnVQFEHgr",
      "tags": [
        "KR3DX6aa"
      ],
      "widgetId": "1",
      "widgetProperties": {
        "additionalProp1": "hCfOxVJ",
        "additionalProp3": "FLSfPN",
        "additionalProp2": "AxDfGbp"
      },
      "createdOn": "2024-05-09T12:36:10.564178051",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:36:10.564218994",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/creative/create",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

UpdateCreative

Event Type: merchandiseservice/creative/update

{
  "version": "0",
  "id": "a60718f3-5575-798d-9b4e-44b1755a78f8",
  "detail-type": "merchandiseservice/creative/update",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:36:14Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "969_1715258170561_1895968293",
    "timestamp": 1715258174047,
    "payload": {
      "identifier": "969_1715258170561_1895968293",
      "collectionId": 969,
      "projectId": "663cc2e556a44563a5ee9d87",
      "name": "CreativeJzMO7P2G1P1715258174028",
      "status": "ACTIVE",
      "description": "DIJQY",
      "tags": [
        "T4pBzdy"
      ],
      "widgetId": "1",
      "widgetProperties": {
        "additionalProp1": "cxpJQL",
        "additionalProp3": "KYfCQRKST",
        "additionalProp2": "CedRcpQR"
      },
      "createdOn": "2024-05-09T12:36:10.564",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:36:14.044690566",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/creative/update",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

PatchUpdateCreative

Event Type: merchandiseservice/creative/patch

{
  "version": "0",
  "id": "bb7a3064-2f7d-ef29-97e0-1213586c59b8",
  "detail-type": "merchandiseservice/creative/patch",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:36:17Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "969_1715258170561_1895968293",
    "timestamp": 1715258177597,
    "payload": {
      "identifier": "969_1715258170561_1895968293",
      "collectionId": 969,
      "projectId": "663cc2e556a44563a5ee9d87",
      "name": "Creative4ag3KsFf92D1z1715258177578",
      "status": "ACTIVE",
      "description": "TDrCExy",
      "tags": [
        "RChH5YF5"
      ],
      "widgetId": "1",
      "widgetProperties": {
        "additionalProp1": "crtrrCni",
        "additionalProp3": "gYtDxnrlD",
        "additionalProp2": "tdGSzNALn"
      },
      "createdOn": "2024-05-09T12:36:10.564",
      "createdBy": 1,
      "updatedOn": "2024-05-09T12:36:17.594195442",
      "updatedBy": 1
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/creative/patch",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

DeleteCreative

Event Type: merchandiseservice/creative/delete

{
  "version": "0",
  "id": "d414fa39-1dcf-8c01-2f19-b72387fdbd87",
  "detail-type": "merchandiseservice/creative/delete",
  "source": "merchandiseservice",
  "account": "277827593990",
  "time": "2024-05-09T12:36:21Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "timestamp": 1715258181118,
    "payload": {
      "responseCode": "merchandise.creative.delete",
      "responseMessage": "Creative is successfully deleted.",
      "timeStamp": "1715258181118"
    },
    "collectionId": "969",
    "eventType": "merchandiseservice/creative/delete",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

Internal Events via RabbitMQ/AWS MQ

The following events communicate with the internal microservices.

List of Events

SL.#NAMEDESCRIPTIONPUBLISH LOCATIONROUTING KEYDURABILITYPAYLOAD TYPE
1Create ProjectThis event is triggered when a project is created.Topic: ecommmerchandise.project.createfalseProject
2Project OpenedThis event is triggered when a project is updated to OPEN state.Topic: ecommmerchandise.project.update.OPENfalseProject
3Project SubmittedThis event is triggered when a project is updated to SUBMITTED state.Topic: ecommmerchandise.project.update.SUBMITTEDfalseProject
4Project Approval In-ProgressThis event is triggered when a project is updated to APPROVAL_INPROGRESS state.Topic: ecommmerchandise.project.update.APPROVAL_IN_PROGRESSfalseProject
5Project ApprovedThis event is triggered when a project is updated to APPROVED state.Topic: ecommmerchandise.project.update.APPROVEDfalseProject
6Project FailedThis event is triggered when a project is updated to APPROVAL_FAILED state.Topic: ecommmerchandise.project.update.APPROVAL_FAILEDfalseProject
7Project DeniedThis event is triggered when a project is updated to DENIED state. Topic: ecommmerchandise.project.update.DENIEDfalseProject
8Delete ProjectThis event is triggered when a project is deleted.Topic: ecommmerchandise.project.update.DELETEDfalseProject

Payload Model

Project

PROPERTYTYPEDESCRIPTIONEXAMPLE
collectionIdlongIndicates the collection ID of the project.1
projectIdstringContains the identifier of the project.1
mileStoneIdstringHolds the ID of the milestone.1
navigationIdstringHolds the ID of the navigation.100
creativeIdstringHolds the ID of the creative.1
categoryIdstringHolds the ID of the category.123
categoryAttributeIdstringContains the ID of the category attribute.top12
projectNotesIdstringSpecifies the ID of the project notes.1




Revision History
2024-05-22 | SW – Added the external events for Release 8.17.4
2019-09-24 | AN – Content updated for September 2019 release.
2019-05-20 | JP – Upload to a new table tool.
2019-04-04 | AN – Content updated for April 2019 release.
2019-01-23 | PLK – Content uploaded.