Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.sertexity.com/llms.txt

Use this file to discover all available pages before exploring further.

Update Operation

Update mutable fields of an operation. Only pending operations can be modified. PATCH /operations/{id}  ·  🔒 Auth required

Request

{
  "description": "Ledger Nano X",
  "category": "hardware",
  "reference": "ORD-8822",
  "metadata": { "note": "gift" }
}
FieldTypeDescription
descriptionstringFree-text (max 500 chars)
categorystringCategory tag
referencestringExternal reference
metadataobjectReplaces the existing metadata entirely
amount, asset, wallet_id, and type cannot be changed. Create a new operation instead.

Response 200 OK

Returns the updated operation object.

Errors

CodeHTTPCause
NOT_FOUND404Operation not found
FORBIDDEN403Operation is completed or failed

Example

curl -X PATCH https://api.sertexity.com/v1/operations/op_01hz8f3k9m2p6q7r \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{"description":"Ledger Nano X","category":"hardware"}'