Update item data

Update an item's data.

Data in the request body will be deep-merged with the item's current data.

POST https://api.jsonpad.io/lists/{listId}/items/{itemId}/data

Example

cURL
123456curl https://api.jsonpad.io/lists/cb31fd84-1a6c-42d8-9084-6608867243ec/items/8a90737c-3762-48d7-80a7-e458a4c6546b/data \
  -H "Content-Type: application/json" \
  -H "x-api-token: <YOUR TOKEN>" \
  -d '{
        "name": "Jane Doe"
      }'

Parameters

  • required
    listIdstringA list id or path name.
  • required
    itemIdstringAn item id or alias.
  • optional
    includeDatabooleanhttps://api.jsonpad.io/lists/b1ee7d38-026a-4da3-b9df-585a8e346fe4/items/a182457e-66d0-42ae-ac4f-6a1e502de65f/data?includeData=true

    Whether to include the item data in the response or not. Can be true or false.

    Defaults to true.

Request headers

  • required
    x-api-tokenstringYour API token.
  • optional
    x-identity-tokenstringAn identity token.
  • optional
    x-identity-groupstringAn identity group.

Request body

{
name: "Jane Doe"
}
  • required
    *anyData to be deep-merged with the item's current data.

Response body

200 OK
{
id: "92b316c6-0ea8-4d1b-b88d-f3a3193a5595"
createdAt: "2026-09-05T11:30:04.837Z"
updatedAt: "2026-09-05T11:30:04.837Z"
data: {
name: "John Doe"
age: 30
locations: [
0: {
city: "New York"
state: "NY"
}
1: {
city: "Los Angeles"
state: "CA"
}
]
}
version: "1"
readonly: false
activated: true
description: "This is a sample item"
size: 111
locked: false
}

Response headers

  • etagaf2bdbe1aa9b6ec1e2ade1d694f41fc71a831d0268e9891562113d8a62add1bfA SHA-256 hash of the item.
  • last-modified2026-09-05T11:30:04.837ZThe date this item was last modified.
2024-10-29