Enable "Update Customer" UI mutation as User Action
How-to Guide
Author:
Fluent Commerce
Changed on:
19 Jan 2024
Key Points
- enable updateCustomer on the UI via manifest modifications
Steps
update Setting
Go to setting:
`fc.mystique.manifest.oms.fragment.ordermanagement `
1"actions": {
2 "primary": [
3 {
4 "type": "mutation",
5 "label": "Update Customer",
6 "name": "updateCustomer",
7 "args": {
8 "ref": "{{customerById.username}}"
9 }
10 }
11 ]
12 },
13
Language: json
Name: code snippet for enable updateCustomer
Description:
[Warning: empty required content area]
test the change
After saving the change, refresh the screen and go to a customer detail page. The user is now able to update the customer over the UI:
