COLLECTION_EXPIRY_TIME
Changed on:
18 Aug 2023
Setting Area | Workflow, Orders |
---|---|
Supported context levels: | RETAILER |
Overview
This setting is used to store the number of days a parcel remains available for collection once it is ready to pick up from the store. This is used for accounts where settings RUBIX_ENABLED is FALSE for 'Click and Collect' orders. The default value is 7 days. During the execution of the orders, there is a cron job that checks all the articles that are updated in the last 7 days and generates an event to expire those articles.
Values
Data Type | Values |
---|---|
INTEGER | Default Values:
Possible Values:
|
Configuration example
1POST: {{fluentApiHost}}/graphql
2
3
4GraphQL Query:
5mutation CreateSetting {
6createSetting(input: {
7 name: "COLLECTION_EXPIRY_TIME",
8 valueType: "INTEGER",
9 value: 1,
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: "COLLECTION_EXPIRY_TIME",
7 valueType: "INTEGER",
8 value: 2,
9 context: "RETAILER",
10 contextId: 1}) {
11 id
12 name
13 }
14}
15
Language: graphqlschema