Blog Posts
Get Blog Posts
Retrieves the blog posts.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/jsonOptionalpageintegerperPageintegerMust be at least 1. Must not be greater than 100.
orderColumnstring"id" | "title" | "created_at" | "updated_at"orderDirectionstring"asc" | "desc"titlestringMust not be greater than 255 characters.
Path Parameters
shopIdRequiredintegerCreate Blog Post
Creates a new blog post.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/jsonRequiredtitleRequiredstringMust not be greater than 255 characters.
pathstringMust match the regex /^[a-z0-9-]+$/.
summarystringMust not be greater than 2000 characters.
contentRequiredstringMust not be greater than 100000 characters.
image_idstringThe id of an existing record in the images table.
meta_titlestringMust not be greater than 255 characters.
meta_descriptionstringMust not be greater than 255 characters.
Path Parameters
shopIdRequiredintegerGet Blog Post
Retrieves a specific blog post.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Path Parameters
shopIdRequiredintegerblogPostIdRequiredstringDelete Blog Post
Deletes a specific blog post.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Path Parameters
shopIdRequiredintegerblogPostIdRequiredstringUpdate Blog Post
Updates a specific blog post.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/jsonRequiredidRequiredintegerpathstringMust match the regex /^[a-z0-9-]+$/.
titleRequiredstringMust not be greater than 255 characters.
summarystringMust not be greater than 2000 characters.
contentRequiredstringMust not be greater than 100000 characters.
image_idstringThe id of an existing record in the images table.
meta_titlestringMust not be greater than 255 characters.
meta_descriptionstringMust not be greater than 255 characters.
Path Parameters
shopIdRequiredintegerblogPostIdRequiredstring