Picklist batch presets
When creating picklist batches, you can provide the filters in the request or you can use a preset. Presets are handy when you have a lot of filters or you want your order pickers to use the same filters every time.
Creating a preset can be done in the web interface. Via the API you can retrieve the current presets.
Attributes
| Name | Type | Description |
|---|---|---|
| idpicklist_batch_preset | integer | Unique Picqer reference |
| name | string | The name you gave the preset |
| active | boolean | Whether the preset is active. Inactive presets are not used in wizards or forms in Picqer. |
| picklists_count | integer | Amount of picklists that match the filters in the preset (only in the detailed response) |
Get all presets
By default, only active presets are returned. Use the inactive filter to retrieve inactive presets instead.
GET
https://example.picqer.com/api/v1/picklists/batches/presets
HTTP/1.1 200 OK
[
{
"idpicklist_batch_preset": 823467,
"name": "All singles zone A",
"active": true
},
{
"idpicklist_batch_preset": 827321,
"name": "Zone B-E",
"active": true
}
]
This endpoint uses pagination.
Filters
You can filter the presets with the following parameter. Add it as a querystring parameter to the URL.
| Attribute | Description | Example |
|---|---|---|
| inactive | When set to true, returns only inactive presets instead of active ones. Defaults to false. | true |
Get single preset
Both active and inactive presets can be retrieved by id.
GET
https://example.picqer.com/api/v1/picklists/batches/presets/{idpicklist_batch_preset}
HTTP/1.1 200 OK
{
"idpicklist_batch_preset": 823467,
"name": "All singles zone A",
"active": true,
"picklists_count": 2
}

