v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Update Transaction Details

Lets you update transaction level and transaction line-item level custom fields and extended fields details. It also allows converting a not_interested transaction to a regular transaction (Retro Transaction).

post/transaction/update

Path parameters

format'xml' | 'json' required

Request body

RAW_BODYstring json

Response

200

Example response

{
  "response": {
    "status": {
      "success": true,
      "code": 200,
      "message": "Success"
    },
    "transactions": {
      "transaction": [
        {
          "customer": {
            "user_id": "564703252",
            "mobile": "919999988886",
            "firstname": "Tjuser",
            "lastname": "eightysix",
            "email": "testusertjone@gmail.com",
            "external_id": "0000011110",
            "lifetime_points": "23001",
            "loyalty_points": "1",
            "current_slab": "Ruby",
            "tier_expiry_date": "2125-02-10 23:59:59",
            "lifetime_purchases": "136000",
            "type": "LOYALTY",
            "source": "instore"
          },
          "id": 882171763,
          "notes": "Transaction Number 55",
          "billing_time": "2025-02-14 09:00:00",
          "type": "regular",
          "number": "test00transact055",
          "delivery_status": "PLACED",
          "amount": 6000,
          "gross_amount": 2000,
          "store": "DocStore",
          "custom_fields": {
            "success_count": 1,
            "failure_count": 1,
            "field": [
              {
                "name": "origin",
                "value": "instore"
              }
            ]
          },
          "extended_fields": {
            "success_count": 3,
            "field": [
              {
                "name": "cashier_id",
                "value": "IC-665522"
              }
            ]
          },
          "item_status": {
            "success": "true",
            "code": 600,
            "message": "Transaction updated successfully"
          }
        }
      ]
    }
  }
}