Fluent Commerce Logo
Docs
Sign In

REFUND_ENABLED

Setting

Changed on:

24 Jan 2024

Setting AreaUI component, Workflow, Orders
Supported context levels:RETAILER

Overview

This setting is used for the rest APIs and is used to store the conditions to create a return order/process. During a return process, if the return type is 'cannot_fulfil' or 'cancellation', then the system checks this setting value and if the value is TRUE then the system allows creation of return.

Values

Data TypeValues
BOOLEAN

Default Values:

  • FALSE

Possible Values:

  • TRUE
  • FALSE

Configuration example

1POST: {{fluentApiHost}}/graphql
2
3
4GraphQL Query:
5mutation CreateSetting {
6createSetting(input: {
7		name: "REFUND_ENABLED", 
8		valueType: "BOOLEAN", 
9		value: "TRUE", 
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: "REFUND_ENABLED", 
7		valueType: "BOOLEAN", 
8		value:"FALSE", 
9		context: "RETAILER", 
10		contextId: 1}) {
11    id
12    name
13  }
14}
15

Language: graphqlschema

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