Correct block answers

The sales rep fixing what a client entered, from the builder's Client answers tab.

Same store as the public endpoint, so the client sees the correction on their next
visit — and updatedBy records who touched it last.

Writes here never reach the block's template: correcting an answer must not redefine
the defaults shipped to every other client.

Path Parameters

ParameterTypeRequiredDescription
idintegerYesQuotation id
blockIdstringYesBlock instance id; must be an html block

Body Fields

FieldTypeRequiredDescription
stateobjectYesThe whole state, replacing the stored one

Storage follows the block's own data.encryptState, exactly as for a client write.

Response

  • 200 OK: the full submissions map, as Get block submissions
  • 400 Bad Request: state is not an object
  • 403 Forbidden: the quotation belongs to another company
  • 404 Not Found: unknown quotation, or a block that is not html
  • 413 Payload Too Large: over 64 KB
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
string
required
Body Params
state
object
Responses
200

Resource updated

400

Bad request

401

Unauthorized

404

Resource not found

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!