Skip to content

Commit b5beb71

Browse files
add uuid in the events api ref
1 parent ac773b4 commit b5beb71

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

content/events-reference/events-reference-serenity/products.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ A product created event follows this format:
2020
"pim_source": "https://demo.akeneo.com",
2121
"data": {
2222
"resource": {
23+
"uuid":"1fd20ad8-ef95-49d7-a581-fb9f8ac0c5ad",
2324
"identifier": "1111111304",
2425
"family": "accessories",
2526
"parent": null,
@@ -138,6 +139,7 @@ A product updated event follows this format:
138139
"pim_source": "https://demo.akeneo.com",
139140
"data": {
140141
"resource": {
142+
"uuid":"1fd20ad8-ef95-49d7-a581-fb9f8ac0c5ad",
141143
"identifier": "1111111304",
142144
"family": "accessories",
143145
"parent": null,
@@ -256,7 +258,8 @@ A product removed event follows this format:
256258
"pim_source": "https://demo.akeneo.com",
257259
"data": {
258260
"resource": {
259-
"identifier": "1111111304"
261+
"identifier": "1111111304",
262+
"uuid":"cb02315b-a8f6-4580-beee-7624c02c1384"
260263
}
261264
}
262265
}

content/events-reference/events-reference-serenity/resources/product-created.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ properties:
2929
resource:
3030
type: object
3131
properties:
32+
uuid:
33+
type: string
34+
description: Product UUID
3235
identifier:
3336
type: string
3437
description: Product identifier, i.e. the value of the only `pim_catalog_identifier` attribute

content/events-reference/events-reference-serenity/resources/product-removed.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ properties:
3131
properties:
3232
identifier:
3333
type: string
34+
description: Product identifier, i.e. the value of the only `pim_catalog_identifier` attribute
35+
uuid:
36+
type: string
37+
description: Product UUID

content/events-reference/events-reference-serenity/resources/product-updated.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ properties:
2929
resource:
3030
type: object
3131
properties:
32+
uuid:
33+
type: string
34+
description: Product UUID
3235
identifier:
3336
type: string
3437
description: Product identifier, i.e. the value of the only `pim_catalog_identifier` attribute

0 commit comments

Comments
 (0)