Retrieve Request Status using ID

Allows you to retrieve status of Customer Merge or Transaction requests.

Transaction Request Status Details

ActionRequest statusTransaction status in Member care /
Customer / Tag transaction
Capillary receives a transaction requestPENDINGPENDING
Capillary rejects the transaction requestREJECTEDREJECTED
Capillary approves the transaction requestSUCCESSSUCCESS
Transaction request failedFAILUREFAILURE

API Endpoint Example

https://eu.api.capillarytech.com/v2/requests/13029191

Prerequisites

  • Authentication - Basic or OAuth authentication
  • Access group resource - Read permission on Requests resource group

Resource information

URIv2/requests/{id}
HTTP methodGET
Pagination supported?Yes
Rate limitNA
Batch supportYes

Request Path Parameters

Parameters (Parameters marked with * are mandatory)Data TypeDescription
id*LongUnique identifier of the request, generated during the POST call to add the request.
curl --location 'https://eu.api.capillarytech.com/v2/requests/13029191' \
--header 'Authorization: Basic ZGl2TdlYTI0YTYyZTZm' \
--header 'Cookie: _cfuvid=EWw7Wfz8Ouj54ZVF2cPldbObmSaOCCsfBD._qxSWZoM-1744468652196-0.0.1.1-604800000'
curl --location 'https://eu.api.capillarytech.com/v2/requests/1778080' \
--header 'Authorization: Basic YXV0b3WI5NjRiMDcxNTJkMjM0Yjcw'
curl --location 'https://eu.api.capillarytech.com/v2/requests/1778080' \
--header 'Authorization: Basic YXV0b3NjRiMDcxNTJkMjM0Yjcw'

Response Parameters for Transaction Request

ParameterDescription
typeThe type of the transaction, in this case, "TRANSACTION."
baseTypeThe base type of the transaction, in this case, "REGULAR_TXN_ADD."
statusThe status of the transaction, e.g., "PENDING."
transactionContains details about the transaction, including delivery status, type, billing date, bill amount, etc.
imagesAn array of objects representing images related to the transaction.
customerContains information about the customer, including their ID, profiles, identifiers, etc.
attributionContains attribution details related to the transaction, such as createDate, createdBy, etc.
idThe unique request identifier for the transaction.
addedOnThe date and time when the transaction was added.
userIdThe unique identifier for the user associated with the transaction.
commentsAdditional comments or notes related to the transaction, e.g., "Test."
oneStepA boolean indicating whether the transaction involves a one-step process.
warningsAn array that may contain any warnings related to the operation, if applicable.
{
    "type": "TRANSACTION",
    "baseType": "REGULAR_TXN_ADD",
    "status": "PENDING",
    "transaction": {
        "deliveryStatus": "SHIPPED",
        "type": "REGULAR",
        "billAmount": 21.0,
        "billNumber": "4113667",
        "discount": 0.0,
        "grossAmount": 21.0,
        "note": "",
        "lineItemsV2": [
            {
                "amount": 10.5,
                "description": "PURINA TIDY CATS CAT LITTER STRONG CLUMPS FOR MULTIPLE CATS LOCKS AWAY ODORS BAG 40 POUND",
                "discount": 0.0,
                "itemCode": "ASN10000001",
                "qty": 1.0,
                "rate": 10.5,
                "returnable": true,
                "returnableDays": -1,
                "comboDetails": [],
                "addOnDetails": [],
                "splitDetails": []
            },
            {
                "amount": 10.5,
                "description": "Cat Chow",
                "discount": 0.0,
                "itemCode": "ASN10000001",
                "qty": 1.0,
                "rate": 10.5,
                "returnable": true,
                "returnableDays": -1,
                "comboDetails": [],
                "addOnDetails": [],
                "splitDetails": []
            }
        ],
        "customFields": {
            "added_on": "2022-12-10T11:58:18+05:30",
            "paymentmode": "abc",
            "vendor_name": "Walmart"
        },
        "notInterestedReason": "",
        "isUseDefaultUserGroup2": false,
        "paymentModes": [
            {
                "mode": "Cash",
                "value": 21.0,
                "notes": ""
            }
        ],
        "billingDate": "2022-12-13T11:58:18+05:30",
        "useDefaultUserGroup2": false
    },
    "images": [
        {
            "id": 557,
            "provider": "FILESERVICE",
            "namespace": "solutions",
            "serial": 1,
            "fileName": "56BA4T07757.png",
            "active": true
        }
    ],
    "customer": {
        "id": 538194152,
        "profiles": [
            {
                "firstName": "",
                "lastName": "",
                "fields": {},
                "identifiers": [
                    {
                        "type": "externalId",
                        "value": "7989b873-7cbc-11ed-8eb3-0e5e22a6da49"
                    },
                    {
                        "type": "email",
                        "value": "[email protected]"
                    }
                ],
                "commChannels": [],
                "userId": 538194152,
                "accountId": "",
                "autoUpdateTime": "2023-04-27T12:17:23+05:30",
                "identifiersAll": [
                    {
                        "type": "externalId",
                        "value": "7989b873-7cbc-11ed-8eb3-0e5e22a6da49"
                    },
                    {
                        "type": "email",
                        "value": "[email protected]"
                    }
                ]
            }
        ]
    },
    "attribution": {
        "createDate": "2023-02-08T19:16:08+05:30",
        "createdBy": {
            "id": 13509183,
            "code": "purinatestaccount",
            "description": "",
            "name": "purinatestaccount",
            "type": "TILL",
            "adminType": "GENERAL",
            "isActive": true,
            "isOuEnabled": false,
            "timeZoneId": 372,
            "currencyId": -1,
            "languageId": -1
        },
        "modifiedBy": {
            "id": 13509183,
            "code": "purinatestaccount",
            "description": "",
            "name": "purinatestaccount",
            "type": "TILL",
            "adminType": "GENERAL",
            "isActive": true,
            "isOuEnabled": false,
            "timeZoneId": 372,
            "currencyId": -1,
            "languageId": -1
        },
        "modifiedDate": "2023-04-26T00:00:00+05:30"
    },
    "id": 902581,
    "addedOn": "2023-02-08T19:16:08+05:30",
    "userId": 538194152,
    "comments": "Test",
    "oneStep": false,
    "warnings": []
}

