Replace a channel-less draft's content in full, and optionally set the content item's target date in the same write. The draft needs text or at least one asset. Only valid while the content item is still a draft. This API is an early preview and can change without a deprecation period.
update_content_item_draftReplace a draft's full content (text and assets) and optionally set its target date in one write. Only valid while the item is still a draft.
Instructions
Replace a channel-less draft's content in full, and optionally set the content item's target date in the same write. The draft needs text or at least one asset. Only valid while the content item is still a draft.
This API is an early preview and can change without a deprecation period.. Current Buffer GraphQL updateContentItemDraft. Requires explicit confirmation. Use upstream fields to bound data; provider errors are failures even with HTTP 200.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The content item whose channel-less draft is replaced. | |
| draft | No | ||
| fields | No | Upstream field paths relative to the result, as in official CLI --fields. Default fields are bounded. Use items.id for connection nodes; pageInfo.endCursor for cursors. | |
| tagIds | No | Tags to apply to this content item. Omit to keep the current tags. An empty list or null removes them all. | |
| account | No | Private account profile name. Selects credentials only; an organization default does not restrict provider token permissions. | |
| confirm | No | Must be true for this exact user-requested Buffer mutation. | |
| payload | No | Complete native input object instead of individual input fields. | |
| targetDate | No | Date indicating when this piece of content should go out. This is a planning aid only and does not schedule any posts. Omit to preserve the existing target date. Null clears it. | |
| payload_file | No | Regular local JSON input file, no symlink, at most 1 MiB; cannot mix with payload or individual input fields. |