Blog Categories
Get all categories and detail via store-api.
Category List
POST https://your-site.com/store-api/blog-category
return all categories regarding your criteria.
Request Header
Name
Type
Description
Value
Accept*
string
Response type
application/json
Content-Type*
string
Request type
application/json
sw-access-key*
string
Headless Access Key
SWSCQ1V1QJHHSKV0TFLYZ0LSD1
Request Body - Example Criteria 1
{
"limit": 5,
"page": 1,
"filter": [
{ "type": "equals", "field": "active", "value": true }
],
"sort": [
{ "field": "name", "order": "ASC" }
],
"includes": {
"ongrano_blog_category": ["id", "name"]
}
}Request Body - Example Criteria 2
Category Detail
POST https://your-site.com/store-api/blog-category/{blogCategoryId}
return blog category regarding {blogCategoryId}
Request Header
Name
Type
Description
Value
Accept*
string
Response type
application/json
Content-Type*
string
Request type
application/json
sw-access-key*
string
Headless Access Key
SWSCQ1V1QJHHSKV0TFLYZ0LSD1
Request Body - Example Criteria
Last updated