Skip to main content
PATCH
/
api
/
rest
/
documents
/
{id}
Update One Document
curl --request PATCH \
  --url https://api.upwell.com/api/rest/documents/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "input": {
    "sourceSystem": "<string>",
    "sourceSystemId": "<string>"
  }
}
'
{
  "updateDocument": {
    "id": "<string>",
    "sourceSystem": "<string>",
    "sourceSystemId": "<string>"
  }
}

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Path Parameters

id
string
required

"id" is required (enter it either in parameters or request body)

Body

application/json

Query parameters can also be provided in the request body as a JSON object

id
string
input
DocumentsSetInput Ā· object

input type for updating data in table "documents"

Response

200 - application/json

Responses for PATCH /api/rest/documents/{id}

updateDocument
Documents Ā· object

Documents table