Blog Posts
Get Blog Posts
Retrieves the blog posts.
Authorization
Authorization
RequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/json
Optionalpage
integerperPage
integerMust be at least 1. Must not be greater than 100.
orderColumn
string"id" | "title" | "created_at" | "updated_at"
orderDirection
string"asc" | "desc"
title
stringMust not be greater than 255 characters.
Path Parameters
shopId
RequiredintegerCreate Blog Post
Creates a new blog post.
Authorization
Authorization
RequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/json
Requiredtitle
RequiredstringMust not be greater than 255 characters.
path
stringMust match the regex /^[a-z0-9-]+$/.
summary
stringMust not be greater than 2000 characters.
content
RequiredstringMust not be greater than 100000 characters.
image_id
stringThe id of an existing record in the images table.
meta_title
stringMust not be greater than 255 characters.
meta_description
stringMust not be greater than 255 characters.
Path Parameters
shopId
RequiredintegerGet Blog Post
Retrieves a specific blog post.
Authorization
Authorization
RequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Path Parameters
shopId
RequiredintegerblogPostId
RequiredstringDelete Blog Post
Deletes a specific blog post.
Authorization
Authorization
RequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Path Parameters
shopId
RequiredintegerblogPostId
RequiredstringUpdate Blog Post
Updates a specific blog post.
Authorization
Authorization
RequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/json
Requiredid
Requiredintegerpath
stringMust match the regex /^[a-z0-9-]+$/.
title
RequiredstringMust not be greater than 255 characters.
summary
stringMust not be greater than 2000 characters.
content
RequiredstringMust not be greater than 100000 characters.
image_id
stringThe id of an existing record in the images table.
meta_title
stringMust not be greater than 255 characters.
meta_description
stringMust not be greater than 255 characters.
Path Parameters
shopId
RequiredintegerblogPostId
Requiredstring