Fluent Commerce Logo
Docs
Sign In

ORDER_EXPIRY_TIME

Setting

Changed on:

23 Aug 2023

Setting AreaWorkflow, Orders
Supported context levels:RETAILER

Overview

This setting stores the default value of the expiry time for the fulfilment of an and is used by ScheduleFulilmentExpiry .The gets the expiry time from the . If the value is not supplied in the then the takes the value from this setting. During actual execution of the , once the time limit reaches, the should expire. This setting is used by clients that are not on the platform.

Values

Data TypeValues
INTEGER

INTEGER=1,2,3...

Configuration example

1POST: {{fluentApiHost}}/graphql
2
3
4GraphQL Query:
5mutation CreateSetting {
6createSetting(input: {
7		name: "ORDER_EXPIRY_TIME", 
8		valueType: "INTEGER", 
9		value: 1, 
10		context: "RETAILER", 
11		contextId:1}) {
12    id
13    name
14  }
15}

Update example

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