Reschedule an article
reschedule_articleMoves a scheduled article to another date (YYYY-MM-DD). Pass swap_with_scheduled_article_id to exchange dates with the article occupying the target day instead of stacking two articles on it. Without a swap, the website's publishing frequency is enforced: a full day is refused and the next free date is named. Refuses articles that are published or currently generating. Repeating a swap swaps the dates back. Returns the moved row. Pass website_id when the account has several websites (see get_account).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_date | Yes | Target date, YYYY-MM-DD. | |
| website_id | No | Website id from get_account. Optional when the account has a single website. | |
| scheduled_article_id | Yes | Scheduled article id from list_scheduled_articles. | |
| swap_with_scheduled_article_id | No | Article currently on new_date whose date should be swapped with this one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | Yes | Writing brief the article follows. | |
| headline | Yes | ||
| is_custom | Yes | true when the user planned the article; false for automatic topics. | |
| created_at | Yes | ||
| product_ids | Yes | ||
| is_generated | Yes | true once the article was written; generated rows can no longer be edited. | |
| scheduled_at | Yes | Generation date, YYYY-MM-DD. | |
| target_keyword | Yes | ||
| target_keyword_id | Yes | ||
| generated_article_id | Yes | Article id once generated, for the articles tools. | |
| scheduled_article_id | Yes |