younifyd
Menu

Update a document

Update a document

PATCH/collections/{collectionName}/documents/{documentId}

Use it in a workflow

  1. Add a step and choose the Typesense connector.
  2. Pick the Update a document action (under documents).
  3. Fill in the fields below, then reference the result from later steps as {{updateADocument.response.data}}.

Request

Path parameters

collectionNamestringrequired

The name of the collection to search for the document under

documentIdstringrequired

The Document ID

Query parameters

dirty_valuesstring

Dealing with Dirty Data

One ofcoerce_or_rejectcoerce_or_dropdropreject

Response

Returns 200 with an object. Read it in later steps with {{updateADocument.response.data.<field>}}.

Need more? See the Typesense guide for connection setup and behaviour shared by every action.

Update a document — Typesense — Documentation