Podio API Documentation
Items: Update item values
Updates all the values for an item
Usage
- PHP Client
-
PodioItem.php
PodioItem::update_values( $item_id, $attributes = array(), $options = array() );
Parameters
- item_id*
- Required.
- hook
True if hooks should be executed for the change, false otherwise.
Default value: true- silent
If set to true, the object will not be bumped up in the stream and notifications will not be generated.
Default value: false
Request
See the create item operation for details.
For each field, we can use its `field_id` or `external_id` as key in body.
cURL example for setting category field(with external_id='category')
which allows multiple options:
curl
-H "Content-Type: application/json"
-H "Authorization: OAuth2 <myauth>"
-X PUT
-d '{"category":[1,3]}'
"https://api.podio.com/item/<item-id>/value/"
Response
{
"revision": The id of the new revision,
"title": The new title of the item
}