Skip to content

Commit ed2d65a

Browse files
committed
Updated API from documentation release
1 parent 24b128b commit ed2d65a

38 files changed

+271
-31
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"action": "setProductAttribute",
3+
"name": "ExampleStringTypeAttribute",
4+
"value": "TextString"
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"action": "setProductAttribute",
3+
"name": "ExampleStringTypeAttribute",
4+
"value": "TextString"
5+
}

api-specs/api/examples/product-projection.example.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@
3232
"hasStagedChanges": false,
3333
"published": true,
3434
"createdAt": "1970-01-01T00:00:00.001Z",
35-
"lastModifiedAt": "2014-01-07T15:25:50.034Z"
36-
}
35+
"lastModifiedAt": "2014-01-07T15:25:50.034Z",
36+
"attributes": []
37+
}

api-specs/api/examples/product-projections-search.example.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"hasStagedChanges": false,
3939
"published": true,
4040
"createdAt": "1970-01-01T00:00:00.001Z",
41-
"lastModifiedAt": "2014-01-07T15:25:50.034Z"
41+
"lastModifiedAt": "2014-01-07T15:25:50.034Z",
42+
"attributes": []
4243
},
4344
{
4445
"id": "e779ec1a-0a98-4135-8344-d51bdafd4fe6",
@@ -75,7 +76,8 @@
7576
"hasStagedChanges": true,
7677
"published": true,
7778
"createdAt": "2015-05-28T07:15:48.738Z",
78-
"lastModifiedAt": "2015-05-28T07:19:38.624Z"
79+
"lastModifiedAt": "2015-05-28T07:19:38.624Z",
80+
"attributes": []
7981
}
8082
],
8183
"facets": {

api-specs/api/examples/product-projections.example.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"hasStagedChanges": false,
3939
"published": true,
4040
"createdAt": "1970-01-01T00:00:00.001Z",
41-
"lastModifiedAt": "2014-01-07T15:25:50.034Z"
41+
"lastModifiedAt": "2014-01-07T15:25:50.034Z",
42+
"attributes": []
4243
},
4344
{
4445
"id": "e779ec1a-0a98-4135-8344-d51bdafd4fe6",
@@ -75,7 +76,8 @@
7576
"hasStagedChanges": true,
7677
"published": true,
7778
"createdAt": "2015-05-28T07:15:48.738Z",
78-
"lastModifiedAt": "2015-05-28T07:19:38.624Z"
79+
"lastModifiedAt": "2015-05-28T07:19:38.624Z",
80+
"attributes": []
7981
}
8082
]
8183
}

api-specs/api/examples/product-type.example.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"en": "The right size is important."
1515
},
1616
"isRequired": false,
17-
"attributeConstraint": "CombinationUnique"
17+
"attributeConstraint": "CombinationUnique",
18+
"level": "Variant"
1819
}],
1920
"createdAt": "1970-01-01T00:00:00.001Z",
2021
"lastModifiedAt": "1970-01-01T00:00:00.001Z"

api-specs/api/examples/product-types.example.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"en": "The right size is important."
2121
},
2222
"isRequired": false,
23-
"attributeConstraint": "CombinationUnique"
23+
"attributeConstraint": "CombinationUnique",
24+
"level": "Variant"
2425
}],
2526
"createdAt": "1970-01-01T00:00:00.001Z",
2627
"lastModifiedAt": "1970-01-01T00:00:00.001Z"
@@ -41,7 +42,8 @@
4142
"en": "The right color is important."
4243
},
4344
"isRequired": false,
44-
"attributeConstraint": "CombinationUnique"
45+
"attributeConstraint": "CombinationUnique",
46+
"level": "Variant"
4547
}],
4648
"createdAt": "1970-01-01T00:00:00.001Z",
4749
"lastModifiedAt": "1970-01-01T00:00:00.001Z"

api-specs/api/examples/product-with-image-processing-warning.example.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
"en": "mb-premium-tech-t1369226795424"
4545
},
4646
"variants": [],
47-
"searchKeywords": {}
47+
"searchKeywords": {},
48+
"attributes": []
4849
},
4950
"hasStagedChanges": false,
5051
"published": true,
@@ -90,7 +91,8 @@
9091
"en": "mb-premium-tech-t1369226795424"
9192
},
9293
"variants": [],
93-
"searchKeywords": {}
94+
"searchKeywords": {},
95+
"attributes": []
9496
}
9597
},
9698
"productType": {

api-specs/api/examples/product.example.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
"en": "mb-premium-tech-t1369226795424"
4545
},
4646
"variants": [],
47-
"searchKeywords": {}
47+
"searchKeywords": {},
48+
"attributes": []
4849
},
4950
"hasStagedChanges": false,
5051
"published": true,
@@ -90,7 +91,8 @@
9091
"en": "mb-premium-tech-t1369226795424"
9192
},
9293
"variants": [],
93-
"searchKeywords": {}
94+
"searchKeywords": {},
95+
"attributes": []
9496
}
9597
},
9698
"productType": {

api-specs/api/examples/products.example.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
"en": "mb-premium-tech-t1369226795424"
5050
},
5151
"variants": [],
52-
"searchKeywords": {}
52+
"searchKeywords": {},
53+
"attributes": []
5354
},
5455
"hasStagedChanges": false,
5556
"published": true,
@@ -95,7 +96,8 @@
9596
"en": "mb-premium-tech-t1369226795424"
9697
},
9798
"variants": [],
98-
"searchKeywords": {}
99+
"searchKeywords": {},
100+
"attributes": []
99101
}
100102
},
101103
"productType": {

0 commit comments

Comments
 (0)