Update a record by id (hosted RecordStore.update)

Hosted fulfillment of the runtime RecordStore seam. Updates an existing record by id with the merge (shallow) / replace / deep-merge strategy, scoped to the authenticated caller. Returns { record: null } when no row matched. Requires an Enterprise plan: ineligible accounts receive 403 (code BYOC_PLAN_REQUIRED).

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
idstringRequired>=1 character
metadatamap from strings to anyRequired
mergeStrategyenumOptional
Allowed values:

Response

The updated record or null
recordobject or null

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error