v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Retrieve Request Status using ID

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

get/{id}

Path parameters

idinteger required

Unique identifier of the request, generated during the POST call to add the request.

Response

200

OR
OR
OR

Example response

{
  "type": "TRANSACTION",
  "baseType": "REGULAR_TXN_ADD",
  "status": "PENDING",
  "transaction": {
    "deliveryStatus": "SHIPPED",
    "type": "REGULAR",
    "billAmount": 21,
    "billNumber": "4113667",
    "grossAmount": 21,
    "lineItemsV2": [
      {
        "amount": 10.5,
        "description": "PURINA TIDY CATS CAT LITTER STRONG CLUMPS FOR MULTIPLE CATS LOCKS AWAY ODORS BAG 40 POUND",
        "itemCode": "ASN10000001",
        "qty": 1,
        "rate": 10.5,
        "returnable": true,
        "returnableDays": -1
      }
    ],
    "customFields": {
      "added_on": "2022-12-10T11:58:18+05:30",
      "paymentmode": "abc",
      "vendor_name": "Walmart"
    },
    "paymentModes": [
      {
        "mode": "Cash",
        "value": 21
      }
    ],
    "billingDate": "2022-12-13T11:58:18+05:30"
  },
  "images": [
    {
      "id": 557,
      "provider": "FILESERVICE",
      "namespace": "solutions",
      "serial": 1,
      "fileName": "56BA4T07757.png",
      "active": true
    }
  ],
  "customer": {
    "id": 538194152,
    "profiles": [
      {
        "identifiers": [
          {
            "type": "externalId",
            "value": "7989b873-7cbc-11ed-8eb3-0e5e22a6da49"
          }
        ],
        "userId": 538194152,
        "autoUpdateTime": "2023-04-27T12:17:23+05:30",
        "identifiersAll": [
          {
            "type": "externalId",
            "value": "7989b873-7cbc-11ed-8eb3-0e5e22a6da49"
          }
        ]
      }
    ]
  },
  "attribution": {
    "createDate": "2023-02-08T19:16:08+05:30",
    "createdBy": {
      "id": 13509183,
      "code": "purinatestaccount",
      "name": "purinatestaccount",
      "type": "TILL",
      "adminType": "GENERAL",
      "isActive": true,
      "timeZoneId": 372,
      "currencyId": -1,
      "languageId": -1
    },
    "modifiedBy": {
      "id": 13509183,
      "code": "purinatestaccount",
      "name": "purinatestaccount",
      "type": "TILL",
      "adminType": "GENERAL",
      "isActive": true,
      "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"
}