Fluent Commerce Logo
Docs
Sign In

Updating customer UI mutation

How-to Guide

Author:

Fluent Commerce staff

Changed on:

12 Feb 2024

Key Points

  • This guide covers the required steps to enable customer modification via the UI
No alt text provided

Steps

Instructions

Step arrow right iconModify the setting

Go to setting: fc.mystique.manifest.oms.fragment.ordermanagement and add this following code in customers page:

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                        },

Language: json

Name: setting modification"actions": { "primary": [ { "type": "mutation", "label": "Update Customer", "name": "updateCustomer", "args": { "ref": "{{customerById.username}}" } } ] },

Description:

[Warning: empty required content area]
No alt provided

Step arrow right iconVerify that the UI is updated

After saving the change,  refresh the screen and go to customer detail page. User is now able to update customer over the UI.

Fluent Commerce staff

Fluent Commerce staff

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.

Fluent Logo