Podio API Documentation
Items: Update item field values
Update the item values for a specific field. The identifier for the field can either be the field_id or the external_id for the field.
Usage
- PHP Client
-
PodioItemField.php
PodioItemField::update( $item_id, $field_id, $attributes = array(), $options = array() );
- Ruby Gem
-
item_field.rb
Podio::ItemField.update( item_id, field_id, values, options = {} )
Parameters
- item_id*
- Required.
- field_or_external_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
cURL example for updating category field value:
curl
-H "Content-Type: application/json"
-H "Authorization: OAuth2 <myauth>"
-X PUT
-d '[1,3]'
"https://api.podio.com/item/<item-id>/value/<field-id>"
Response
{
"revision": The id of the new revision,
"title": The new title of the item
}