Author:
Fluent Commerce
Changed on:
13 Dec 2023
A Comment provides an additional piece of information to the entity it is related to. An Order can contain multiple comments associated with it.
To configure "Add Comment" mutation add the following code:
1{"actions": {
2 "secondary": [ {
3 "type": "mutation",
4 "label": "i18n:fc.om.orders.detail.userAction.addComment",
5 "name": "createComment",
6 "overrides": {
7 "entityId": {
8 "defaultValue": "{{orderById.id}}"
9 },
10 "entityType": {
11 "defaultValue": "i18n:fc.om.orders.index.userAction.entityType.order"
12 }
13 }
14 }
15 ]
16}
17}
Language: json
Name: Example
Description:
[Warning: empty required content area]Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.