Add, update, or remove boxes on a PDF field
Changes individual boxes on a PDF field without sending the whole field. Only DRAFT documents can be changed.
Each box in upsert has the same shape as an entry in fieldMeta.placedFields on POST /api/v1/documents/{id}/fields, and is checked the same way. A box whose id already exists on the field replaces that box and keeps its stacking order. A box with a new id is added on top. remove lists the ids of boxes to delete. Boxes you don’t mention stay as they are.
The change is atomic: if any box is invalid, nothing is written and the response lists every problem in issues. If another edit changes the field while the request runs, the request fails with an HTTP 400 Bad Request status code and code INVALID_STATE; send it again.
Example - move one box and remove another:
Authorizations
Headers
Body
Body
Response
200

