Get Retro Requests

Retrieves the transaction retro requests of the customer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Example request

curl --location 'https://eu.api.capillarytech.com/v2/customers/565032200/retroRequest?changeType=RETRO' \
--header 'Authorization: Basic bWFkajU2YQ==' \
--header 'Cookie: _cfuvid=Lnq8NOofFCcTsbLTTg8SIfFKr1Kgqe36yiCcgK9e_.8-1762161511381-0.0.1.1-604800000'

Resource information

URIv2/customers/lookup/retroRequest
HTTP methodGET
Pagination supportedYes
Rate LimitDemo and testing clusters: 1000 requests per minute per API key. Other organizations: Rate limit is brand-specific.
Batch supportNA

Example response

{
    "pagination": {
        "limit": 10,
        "offset": 0,
        "total": 3
    },
    "data": [
        {
            "id": 38959,
            "status": "PENDING",
            "addedBy": {
                "id": 75155295,
                "code": "sant.p_123",
                "description": "",
                "name": "sant.p_123",
                "type": "TILL",
                "referenceId": -1,
                "adminType": "GENERAL",
                "isActive": true,
                "isOuEnabled": false,
                "timeZoneId": 191,
                "currencyId": 95,
                "languageId": 148,
                "default": false
            },
            "addedByParent": {
                "id": 75152715,
                "code": "doc123",
                "description": "",
                "name": "DocStore",
                "type": "STORE",
                "referenceId": -1,
                "adminType": "GENERAL",
                "isActive": true,
                "isOuEnabled": false,
                "timeZoneId": 191,
                "currencyId": 95,
                "languageId": 148,
                "default": false
            },
            "updatedBy": {
                "id": 75155295,
                "code": "sant.p_123",
                "description": "",
                "name": "sant.p_123",
                "type": "TILL",
                "referenceId": -1,
                "adminType": "GENERAL",
                "isActive": true,
                "isOuEnabled": false,
                "timeZoneId": 191,
                "currencyId": 95,
                "languageId": 148,
                "default": false
            },
            "addedOn": "2025-05-02T11:53:46Z",
            "updatedOn": "2025-05-02T11:53:46Z",
            "userId": 565032200,
            "requestId": 13048217,
            "baseType": "RETRO",
            "reason": "",
            "comments": "",
            "transactionId": 323391839,
            "warnings": [],
            "reqAdd": true,
            "oneStep": false
        },
        {
            "id": 38256,
            "status": "PENDING",
            "addedBy": {
                "id": 75155295,
                "code": "sant.p_123",
                "description": "",
                "name": "sant.p_123",
                "type": "TILL",
                "referenceId": -1,
                "adminType": "GENERAL",
                "isActive": true,
                "isOuEnabled": false,
                "timeZoneId": 191,
                "currencyId": 95,
                "languageId": 148,
                "default": false
            },
            "addedByParent": {
                "id": 75152715,
                "code": "doc123",
                "description": "",
                "name": "DocStore",
                "type": "STORE",
                "referenceId": -1,
                "adminType": "GENERAL",
                "isActive": true,
                "isOuEnabled": false,
                "timeZoneId": 191,
                "currencyId": 95,
                "languageId": 148,
                "default": false
            },
            "updatedBy": {
                "id": 75155295,
                "code": "sant.p_123",
                "description": "",
                "name": "sant.p_123",
                "type": "TILL",
                "referenceId": -1,
                "adminType": "GENERAL",
                "isActive": true,
                "isOuEnabled": false,
                "timeZoneId": 191,
                "currencyId": 95,
                "languageId": 148,
                "default": false
            },
            "addedOn": "2025-04-02T04:49:06Z",
            "updatedOn": "2025-04-02T04:49:06Z",
            "userId": 565032200,
            "requestId": 13019491,
            "baseType": "RETRO",
            "reason": "",
            "comments": "",
            "transactionId": 323274585,
            "warnings": [],
            "reqAdd": true,
            "oneStep": false
        },
        {
            "id": 38236,
            "status": "PENDING",
            "addedBy": {
                "id": 75155295,
                "code": "sant.p_123",
                "description": "",
                "name": "sant.p_123",
                "type": "TILL",
                "referenceId": -1,
                "adminType": "GENERAL",
                "isActive": true,
                "isOuEnabled": false,
                "timeZoneId": 191,
                "currencyId": 95,
                "languageId": 148,
                "default": false
            },
            "addedByParent": {
                "id": 75152715,
                "code": "doc123",
                "description": "",
                "name": "DocStore",
                "type": "STORE",
                "referenceId": -1,
                "adminType": "GENERAL",
                "isActive": true,
                "isOuEnabled": false,
                "timeZoneId": 191,
                "currencyId": 95,
                "languageId": 148,
                "default": false
            },
            "updatedBy": {
                "id": 75155295,
                "code": "sant.p_123",
                "description": "",
                "name": "sant.p_123",
                "type": "TILL",
                "referenceId": -1,
                "adminType": "GENERAL",
                "isActive": true,
                "isOuEnabled": false,
                "timeZoneId": 191,
                "currencyId": 95,
                "languageId": 148,
                "default": false
            },
            "addedOn": "2025-04-01T09:03:20Z",
            "updatedOn": "2025-04-01T09:03:20Z",
            "userId": 565032200,
            "requestId": 13018738,
            "baseType": "RETRO",
            "reason": "",
            "comments": "",
            "transactionId": 323271072,
            "warnings": [],
            "reqAdd": true,
            "oneStep": false
        }
    ],
    "warnings": [],
    "errors": []
}

