MAJOR_ADDRESS_CHANGE_FIELDS
Changed on:
15 Jan 2024
Setting Area | Workflow, Orders |
---|---|
Supported context levels: | RETAILER |
Overview
Enables the change delivery address feature. Users can configure major field changes such as cancellation of a fulfilment. Once delivery address change request is received by user action based event in Order workflow we evaluate whether it is a significant Address change.
This is decided based on
`MAJOR_ADDRESS_CHANGE_FIELDS`
Ensure that
`ChangeOrderDeliveryAddress`
`EvaluateFulfilmentsForAddressChange`
Values
Data Type | Values |
---|---|
JSON | sample values:
|
Configuration example
1POST: {{fluentApiHost}}/graphql
2
3
4GraphQL Query:
5mutation CreateSetting {
6createSetting(input: {
7 name: "MAJOR_ADDRESS_CHANGE_FIELDS",
8 valueType: "JSON",
9 value: [{name:"Postcode"},{name:"State"}],
10 context: "RETAILER",
11 contextId:1}) {
12 id
13 name
14 }
15}
Language: graphqlschema
Update example
1POST {{fluentApiHost}}/graphql
2
3mutation updateSetting {
4 updateSetting(input: {
5 id: 5001464,
6 name: "MAJOR_ADDRESS_CHANGE_FIELDS",
7 valueType: "JSON",
8 value: [{name:"Postcode"},{name:"State"}],
9 context: "RETAILER",
10 contextId: 1}) {
11 id
12 name
13 }
14}
15
Language: graphqlschema