Skip to content

Commit 6b11f6a

Browse files
authored
CHA-1259: change snake_case to camelCase (#1010)
1 parent 48ba72a commit 6b11f6a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

content/extensions/ui-extensions.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -284,24 +284,24 @@ Data sent within the POST body, formatted in JSON, contains :
284284
- A `timestamp` that can be used with a [secret](#secret) to help you to protect your server against [replay attacks](https://en.wikipedia.org/wiki/Replay_attack).
285285

286286
From a position `pim.product.header`, the `data` object contains :
287-
- A `product_uuid` string field
287+
- A `productUuid` string field
288288

289289
From a position `pim.product-model.header`, the `data` object contains :
290-
- A `product_model_code` string field representing the root model code.
290+
- A `productModelCode` string field representing the root model code.
291291

292292
From a position `pim.sub-product-model.header`, the `data` object contains :
293-
- A `product_model_code` string field representing the sub model code.
293+
- A `productModelCode` string field representing the sub model code.
294294

295295
From a position `pim.product-grid.action-bar`, the `data` object contains :
296-
- A `product_uuids` field which is an array of string representing the UUIDs of selected products
297-
- A `product_model_codes` field which is an array of string representing the codes of selected product models and sub models
296+
- A `productUuids` field which is an array of string representing the UUIDs of selected products
297+
- A `productModelCodes` field which is an array of string representing the codes of selected product models and sub models
298298

299299
Examples :
300300

301301
```json
302302
{
303303
"data": {
304-
"product_uuid": "ecfddba2-59bf-4d35-bd07-8ceeefde51fd"
304+
"productUuid": "ecfddba2-59bf-4d35-bd07-8ceeefde51fd"
305305
},
306306
"context": {
307307
"locale": "en_US",
@@ -321,8 +321,8 @@ Examples :
321321
```json
322322
{
323323
"data": {
324-
"product_uuids": [],
325-
"product_model_codes": ["armor", "apollon"]
324+
"productUuids": [],
325+
"productModelCodes": ["armor", "apollon"]
326326
},
327327
"context": {
328328
"locale": "en_US",

0 commit comments

Comments
 (0)