GEOCODER.API
Setting
Changed on:
15 Jan 2024
Setting Area | Workflow, Orders |
---|---|
Supported context levels: | RETAILER |
Overview
This setting is used to store the API Key to send an address and get back the longitude and latitude values.
Values
Data Type | Values |
---|---|
STRING | API Key |
Configuration example
1POST: {{fluentApiHost}}/graphql
2
3
4GraphQL Query:
5mutation CreateSetting {
6createSetting(input: {
7 name: "GEOCODER.API",
8 valueType: "STRING",
9 value: "XXXXXXXXXXXXXXXXX",
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: "GEOCODER.API",
7 valueType: "STRING",
8 value: "XXXXXXXXXXXXXXXXX",
9 context: "RETAILER",
10 contextId: 1}) {
11 id
12 name
13 }
14}
15
Language: graphqlschema