Changed on:
24 Jan 2024
Setting Area | UI component, Workflow, Orders |
---|---|
Supported context levels: | RETAILER |
If the return destination is not provided to the workflow, then the rule will look for the default return destination stored in this setting.
The value in this setting will be used to populate the
`destination location`
A field may optionally send in its destination location for custom returns solutions when submitting the user action. The setting will serve as a fallback value if the field does not provide a destination location (which the reference solution does not)
See destinationLocation in the
`CreateReturnOrder`
Data Type | Values |
---|---|
STRING | Example Value:
|
1POST: {{fluentApiHost}}/graphql
2
3
4GraphQL Query:
5mutation CreateSetting {
6createSetting(input: {
7 name: "DEFAULT_RETURN_DESTINATION_LOCATION",
8 valueType: "STRING",
9 value: "LOC_SYD",
10 context: "RETAILER",
11 contextId:1}) {
12 id
13 name
14 }
15}
Language: json
1POST {{fluentApiHost}}/graphql
2
3mutation updateSetting {
4 updateSetting(input: {
5 id: 5001464,
6 name: "DEFAULT_RETURN_DESTINATION_LOCATION",
7 valueType: "STRING",
8 value:"LOC_MELB",
9 context: "RETAILER",
10 contextId: 1}) {
11 id
12 name
13 }
14}
15
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.