---
title: "Update Transaction Details"
method: POST
path: "/transaction/update"
---

# Update Transaction Details

`POST /transaction/update`

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).

## Path parameters

- `format` 'xml' | 'json', required

## Request body

- object
  - `RAW_BODY` string, json

## Response `200`

200

- object
  - `response` object
    - `status` object
      - `success` boolean
      - `code` integer
      - `message` string
    - `transactions` object
      - `transaction` object[]
        - `customer` object
          - `user_id` string
          - `mobile` string
          - `firstname` string
          - `lastname` string
          - `email` string
          - `external_id` string
          - `lifetime_points` string
          - `loyalty_points` string
          - `current_slab` string
          - `tier_expiry_date` string
          - `lifetime_purchases` string
          - `type` string
          - `source` string
        - `id` integer
        - `notes` string
        - `billing_time` string
        - `type` string
        - `number` string
        - `delivery_status` string
        - `amount` integer
        - `gross_amount` integer
        - `discount` integer
        - `store` string
        - `custom_fields` object
          - `success_count` integer
          - `failure_count` integer
          - `field` object[]
            - `name` string
            - `value` string
        - `extended_fields` object
          - `success_count` integer
          - `failure_count` integer
          - `field` object[]
            - `name` string
            - `value` string
        - `side_effects` object
        - `item_status` object
          - `success` string
          - `code` integer
          - `message` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/versions/de241f2ed9b3/schema)
