Update post
Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated.
To promote a draft to scheduled, send isDraft: false together with scheduledFor (or publishNow: true, or queuedFromProfile). If isDraft is omitted the post keeps its current draft status, so sending only scheduledFor to a draft returns 200 but the post remains a draft.
Non-draft updates run the same per-platform validation as post creation (media requirements, platform-specific field rules, etc.) against the resulting platforms, returning 400 on failure.
Path parameters
Request body
Example request
{
"platforms": [
{
"platform": "twitter"
}
],
"recycling": {
"gap": 2,
"expireCount": 5
}
}Response
Post updated
Example response
{
"post": {
"platforms": [
{
"platform": "twitter",
"status": "pending",
"platformPostId": "1234567890123456789",
"platformPostUrl": "https://twitter.com/acmecorp/status/1234567890123456789"
}
]
}
}Changes
Changed in 17 of the 56 revisions of this API.31139
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
shopifyenum value to the////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
shopifyenum value to the////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
wordpressenum value to the////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
wordpressenum value to the////////response property for the response statusresponse-property-enum-value-added
- ●
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
- ○
added the non-success response with the status
response-non-success-status-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
cancelledenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
cancelledenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
- ▲
the
///response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ○
removed from the
///response propertyoneOflist for the response statusresponse-property-one-of-removed
- ▲
- ○
added the optional property
////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////////to the response with the statusresponse-optional-property-added
- ○