Handling
Handling
List all order handlings
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
| ENUM | Description |
|---|---|
| ASC | Sort in ascending order |
| DESC | Sort in descending order |
Example response
GET /v2/tenants/{tenantUid}/handlings HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"items": [
{
"active": true,
"createdAt": "2025-10-30T21:07:16.103Z",
"createdBy": "text",
"description": "text",
"handlingUid": "text",
"lastModifiedAt": "2025-10-30T21:07:16.103Z",
"lastModifiedBy": "text",
"name": "text",
"triggers": [
{
"active": true,
"trigger": "AUTO_PRINT_PICKUP_LABEL",
"state": "NOT_STARTED",
"value": "text",
"handlingTriggerUid": "text"
}
]
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}Create a new order handling.
Required permission: TENANT.ACCESS
Reference to a tenant.
^[A-Za-z0-9-_]+Example response
POST /v2/tenants/{tenantUid}/handlings HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 71
{
"handlingUid": "text",
"active": true,
"description": "text",
"name": "text"
}Example response
{
"active": true,
"createdAt": "2025-10-30T21:07:16.103Z",
"createdBy": "text",
"description": "text",
"handlingUid": "text",
"lastModifiedAt": "2025-10-30T21:07:16.103Z",
"lastModifiedBy": "text",
"name": "text",
"triggers": [
{
"active": true,
"trigger": "AUTO_PRINT_PICKUP_LABEL",
"state": "NOT_STARTED",
"value": "text",
"handlingTriggerUid": "text"
}
]
}Get handling details
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+Example response
GET /v2/tenants/{tenantUid}/handlings/{handlingUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"active": true,
"createdAt": "2025-10-30T21:07:16.103Z",
"createdBy": "text",
"description": "text",
"handlingUid": "text",
"lastModifiedAt": "2025-10-30T21:07:16.103Z",
"lastModifiedBy": "text",
"name": "text",
"triggers": [
{
"active": true,
"trigger": "AUTO_PRINT_PICKUP_LABEL",
"state": "NOT_STARTED",
"value": "text",
"handlingTriggerUid": "text"
}
]
}Update handling details
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+Request for creating or updating an orderhandling
Example response
PUT /v2/tenants/{tenantUid}/handlings/{handlingUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"active": true,
"description": "text",
"name": "text"
}Example response
{
"active": true,
"createdAt": "2025-10-30T21:07:16.103Z",
"createdBy": "text",
"description": "text",
"handlingUid": "text",
"lastModifiedAt": "2025-10-30T21:07:16.103Z",
"lastModifiedBy": "text",
"name": "text",
"triggers": [
{
"active": true,
"trigger": "AUTO_PRINT_PICKUP_LABEL",
"state": "NOT_STARTED",
"value": "text",
"handlingTriggerUid": "text"
}
]
}Delete an handling
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+No Content
No content
DELETE /v2/tenants/{tenantUid}/handlings/{handlingUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No Content
No content
List handling triggers
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
| ENUM | Description |
|---|---|
| ASC | Sort in ascending order |
| DESC | Sort in descending order |
Example response
GET /v2/tenants/{tenantUid}/handlings/{handlingUid}/triggers HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"items": [
{
"active": true,
"trigger": "AUTO_PRINT_PICKUP_LABEL",
"state": "NOT_STARTED",
"value": "text",
"handlingTriggerUid": "text"
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}Add a trigger to a handling
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+| ENUM | Description |
|---|---|
| AUTO_PRINT_PICKUP_LABEL | Auto-print pickup labels when order is parked or confirmed |
| SET_EXPIRY_DATE | Set expiry date on order |
^[A-Za-z0-9-_]+Example response
POST /v2/tenants/{tenantUid}/handlings/{handlingUid}/triggers HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 116
{
"active": true,
"trigger": "AUTO_PRINT_PICKUP_LABEL",
"state": "NOT_STARTED",
"value": "text",
"handlingTriggerUid": "text"
}Example response
{
"active": true,
"trigger": "AUTO_PRINT_PICKUP_LABEL",
"state": "NOT_STARTED",
"value": "text",
"handlingTriggerUid": "text"
}Get handling trigger details
Get handling trigger details
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+Reference to a handlingTriggerUid
^[A-Za-z0-9-_]+Example response
GET /v2/tenants/{tenantUid}/handlings/{handlingUid}/triggers/{handlingTriggerUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"active": true,
"trigger": "AUTO_PRINT_PICKUP_LABEL",
"state": "NOT_STARTED",
"value": "text",
"handlingTriggerUid": "text"
}Update handling trigger details
Update handling trigger details
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+Reference to a handlingTriggerUid
^[A-Za-z0-9-_]+| ENUM | Description |
|---|---|
| AUTO_PRINT_PICKUP_LABEL | Auto-print pickup labels when order is parked or confirmed |
| SET_EXPIRY_DATE | Set expiry date on order |
^[A-Za-z0-9-_]+Example response
PUT /v2/tenants/{tenantUid}/handlings/{handlingUid}/triggers/{handlingTriggerUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 116
{
"active": true,
"trigger": "AUTO_PRINT_PICKUP_LABEL",
"state": "NOT_STARTED",
"value": "text",
"handlingTriggerUid": "text"
}Example response
{
"active": true,
"trigger": "AUTO_PRINT_PICKUP_LABEL",
"state": "NOT_STARTED",
"value": "text",
"handlingTriggerUid": "text"
}Delete a handling trigger
Delete a handling trigger
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+Reference to a handlingTriggerUid
^[A-Za-z0-9-_]+No Content
No content
DELETE /v2/tenants/{tenantUid}/handlings/{handlingUid}/triggers/{handlingTriggerUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No Content
No content
List Handling actions
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
| ENUM | Description |
|---|---|
| ASC | Sort in ascending order |
| DESC | Sort in descending order |
Reference to a store uid.
^[A-Za-z0-9-_]+Example response
GET /v2/tenants/{tenantUid}/handlings/{handlingUid}/actions HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"items": [
{
"active": true,
"allowComment": true,
"name": "text",
"storeUid": "text",
"createdAt": "2025-10-30T21:07:16.103Z",
"createdBy": "text",
"handlingActionUid": "text",
"lastModifiedAt": "2025-10-30T21:07:16.103Z",
"lastModifiedBy": "text"
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}Create new handling action
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+^[A-Za-z0-9-_]+^[A-Za-z0-9-_]+Example response
POST /v2/tenants/{tenantUid}/handlings/{handlingUid}/actions HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 94
{
"handlingActionUid": "text",
"active": true,
"allowComment": true,
"name": "text",
"storeUid": "text"
}Example response
{
"active": true,
"allowComment": true,
"name": "text",
"storeUid": "text",
"createdAt": "2025-10-30T21:07:16.103Z",
"createdBy": "text",
"handlingActionUid": "text",
"lastModifiedAt": "2025-10-30T21:07:16.103Z",
"lastModifiedBy": "text"
}Get handling action details
Get handling action details
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+Reference to an handling action id.
^[A-Za-z0-9-_]+Example response
GET /v2/tenants/{tenantUid}/handlings/{handlingUid}/actions/{handlingActionUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"active": true,
"allowComment": true,
"name": "text",
"storeUid": "text",
"createdAt": "2025-10-30T21:07:16.103Z",
"createdBy": "text",
"handlingActionUid": "text",
"lastModifiedAt": "2025-10-30T21:07:16.103Z",
"lastModifiedBy": "text"
}Update a handling action
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+Reference to an handling action id.
^[A-Za-z0-9-_]+^[A-Za-z0-9-_]*Example response
PUT /v2/tenants/{tenantUid}/handlings/{handlingUid}/actions/{handlingActionUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"active": true,
"allowComment": true,
"name": "text",
"storeUid": "text"
}Example response
{
"active": true,
"allowComment": true,
"name": "text",
"storeUid": "text",
"createdAt": "2025-10-30T21:07:16.103Z",
"createdBy": "text",
"handlingActionUid": "text",
"lastModifiedAt": "2025-10-30T21:07:16.103Z",
"lastModifiedBy": "text"
}Delete a handling action
Delete a handling action
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an handling id.
^[A-Za-z0-9-_]+Reference to an handling action id.
^[A-Za-z0-9-_]+No Content
No content
DELETE /v2/tenants/{tenantUid}/handlings/{handlingUid}/actions/{handlingActionUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No Content
No content
Last updated