Replace partial item data

Replace part of an item's data.

This route uses JSON pointer syntax to specify the data to replace.

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

Example

cURL
1234567891011121314curl https://api.jsonpad.io/lists/120d71c7-f6df-428b-ba3e-7aa4eff0fb38/items/9bfd7f6a-74d4-428a-b8da-f71075d3a52e/data/locations \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "x-api-token: <YOUR TOKEN>" \
  -d '[
        {
          "city": "Chicago",
          "state": "IL"
        },
        {
          "city": "Houston",
          "state": "TX"
        }
      ]'

Parameters

  • required
    listIdstringA list id or path name.
  • required
    itemIdstringAn item id or alias.
  • required
    pointerstringA JSON pointer to the field in the item's data that will be returned.
  • optional
    includeDatabooleanhttps://api.jsonpad.io/lists/54ad2b2b-f265-437a-bdf0-b069b1fef06a/items/c37bd5ed-eb5c-4681-8e8b-c845092e0951/data/locations?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

[
0: {
city: "Chicago"
state: "IL"
}
1: {
city: "Houston"
state: "TX"
}
]
  • required
    *anyData which will replace the item's current data at the specified pointer.

Response body

200 OK
{
id: "ea45f93c-982c-41bf-ab7f-453e8c33df58"
createdAt: "2026-09-05T11:30:12.109Z"
updatedAt: "2026-09-05T11:30:12.109Z"
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:12.109ZThe date this item was last modified.
2024-10-29