Blog Categories
Categories the store’s posts are filed under.
Authorization
clientKey The connection's key (Dashboard → Channels → Headless API; keys are also listed in Settings → Connections). pk_… public keys are for browser code and only work from a website listed on the connection (a website connection never accepts *; a development connection on a dev store also allows localhost); sk_… private keys are for servers and native apps and need no Origin.
In: header
Header Parameters
Your connection's key (Dashboard → Channels → Headless API; keys are also listed in Settings → Connections). pk_… public keys are for browser code and only work from a website listed on the connection (a website connection never accepts *; a development connection on a dev store also allows localhost); sk_… private keys are for servers and native apps and need no Origin.
Your own correlation id (8–128 chars, ^[A-Za-z0-9_.:-]+$). Echoed back on the response and on every log line of the request; one is generated when you omit it.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/store/blog-categories" \ -H "X-Client-Key: {{clientKey}}"{ "status": "success", "message": "Blog categories retrieved", "data": [ { "id": "019b0c4d-5e6f-7a8b-9c0d-1e2f3a4b5c81", "name": "Style Notes", "slug": "style-notes", "position": 1, "posts_count": 1 }, { "id": "019b0c4d-5e6f-7a8b-9c0d-1e2f3a4b5c82", "name": "Fabric Guide", "slug": "fabric-guide", "position": 2, "posts_count": 1 } ]}