Response Parameters for Customer Merge Request

ParameterData TypeDescription
typeEnumType of the request. Possible Value: CHANGE_IDENTIFIER
baseTypeEnumBase type of the request. Possible Value: MERGE
statusStringCurrent status of the request. Possible Values: PENDING, APPROVED, REJECTED
attributionObjectContains metadata about the creation and modification of the request.
- createDateDateTimestamp in ISO 8601 format indicating when the request was created.
- createdByObjectDetails of the user who created the request.
-- idLongID of the creator.
-- codeStringTill code of the creator.
-- descriptionStringDescription of the creator.
-- nameStringTill of the creator.
-- typeStringType of user who created the request.
-- referenceIdIntegerReference ID of the creator.
-- adminTypeStringAdmin type of the creator.
-- isActiveBooleanIndicates if the creator is active. True indicates active. False indicates inactive.
-- isOuEnabledBooleanIndicates if OU is enabled for the creator.
-- timeZoneIdIntegerTime zone ID associated with the creator. Example: 191
-- currencyIdIntegerCurrency ID associated with the creator. Example: 95
-- languageIdIntegerLanguage ID associated with the creator. Example: 148
-- defaultBooleanIndicates if this is the default user.
- modifiedByObjectDetails of the user who last modified the request.
-- idLongID of the modifier.
-- codeStringTill code of the modifier.
-- descriptionStringDescription of the modifier.
-- nameStringTill of the modifier.
-- typeStringType of user who modified the request.
-- referenceIdIntegerReference ID of the modifier.
-- adminTypeStringAdmin type of the modifier.
-- isActiveBooleanIndicates if the modifier is active. True indicates active. False indicates inactive.
-- isOuEnabledBooleanIndicates if OU is enabled for the modifier.
-- timeZoneIdIntegerTime zone ID associated with the modifier. Example: 191
-- currencyIdIntegerCurrency ID associated with the modifier. Example: 95
-- languageIdIntegerLanguage ID associated with the modifier. Example: 148
-- defaultBooleanIndicates if this is the default user.
modifiedDateDateTimestamp in ISO 8601 format indicating when the request was modified.
idLongUnique ID of the request.
orgIdIntegerOrganization ID where the request was created.
addedOnDateIndicates the timestamp in ISO 8601 format when the request was added.
userIdIntegerCustomer ID of the victim.
changeIdentifierRequestObjectDetails of the change identifier request.
- idLongUnique ID of the change identifier request.
- userIdLongUser ID associated with the change.
- requestIdLongAssociated request ID.
- changeTypeStringType of identifier change. Value: MERGE
- changeStatusStringStatus of the identifier change. Possible Values: PENDING, APPROVED, REJECTED
- changeIdentifiersObjectContains the identifiers of the survivor and the victim.
-- addArrayIdentifiers of the survivor.
--- typeStringType of identifier for the survivor account.
--- valueLongValue the customer identifier of the survivor account
-- removeArrayIdentifiers of the victim.
--- typeStringType of identifier for the victim account.
--- valueLongValue the customer identifier of the victim account.
- oneStepBooleanIndicates if the merge should be done in one step.
oneStepBooleanIndicates if the merge request is configured as one step.
warningsArrayList of any warnings encountered (empty if none).
{
    "type": "CHANGE_IDENTIFIER",
    "baseType": "MERGE",
    "status": "PENDING",
    "attribution": {
        "createDate": "2025-04-11T13:38:21Z",
        "createdBy": {
            "id": 75152722,
            "code": "divya_doc",
            "description": "",
            "name": "divya_doc",
            "type": "TILL",
            "referenceId": -1,
            "adminType": "GENERAL",
            "isActive": true,
            "isOuEnabled": false,
            "timeZoneId": 191,
            "currencyId": 95,
            "languageId": 148,
            "default": false
        },
        "modifiedBy": {
            "id": 75152722,
            "code": "divya_doc",
            "description": "",
            "name": "divya_doc",
            "type": "TILL",
            "referenceId": -1,
            "adminType": "GENERAL",
            "isActive": true,
            "isOuEnabled": false,
            "timeZoneId": 191,
            "currencyId": 95,
            "languageId": 148,
            "default": false
        },
        "modifiedDate": "2025-04-11T00:00:00Z"
    },
    "id": 13029191,
    "orgId": 100737,
    "addedOn": "2025-04-11T13:38:21Z",
    "userId": 565398692,
    "changeIdentifierRequest": {
        "id": 999690,
        "userId": -1,
        "requestId": 13029191,
        "changeType": "MERGE",
        "changeStatus": "PROCESSING",
        "changeIdentifiers": {
            "add": [
                {
                    "type": "id",
                    "value": "565398773"
                }
            ],
            "remove": [
                {
                    "type": "id",
                    "value": "565398692"
                }
            ]
        },
        "oneStep": false
    },
    "oneStep": false,
    "warnings": []
}
{
    "type": "CHANGE_IDENTIFIER",
    "baseType": "MERGE",
    "status": "PENDING",
    "attribution": {
        "createDate": "2025-03-21T10:38:44+05:30",
        "createdBy": {
            "id": 50771462,
            "code": "co_51956_connectedorgchildone_till",
            "description": "default_till",
            "name": "co_51956_connectedorgchildone_till",
            "type": "TILL",
            "referenceId": 51956,
            "adminType": "GENERAL",
            "isActive": true,
            "isOuEnabled": false,
            "timeZoneId": 0,
            "currencyId": 0,
            "languageId": 0,
            "default": true
        },
        "modifiedBy": {
            "id": 50771462,
            "code": "co_51956_connectedorgchildone_till",
            "description": "default_till",
            "name": "co_51956_connectedorgchildone_till",
            "type": "TILL",
            "referenceId": 51956,
            "adminType": "GENERAL",
            "isActive": true,
            "isOuEnabled": false,
            "timeZoneId": 0,
            "currencyId": 0,
            "languageId": 0,
            "default": true
        },
        "modifiedDate": "2025-03-21T00:00:00+05:30"
    },
    "id": 1778080,
    "orgId": 51957,
    "addedOn": "2025-03-21T10:38:44+05:30",
    "userId": 387733597,
    "changeIdentifierRequest": {
        "id": 843373,
        "userId": -1,
        "requestId": 1778080,
        "changeType": "MERGE",
        "changeStatus": "PROCESSING",
        "changeIdentifiers": {
            "add": [
                {
                    "type": "id",
                    "value": "387733529"
                }
            ],
            "remove": [
                {
                    "type": "id",
                    "value": "387733597"
                }
            ]
        },
        "oneStep": false
    },
    "oneStep": false,
    "warnings": []
}
{
    "type": "CHANGE_IDENTIFIER",
    "baseType": "MERGE",
    "status": "PENDING",
    "attribution": {
        "createDate": "2025-03-21T10:38:44+05:30",
        "createdBy": {
            "id": 50712937,
            "code": "autostore1.till2-1721667104",
            "description": "autostore1.till2-1721667104",
            "name": "autostore1.till2-1721667104",
            "type": "TILL",
            "referenceId": -1,
            "adminType": "GENERAL",
            "isActive": true,
            "isOuEnabled": false,
            "timeZoneId": 191,
            "currencyId": 0,
            "languageId": 0,
            "default": false
        },
        "modifiedBy": {
            "id": 50712937,
            "code": "autostore1.till2-1721667104",
            "description": "autostore1.till2-1721667104",
            "name": "autostore1.till2-1721667104",
            "type": "TILL",
            "referenceId": -1,
            "adminType": "GENERAL",
            "isActive": true,
            "isOuEnabled": false,
            "timeZoneId": 191,
            "currencyId": 0,
            "languageId": 0,
            "default": false
        },
        "modifiedDate": "2025-03-21T00:00:00+05:30"
    },
    "id": 1778080,
    "orgId": 51956,
    "addedOn": "2025-03-21T10:38:44+05:30",
    "userId": 387733597,
    "changeIdentifierRequest": {
        "id": 843372,
        "userId": -1,
        "requestId": 1778080,
        "changeType": "MERGE",
        "changeStatus": "PROCESSING",
        "changeIdentifiers": {
            "add": [
                {
                    "type": "id",
                    "value": "387733529"
                }
            ],
            "remove": [
                {
                    "type": "id",
                    "value": "387733597"
                }
            ]
        },
        "oneStep": false
    },
    "oneStep": false,
    "warnings": []
}

Error Code

Error CodeDescriptionReason
9050Request not foundIncorrect request ID
Language
URL
Click Try It! to start a request and see the response here!