Response Parameters

ParameterDescription
pagination.limitMaximum number of records returned per page (default: 10)
pagination.offsetNumber of records skipped from the beginning
pagination.totalTotal count of available retro requests
data idUnique ID of the retro request
-statusCurrent status (e.g., "PENDING")
-addedByContains details of staff/user who created the request
-addedByParentContains parent entity details (e.g., store)
-updatedByContains details of last updater
-addedOnTimestamp when request was created (ISO 8601 format)
-updatedOnTimestamp when request was last updated
-userIdCustomer ID associated with the request
-requestIdUnique transaction request ID
-baseTypeAlways "RETRO" for retro requests
-transactionIdOriginal transaction ID being retro-tagged
-reqAddBoolean indicating if request is additive
-oneStepBoolean indicating one-step processing status
📘

Retro transaction is conversion of non-member transactions to a loyalty transaction by tagging a previous transaction of a customer (once registered).

  • You can enable retro transaction for the org with CONF_RETRO_TRANSACTION_ENABLE on the Billing configuration page. That is, InTouch > Settings > Systems & Deployment > InTouch PoS Configuration > Billing.
  • Check the following configurations for maximum days allowed and minimum time limit required after customer registration to tag a not-interested transaction to that customer.
    • CONF_CLIENT_RETRO_MAX_ALLOWED_AGE_DAYS
    • CONF_CLIENT_RETRO_DELAY_SINCE_REGISTRATION_HOURS

API specific Error code

Error CodeDescriptionReason
9050Request not foundInvalid or unsupported customer Id
Query Params
string
enum

Filters retro transaction requests. Only RETRO is applicable here.

Allowed:
date

Filter results by date-range. Pass the start date in either 8601 format (YYYY-MM-DDTHH:MM:SSZ) or the local time format with timezone (YYYY-MM-DD at HH:MM:SS IST)

date

Filter results by date-range. Pass the end date in YYYY-MM-DD format.

int64

Filter results by sequence ID (sequence in which a change happened). For example, get lists from startId 200

int64

Filter results by sequence ID (sequence in which a change happened). For example, get lists from startId 200 until endId 400.

int64

Specifies the number of initial records to skip in the results.

int32

Pass the number of results that you want to see.

string

Specifies the starting record index for pagination

Response

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json