Posts
Update a post
This endpoint lets you update a post.
When used by a BM or GM user, this endpoint also serves to validate and publish a draft post.
The update will not happen in real time and might take a few minutes
⚠️ Due to Instagram API limitations, this operation has no effect on Instagram posts.
put/posts/{post_id}
Path parameters
post_idnumber required
Post id
Request body
Example request
{
"title": "Great post title !",
"summary": "Wonderful post summary !",
"schedule_time": "2050-01-01T09:00:00",
"start_at": "2050-01-01T09:00:00",
"end_at": "2050-01-01T09:00:00",
"coupon_code": "PROMO25",
"offer_terms": "These are the conditions"
}Response
OK
Example response
{
"id": 34,
"business_id": "5409c35a97bbc544d8e26737",
"summary": "Wonderful post summary !",
"schedule_time": "2020-01-01T12:00:00+02:00",
"expiration_time": "2020-01-01T12:00:00+02:00",
"validation_time": "2020-01-01T12:00:00+02:00",
"created_at": "2019-08-01T19:15:54.256000+02:00",
"updated_at": "2019-09-01T15:12:35.256000+02:00",
"business_info": "Rick - HQ - 157 boulevard Macdonald, Paris",
"post_insight": [
{
"name": "facebook__posts",
"click_count": 1512,
"view_count": 2012
}
],
"post_status": [
{
"name": "facebook__posts",
"state": "live",
"link": "www.partoo.co"
}
],
"offer_terms": "These are the conditions",
"offer_code": "PROMO25",
"cta_link": "www.partoo.co"
}