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-29T08:22:08.709Z",
"createdBy": "text",
"description": "text",
"handlingUid": "text",
"lastModifiedAt": "2025-10-29T08:22:08.709Z",
"lastModifiedBy": "text",
"name": "text",
"triggers": [
{
"active": true,
"trigger": "PUSHMESSAGE_ON_CREATE"
}
]
}
],
"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: 134
{
"handlingUid": "text",
"active": true,
"description": "text",
"name": "text",
"triggers": [
{
"active": true,
"trigger": "PUSHMESSAGE_ON_CREATE"
}
]
}Example response
{
"active": true,
"createdAt": "2025-10-29T08:22:08.709Z",
"createdBy": "text",
"description": "text",
"handlingUid": "text",
"lastModifiedAt": "2025-10-29T08:22:08.709Z",
"lastModifiedBy": "text",
"name": "text",
"triggers": [
{
"active": true,
"trigger": "PUSHMESSAGE_ON_CREATE"
}
]
}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-29T08:22:08.709Z",
"createdBy": "text",
"description": "text",
"handlingUid": "text",
"lastModifiedAt": "2025-10-29T08:22:08.709Z",
"lastModifiedBy": "text",
"name": "text",
"triggers": [
{
"active": true,
"trigger": "PUSHMESSAGE_ON_CREATE"
}
]
}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: 113
{
"active": true,
"description": "text",
"name": "text",
"triggers": [
{
"active": true,
"trigger": "PUSHMESSAGE_ON_CREATE"
}
]
}Example response
{
"active": true,
"createdAt": "2025-10-29T08:22:08.709Z",
"createdBy": "text",
"description": "text",
"handlingUid": "text",
"lastModifiedAt": "2025-10-29T08:22:08.709Z",
"lastModifiedBy": "text",
"name": "text",
"triggers": [
{
"active": true,
"trigger": "PUSHMESSAGE_ON_CREATE"
}
]
}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 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-29T08:22:08.709Z",
"createdBy": "text",
"handlingActionUid": "text",
"lastModifiedAt": "2025-10-29T08:22:08.709Z",
"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-29T08:22:08.709Z",
"createdBy": "text",
"handlingActionUid": "text",
"lastModifiedAt": "2025-10-29T08:22:08.709Z",
"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-29T08:22:08.709Z",
"createdBy": "text",
"handlingActionUid": "text",
"lastModifiedAt": "2025-10-29T08:22:08.709Z",
"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-29T08:22:08.709Z",
"createdBy": "text",
"handlingActionUid": "text",
"lastModifiedAt": "2025-10-29T08:22:08.709Z",
"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
Was this helpful?