Replace item data

Replace an item's data.

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

Example

cURL
123456789101112131415161718curl https://api.jsonpad.io/lists/f14076ca-c1ab-4429-bf33-7c09b329538a/items/97cbf12b-2578-4c2c-82da-656e1be97aee/data \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "x-api-token: <YOUR TOKEN>" \
  -d '{
        "name": "Jane Doe",
        "age": 40,
        "locations": [
          {
            "city": "Chicago",
            "state": "IL"
          },
          {
            "city": "Houston",
            "state": "TX"
          }
        ]
      }'

Parameters

  • required
    listIdstringA list id or path name.
  • required
    itemIdstringAn item id or alias.
  • optional
    includeDatabooleanhttps://api.jsonpad.io/lists/ca93a1c7-ef2f-4faf-a734-ae4a8cc7691d/items/1be0d585-e008-44ff-b9de-c3a0cfe110e5/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"
age: 40
locations: [
0: {
city: "Chicago"
state: "IL"
}
1: {
city: "Houston"
state: "TX"
}
]
}
  • required
    *anyThe item's new data.

Response body

200 OK
{
id: "edfe2e5b-f342-4205-a6c1-e1459795626c"
createdAt: "2026-09-05T11:30:05.696Z"
updatedAt: "2026-09-05T11:30:05.696Z"
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:05.696ZThe date this item was last modified.
2024-10-29