Skip to content

Commit bea1800

Browse files
fchoquetpierallard
authored andcommitted
Add uuid to old API product endpoints
1 parent 94af499 commit bea1800

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

content/swagger/akeneo-web-api.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

content/swagger/resources/products/definitions/examples/products.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,7 @@ x-SaaS: {
10261026
"href": "https://demo.akeneo.com/api/rest/v1/product/top"
10271027
}
10281028
},
1029+
"uuid": "aaf518b2-f91e-40f1-a53a-78ce5e81a6f9",
10291030
"identifier": "top",
10301031
"family": "tshirt",
10311032
"groups": [],
@@ -1211,6 +1212,7 @@ x-SaaS: {
12111212
"href": "https://demo.akeneo.com/api/rest/v1/product/cap"
12121213
}
12131214
},
1215+
"uuid": "aec6780b-c813-4bd7-8e24-1a8574471576",
12141216
"identifier": "cap",
12151217
"family": "caps",
12161218
"groups": [],
@@ -1343,6 +1345,7 @@ x-SaaS: {
13431345
"href": "https://demo.akeneo.com/api/rest/v1/product/sweat"
13441346
}
13451347
},
1348+
"uuid": "93f14b03-5ed3-4f23-87c6-ae3806041b6a",
13461349
"identifier": "sweat",
13471350
"family": null,
13481351
"groups": [],

content/swagger/resources/products/definitions/product.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
type: object
22
required: ["identifier"]
33
properties:
4+
uuid:
5+
type: string
6+
description: Product UUID
7+
x-from-version: 'SaaS'
48
identifier:
59
type: string
610
description: Product identifier, i.e. the value of the only `pim_catalog_identifier` attribute

0 commit comments

Comments
 (0)