Create a Social Post
Create a new Social Post. Requires either one businessId or one locationId or one label. When a combination of those fields is provided all matching locations are added together.
Request body
The title of the Social Post.
The title of the Social Post.
A link for the Social Post. This is mandatory for a "Special Offer" and should point to a page concerning the offer
The type of the Social Post. POST, OFFER, ALERT, EVENT, REEL, STORY or CAROUSEL.
A special type for Google ALERT posts. Possible values are COVID_19.
Id
The campaign ID this Social Post belongs to
The current status of the Social Post (scheduled, active, inactive, not_published, published, impossible)
The starting date of EVENT and OFFER type Social Posts. It is used to indicate when an EVENT/OFFER will start. For API versions older than 2021-08-04, it is used as publicationDate.
The ending date of the Social Post (type=OFFER). The post will be removed from the listings at that date. It also determines when a special offer should end.
The date on which the Social Post will be published. It is used to schedule posts in the future. Format: yyyy-MM-dd'T'HH:mm:ss'Z'
When enabled, the SocialPost will be visible in StoreLocator
Product name for product posts
The timezone in which the Social Post should be created
Minimum product price
Maximum product price
Currency of the product price
The list of location labels as entered when creating/updating the Social Post
The first comment to be posted after a post creation. Only available for INSTAGRAM
Publications count
The list of directories as entered when creating/updating the Social Post.
Example request
{
"publicationDate": "2024-06-25T11:01:00Z",
"timeZone": "Europe/Berlin"
}Response
Social Posts created.
(optional) Holds further information about the response
(optional) Holds further warnings
Example response
{
"response": {
"response": {
"socialPost": {
"publicationDate": "2024-06-25T11:01:00Z",
"timeZone": "Europe/Berlin"
}
}
}
}