Update partial item data

Update part of an item's data.

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

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

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

Example

cURL
123456curl https://api.jsonpad.io/lists/314e9ae7-049e-4427-8ad8-529b3b6cce90/items/be797bdd-764b-4a0f-97e0-ce5f162cc0d8/data/locations/0 \
  -H "Content-Type: application/json" \
  -H "x-api-token: <YOUR TOKEN>" \
  -d '{
        "population": 8097282
      }'

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/103f09e6-4102-43ba-9724-e12b912aec2a/items/f3c73f55-db7a-4a10-8b85-3c552d61af31/data/locations/0?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.

Request body

{
population: 8097282
}
  • required
    *anyData which will be deep-merged with the item's current data at the specified pointer.
  • optional
    x-identity-tokenstringAn identity token.
  • optional
    x-identity-groupstringAn identity group.

Response body

200 OK
{
id: "0331212d-f7b0-49ee-aab3-f08bb3d6544d"
createdAt: "2026-09-05T11:30:11.462Z"
updatedAt: "2026-09-05T11:30:11.462Z"
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:11.462ZThe date this item was last modified.
2024-10-29