Skip to content

Commit 7c67b24

Browse files
committed
CPM-724: Fix reviews
1 parent b5969a7 commit 7c67b24

File tree

7 files changed

+22
-8
lines changed

7 files changed

+22
-8
lines changed

content/concepts/products.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,21 @@ Below is the JSON standard format representing a product.
2626

2727
```json
2828
{
29-
"identifier": "1111111195",
29+
"uuid": "fc24e6c3-933c-4a93-8a81-e5c703d134d5",
3030
"family": "clothing",
3131
"parent": "jack_brown",
3232
"categories": [
3333
"tshirts"
3434
],
3535
"enabled": true,
3636
"values": {
37+
"sku": [
38+
{
39+
"locale": null,
40+
"scope": null,
41+
"data": "1111111195"
42+
}
43+
],
3744
"ean": [
3845
{
3946
"locale": null,

content/files/Akeneo PIM API.postman_collection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4028,7 +4028,7 @@
40284028
],
40294029
"body": {
40304030
"mode": "raw",
4031-
"raw": "{\n \"family\": \"tshirts\",\n \"groups\": [],\n \"parent\": null,\n \"categories\": [\n \"tvs_projectors\"\n ],\n \"enabled\": true,\n \"values\": {\n \"sku\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": \"new_product\"\n }\n ],\n \"clothing_size\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": \"s\"\n }\n ],\n \"description\": [\n {\n \"locale\": \"en_US\",\n \"scope\": \"mobile\",\n \"data\": \"Akeneo T-Shirt 77777\"\n },\n {\n \"locale\": \"en_US\",\n \"scope\": \"print\",\n \"data\": \"Akeneo T-Shirt with short sleeve\"\n }\n ],\n \"main_color\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": \"black\"\n }\n ],\n \"name\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": \"Akeneo T-Shirt black and purple with short sleeve\"\n }\n ],\n \"secondary_color\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": \"purple\"\n }\n ],\n \"tshirt_materials\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": \"cotton\"\n }\n ],\n \"tshirt_style\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": [\n \"crewneck\",\n \"short_sleeve\"\n ]\n }\n ],\n \"price\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": [\n {\n \"amount\": 10,\n \"currency\": \"EUR\"\n },\n {\n \"amount\": 14,\n \"currency\": \"USD\"\n }\n ]\n }\n ]\n },\n \"created\": \"2017-03-30T14:55:26+02:00\",\n \"updated\": \"2017-05-04T23:56:09+02:00\",\n \"associations\": {\n \"SUBSTITUTION\": {\n \"groups\": [\"tshirt\"],\n \"products\": []\n }\n }\n}"
4031+
"raw": "{\n \"family\": \"tshirts\",\n \"groups\": [],\n \"parent\": null,\n \"categories\": [\n \"tvs_projectors\"\n ],\n \"enabled\": true,\n \"values\": {\n \"sku\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": \"new_product\"\n }\n ],\n \"clothing_size\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": \"s\"\n }\n ],\n \"description\": [\n {\n \"locale\": \"en_US\",\n \"scope\": \"mobile\",\n \"data\": \"Akeneo T-Shirt 77777\"\n },\n {\n \"locale\": \"en_US\",\n \"scope\": \"print\",\n \"data\": \"Akeneo T-Shirt with short sleeve\"\n }\n ],\n \"main_color\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": \"black\"\n }\n ],\n \"name\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": \"Akeneo T-Shirt black and purple with short sleeve\"\n }\n ],\n \"secondary_color\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": \"purple\"\n }\n ],\n \"tshirt_materials\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": \"cotton\"\n }\n ],\n \"tshirt_style\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": [\n \"crewneck\",\n \"short_sleeve\"\n ]\n }\n ],\n \"price\": [\n {\n \"locale\": null,\n \"scope\": null,\n \"data\": [\n {\n \"amount\": 10,\n \"currency\": \"EUR\"\n },\n {\n \"amount\": 14,\n \"currency\": \"USD\"\n }\n ]\n }\n ]\n },\n \"created\": \"2017-03-30T14:55:26+02:00\",\n \"updated\": \"2017-05-04T23:56:09+02:00\",\n \"associations\": {\n \"SUBSTITUTION\": {\n \"groups\": [\"promotion\"],\n \"products\": []\n }\n }\n}"
40324032
},
40334033
"url": {
40344034
"raw": "{{url}}/api/rest/v1/products-uuid",

content/misc/products-with-variants.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,21 @@ As a result, we totally refounded the way we model the product with variants. In
3030
The JSON standard format of a variant product is, in 2.0, the following:
3131
```json
3232
{
33-
"identifier": "1111111195",
33+
"uuid": "fc24e6c3-933c-4a93-8a81-e5c703d134d5",
3434
"family": "clothing",
3535
"parent": "jack_brown",
3636
"categories": [
3737
"tshirts"
3838
],
3939
"enabled": true,
4040
"values": {
41+
"sku": [
42+
{
43+
"locale": null,
44+
"scope": null,
45+
"data": "1111111195"
46+
}
47+
],
4148
"ean": [
4249
{
4350
"locale": null,
@@ -145,7 +152,7 @@ Before in 1.7
145152
"updated": "2017-10-05T11:25:48+02:00"
146153
}
147154
```
148-
Now in 2.0
155+
After 2.0
149156
```json
150157
{
151158
"identifier": "1111111195",

content/rest-api/responses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ HTTP/1.1 422 Unprocessable Entity
216216
"message": "The sunglasses category does not exist in your PIM. Check the expected format on the API documentation.",
217217
"_links": {
218218
"documentation": {
219-
"href": "http://api.akeneo.com/api-reference.html#post_products"
219+
"href": "http://api.akeneo.com/api-reference.html#post_products_uuid"
220220
}
221221
}
222222
}

content/swagger/akeneo-web-api.json

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

content/swagger/resources/product_models/definitions/product_model.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ properties:
4747
description: <a href='api-reference.html#Locale'>Locale</a> code of the product value
4848
data:
4949
type: object
50-
description: <a href='api-reference.html#Product'>Product</a> value
50+
description: <a href='api-reference.html#Productuuid'>Product</a> value
5151
associations:
5252
type: object
5353
description: Several associations related to groups, product and/or other product models, grouped by association types

content/swagger/resources/published_products/definitions/published_product.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ properties:
4545
description: <a href='api-reference.html#Locale'>Locale</a> code of the product value
4646
data:
4747
type: object
48-
description: <a href='api-reference.html#Product'>Product</a> value
48+
description: <a href='api-reference.html#Productuuid'>Product</a> value
4949
associations:
5050
type: object
5151
description: Several associations related to groups and/or other published products, grouped by association types

0 commit comments

Comments
 (0)