Fluent Commerce Logo
Docs
Sign In

Changed on:

16 Aug 2023

Setting AreaWorkflow, Orders
Supported context levels:RETAILER

Overview

Tax Setting to declare the GST percentage value for return calculation.


Values

Data TypeValues
STRING

sample value of 10%:

  • 0.1 

Configuration example

1POST {{fluentApiHost}}/graphql
2
3mutation CreateSetting {
4   createSetting(input: {
5		name: "GST", 
6		valueType: "STRING", 
7		value: "0.1", 
8		context: "RETAILER", 
9		contextId: 1}) {
10    id
11    name
12  }
13}

Language: json

Update example

1POST {{fluentApiHost}}/graphql
2
3mutation updateSetting {
4  updateSetting(input: {
5		id: 5001464,
6		name: "GST", 
7		valueType: "STRING", 
8		value:"0.1", 
9		context: "RETAILER", 
10		contextId: 1}) {
11    id
12    name
13  }
14}
15

Language: json