> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update submitted associated transactions

> Update a list of selection forms that have already been submitted for a given dispute case.

<div className="mb-4 flex items-center gap-2"><span className="rounded-lg font-bold px-1.5 py-0.5 text-sm leading-5 bg-yellow-400/20 text-yellow-700 dark:text-yellow-400">PUT</span><span className="flex items-center gap-0.5 font-mono text-sm"><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"cases"}</span><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"{token}"}</span><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"associated_transactions"}</span><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"selections"}</span></span></div>

Update a list of selection forms that have already been submitted for a given dispute case.

You can globally set `credit_change_reason` and `auth_change_reason` values for all transactions included in the post. These values can be overridden for each associated transaction.

Each associated transaction is validated before submitting the batch to the network. If one associated transaction fails validation, the entire request fails. The failure occurs at the first violation and the remaining payload is not validated. The response includes the list of affected associated transactions. If one of the potentially associated transactions has already been submitted to the network, an error is returned.

The response provides a list of transactions. Those with the `associated` field set to true are associated with the case.

<h2 id="_url_path_parameters_2">
  URL path parameters
</h2>

| Fields | Description |
| - | - |
| token<br />string<br />Required | The dispute case token.<br />**Allowable Values:**<br />36 char max |

<h2 id="_body_field_details_3">
  Body field details
</h2>

For a description of the body field details and the fields in the `associated_transactions` object, see [The associated\_transactions object](/docs/core-api/disputes-visa/submit-batch-possibly-associated-transactions#_the_associated_transactions_object).

<h2 id="_update_associated_transactions_response">
  Update associated transactions response
</h2>

For a description of the fields in the response, see [Associated transactions response](/docs/core-api/disputes-visa/submit-batch-possibly-associated-transactions#_associated_transactions_response). When all associated forms have been updated, a `200` response code is generated with the fields in the response.

<h2 id="_submission_errors_2">
  Submission errors
</h2>

| Error Code | Description |
| - | - |
| 400 | Indicates one of the following has occurred:<br />The user attempted to update the associated transactions of a dispute case that has moved to the `CHARGEBACK_INITIATED` state.<br />(Phase 2) The user attempted to update the associated transactions of a dispute case with a dispute transition that has moved beyond prearbitration.<br />The user attempted to update an associated transaction with a network type that doesn't match the network type for the dispute.<br />One of the associated transactions has a missing required field. |
| 404 | Indicates one of the following has occurred:<br />The dispute case token was not found.<br />One of the associated transactions was not found.<br />The user attempted to update a dispute case that doesn't belong to the specified program.<br />One of the associated transactions does not belong to the dispute case. |

<h2 id="_sample_request_body_3">
  Sample request body
</h2>

```json JSON lines wrap theme={null}
{
  "network_type": "VISA",
  "credit_change_reason": "66733283294439907772978420740446990478244312974548240509905403454256830653300576453097992718048",
  "auth_change_reason": "6700644900821340007833045221217107468620657600979029382163103999185490",
  "associated_transactions": [
    {
      "associated": true,
      "associated_transaction_token": "string",
      "credit_change_reason": "119335977632844717862380939473877155180707611424947603253800488969535484445104268638719205",
      "auth_change_reason": "21436322989173875475680301320453226327437272571912420748705468"
    }
  ]
}
```

<h2 id="_sample_response_body_3">
  Sample response body
</h2>

```json JSON expandable lines wrap theme={null}
{
  "associated_transactions": [
    {
      "network_type": "VISA",
      "token": "string",
      "case_token": "string",
      "network_phase": "DISPUTE",
      "transaction_date": "2022-07-21T20:16:09.353Z",
      "transaction_amount": 0,
      "transaction_currency": "string",
      "merchant_name": "string",
      "network_submission_status": "PENDING",
      "first_network_submission_time": "2022-07-21T20:16:09.353Z",
      "last_network_submission_time": "2022-07-21T20:16:09.353Z",
      "transaction_type": "string",
      "auth_code": "string",
      "network_selection_form": {
        "associated": true,
        "credit_change_reason": "029039246087712053593482311219773792437645087345397147249441224416802068472501671465461",
        "auth_change_reason": "19350516797465538433816692388789084359411154131712658490518433762316944090146"
      }
    }
  ]
}
```


## Related topics

- [Managing Visa Disputes](/docs/developer-guides/managing-visa-disputes.md)
- [Disputes (Visa) Overview](/docs/core-api/disputes-visa.md)
- [Submit a batch of possibly associated transactions](/docs/core-api/disputes-visa/submit-batch-possibly-associated-transactions.md)
- [Update document](/docs/core-api/disputes-visa/update-document.md)
- [Update program gateway source](/docs/core-api/program-gateway-funding-sources/update.md)
