List the post-settlement tasks on a receipt
List the post-settlement tasks on a receipt in complete form, including the full attempt history. Use this to inspect why a task failed before retrying.
Set waitSeconds to long poll: the response is held until every task has reached a final state (COMPLETE, FAILED or SKIPPED), or until the wait runs out, whichever comes first. The tasks are returned in their state at that moment. Without waitSeconds, or with 0, the response returns immediately.
Required permissions: SALES_ORDER,RETURN_ORDER
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Store.
^[A-Za-z0-9-_]+Reference to a Receipt.
^[A-Za-z0-9-_]+How many seconds to wait for every task to reach a final state before returning. 0 or omitted returns immediately. Maximum 60.
The post-settlement tasks on a receipt.
GET /v2/tenants/{tenantUid}/stores/{storeUid}/receipts/{receiptUid}/tasks HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
The post-settlement tasks on a receipt.
{
"items": [
{
"orderReceiptTaskUid": "text",
"taskType": "LOYALTY_POINTS_SYNC",
"status": "PENDING",
"attempts": [
{
"attempt": 1,
"timestamp": "2026-01-01T00:00:00.000Z",
"triggeredBy": "text",
"trigger": "text",
"outcome": "text",
"error": "text",
"response": "text",
"requestId": "text"
}
],
"createdAt": "2026-01-01T00:00:00.000Z",
"lastModifiedAt": "2026-01-01T00:00:00.000Z"
}
]
}Last updated
Was this helpful?

