Update a Transaction Type

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.lwolf.com/doc/transactiondesk-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "TransactionDesk API MCP server": {
    "url": "https://apidocs.lwolf.com/doc/transactiondesk-api/mcp"
  }
}

Close
PATCH /v2/transactions/types/{id}

Updates an existing transaction type. You can only update types you own.

Path parameters

  • id string(uuid) Required

    Transaction Type GUID

application/json

Body Required

  • name string

Responses

  • 200

    Transaction type updated successfully

  • 400 application/json

    Bad request

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • details array[string]
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • details array
    • data
  • 404 application/json

    Transaction type not found

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • details array
PATCH /v2/transactions/types/{id}
curl \
 --request PATCH 'https://api.pre.transactiondesk.com/v2/transactions/types/{id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"name":"Rental Property"}'
Request examples
{
  "name": "Rental Property"
}
Response examples (400)
{
  "code": 400,
  "message": "Request was not valid.",
  "details": [
    "string"
  ]
}
Response examples (401)
{
  "code": 401,
  "message": "Unauthorized. The user is not authenticated.",
  "details": []
}
Response examples (404)
{
  "code": 404,
  "message": "Item not found.",
  "details": []
}