Set Transaction Customer
set_transaction_customerAttribute an existing transaction to a customer by providing a customer UUID, or detach it by passing null. This updates the transaction's customer attribution.
Instructions
Attribute an existing transaction to a customer, or detach it. Pass a customer_id to attribute the transaction, or null to clear the attribution.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"transaction_id": "<transaction_id>",
"customer_id": "<customer_id>"
},
"name": "set_transaction_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | UUID of the customer to attribute, or null to detach. | |
| transaction_id | Yes | UUID of the transaction to update. |