PUT 3dCartWebAPI/v1/Orders/{orderid}/Transactions/{transactionindexid}
Updates a specific transaction from a specific Product
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderid |
OrderID |
integer |
Required |
| transactionindexid | integer |
Required |
Body Parameters
A Json or XML object containing the new transaction
Transaction| Name | Description | Type | Additional information |
|---|---|---|---|
| TransactionIndexID |
Primary key, auto-incremented. database reference = transactions.id |
integer |
None. |
| OrderID |
database reference = transactions.orderid |
integer |
None. |
| TransactionID |
database reference = transactions.transactionid |
string |
String length: inclusive between 0 and 50 |
| TransactionDateTime |
database reference = transactions.datetime |
date |
None. |
| TransactionType |
database reference = transactions.ttype |
string |
String length: inclusive between 0 and 10 |
| TransactionMethod |
database reference = transactions.paymenttype |
string |
String length: inclusive between 0 and 255 |
| TransactionAmount |
database reference = transactions.amount |
decimal number |
None. |
| TransactionApproval |
database reference = transactions.approvalcode |
string |
String length: inclusive between 0 and 50 |
| TransactionReference |
database reference = transactions.reference |
string |
String length: inclusive between 0 and 255 |
| TransactionGatewayID |
database reference = transactions.gwid |
integer |
None. |
| TransactionCVV2 |
database reference = transactions.cvv2 |
string |
String length: inclusive between 0 and 255 |
| TransactionAVS |
database reference = transactions.avs |
string |
String length: inclusive between 0 and 255 |
| TransactionResponseText |
database reference = transactions.responsetext |
string |
String length: inclusive between 0 and 65535 |
| TransactionResponseCode |
database reference = transactions.responsecode |
string |
String length: inclusive between 0 and 50 |
| TransactionCaptured |
database reference = transactions.captured |
integer |
None. |
Request Formats
application/json, text/json
{
"TransactionIndexID": 1,
"OrderID": 1,
"TransactionID": "sample string 1",
"TransactionDateTime": "11/15/2025 02:48",
"TransactionType": "sample string 3",
"TransactionMethod": "sample string 4",
"TransactionAmount": 1.1,
"TransactionApproval": "sample string 5",
"TransactionReference": "sample string 6",
"TransactionGatewayID": 1,
"TransactionCVV2": "sample string 7",
"TransactionAVS": "sample string 8",
"TransactionResponseText": "sample string 9",
"TransactionResponseCode": "sample string 10",
"TransactionCaptured": 1
}
application/xml, text/xml
<Transaction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <TransactionIndexID>1</TransactionIndexID> <OrderID>1</OrderID> <TransactionID>sample string 1</TransactionID> <TransactionDateTime>2025-11-15T02:48:16.7664169-05:00</TransactionDateTime> <TransactionType>sample string 3</TransactionType> <TransactionMethod>sample string 4</TransactionMethod> <TransactionAmount>1.1</TransactionAmount> <TransactionApproval>sample string 5</TransactionApproval> <TransactionReference>sample string 6</TransactionReference> <TransactionGatewayID>1</TransactionGatewayID> <TransactionCVV2>sample string 7</TransactionCVV2> <TransactionAVS>sample string 8</TransactionAVS> <TransactionResponseText>sample string 9</TransactionResponseText> <TransactionResponseCode>sample string 10</TransactionResponseCode> <TransactionCaptured>1</TransactionCaptured> </Transaction>
Sample Request |
|
Response Information
application/json, text/json
[
{
"Key":"TransactionIndexID",
"Value":"1234",
"Status":"200",
"Message":"updated successfully",
}
]
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |