Fluent Commerce Logo
Docs
Sign In

ORDER_ADDRESS_VALIDATION_REQUIRED

Setting

Changed on:

18 Aug 2023

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

Overview

This setting is an additional check to the FETCH_USER_COORDINATE setting to decide the exception handler's behavior when the location is not available from all sources. If the location is neither provided within the order and nor fetched from the Google API then the system checks for this flag and if it is set to TRUE then the order is failed.

Values

Data TypeValues
BOOLEAN

Default Values:

  • TRUE

Possible Values:

  • TRUE
  • FALSE

Configuration example

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

Language: graphqlschema