Changed on:
24 Oct 2023
Setting Area | UI component, Workflow, Orders |
---|---|
Supported context levels: | GLOBAL RETAILER |
This setting is used to describe the Payment Currencies used by the Account
Data Type | Values |
---|---|
JSON | Sample Values:
|
1POST {{fluentApiHost}}/graphql
2
3
4// GLOBAL Level
5mutation {
6createSetting(input:
7{
8name: "PAYMENT.CURRENCY",
9lobValue: [{name:"AUD"},{name:"NZD"}],
10context: "GLOBAL",
11contextId: 0,
12valueType: "JSON"
13}){
14id
15}}
16
17
18//Retailer Level
19mutation {
20createSetting(input:
21{
22name: "PAYMENT.CURRENCY",
23lobValue: [{name:"AUD"},{name:"NZD"}],
24context: "RETAILER",
25contextId: 123,
26valueType: "JSON"
27}){
28id
29}}
30
31
32
Language: graphqlschema
1POST {{fluentApiHost}}/graphql
2
3// Global level
4mutation updateSetting {
5 updateSetting(input: {
6 name: "PAYMENT.CURRENCY",
7 valueType: "JSON",
8 lobValue:[{name:"AUD"},{name:"NZD"},{name:"USD"}],
9 context: "GLOBAL",
10 id: 5001464,
11 contextId: 0}) {
12 id
13 name
14 }
15}
16
17
18//Retailer Level
19mutation updateSetting {
20 updateSetting(input: {
21 name: "PAYMENT.CURRENCY",
22 valueType: "JSON",
23 lobValue:[{name:"AUD"},{name:"NZD"},{name:"USD"}],
24 context: "RETAILER",
25 id: 5001464,
26 contextId: 123}) {
27 id
28 name
29 }
30}
Language: json
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.