Fluent Commerce Logo
Docs
Sign In

CUSTOM_PICK_LIST_SORT_CONFIG

Setting

Changed on:

20 Mar 2025

Setting AreaUI component
Supported context levels:RETAILER

Overview

This setting optimizes picklist sorting for efficient picking runs. Define sorting criteria like: Parent department (e.g., MEN), Child department (e.g., SHOES), and Category (e.g., Sneakers). Sorting by levels (1: Parent, 2: Child, 3: Category) helps staff pick items from the same area at once, reducing travel time between locations.

Values

Data TypeValues
JSON

{ "sort": [ { "field":"sku.attributes.parentDepartment", "order": "DESC"}, { "field":"sku.attributes.subdepartment" }, { "field":"category", "

Detailed technical description

Configuration example

1POST: {{fluentApiHost}}/graphql
2
3// create a postman environment variable:
4// Variable: json_value
5// initial val + current value: 
6{
7    "sort": [
8        { "field":"sku.attributes.subDepartment", "type": "string", "order": "DESC" },
9        { "field":"sku.attributes.total", "type": "number" }
10    ]
11}
12
13
14GraphQL variables:
15{
16	"retailerId": {{retailer_id}},
17    "lobValue" : {{json_value}}
18}
19
20
21GraphQL Query:
22mutation CreateSetting($retailerId:Int! , $lobValue:Json)  {
23createSetting(input: {
24		name: "CUSTOM_PICK_LIST_SORT_CONFIG", 
25		valueType: "JSON", 
26		lobValue:$lobValue , 
27		context: "RETAILER", 
28		contextId:$retailerId}) {
29    id
30    name
31  }
32}

Language: json

Update example

1POST: {{fluentApiHost}}/graphql
2
3// create a postman environment variable:
4// Variable: json_value
5// initial val + current value: 
6{
7    "sort": [
8        { "field":"sku.attributes.subDepartment", "type": "string", "order": "DESC" },
9        { "field":"sku.attributes.total", "type": "number" }
10    ]
11}
12
13
14GraphQL variables:
15{
16	"retailerId": {{retailer_id}},
17    "lobValue" : {{json_value}}
18}
19
20
21mutation updateSetting($retailerId:Int! , $lobValue:Json) {
22updateSetting(input: {
23        id: 5001471,
24		name: "CUSTOM_PICK_LIST_SORT_CONFIG", 
25		valueType: "JSON", 
26        lobValue: $lobValue,
27		context: "RETAILER", 
28		contextId: $retailerId}) {
29    id
30    name
31  }
32}
33
34

Language: json