Shopify Blog API

The Blog API from Shopify — 14 operation(s) for blog.

Business capability
Content Marketing Management BC-400.70

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /admin/api/2020-01/blogs.json Create a new store blog · Shopify Create A New Blog #
Ask an LLM
“How do I start a brand-new blog on my online store with the 2020-01 API?”
“Can I add a second blog alongside my existing one?”
Tell an agent
Create a new blog for my online store.
Set up another blog on the shop using the 2020-01 blogs endpoint.
GET /admin/api/2020-01/blogs/{blog_id}.json Get a blog by ID · Shopify Get A Single Blog By Its Id #
Ask an LLM
“Can I look up a single blog's settings by its ID?”
“Is it possible to return only certain fields when fetching a blog?”
Tell an agent
Get blog {blog}.
Show only {fields} for blog {blog}.
PUT /admin/api/2020-01/blogs/{blog_id}.json Update a blog · Shopify Update A Blog #
Ask an LLM
“How can I rename or change the settings of an existing blog?”
“Which call saves changes to a blog I already created?”
Tell an agent
Update blog {blog}.
Save changes to the existing blog {blog} using API version 2020-01.
DELETE /admin/api/2020-01/blogs/{blog_id}.json Delete a blog · Shopify Delete A Blog #
Ask an LLM
“How do I permanently remove a whole blog from my store?”
“Can I delete a blog I no longer use by its ID?”
Tell an agent destructive · confirm first
Delete blog {blog}.
Permanently remove the blog {blog} from the online store.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/shopify-blog-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

shopify-blog-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shopify Blog API
  description: Explore Shopify's API reference and templating documentation. Shopify provides a range of software tools, app templates, example apps, and libraries to accelerate your development process. The Admin API lets you build apps and integrations that extend and enhance the Shopify admin.
  version: 2020-10
tags:
- name: Blog
paths:
  /admin/api/2020-01/blogs.json:
    post:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  blog:
                    title: Apple main blog
                summary: Create a new empty blog
              example2:
                value:
                  blog:
                    body: foobar
                summary: Trying to create a blog without a title will return an error
              example3:
                value:
                  blog:
                    title: Apple main blog
                    metafields:
                    - key: new
                      value: newvalue
                      value_type: string
                      namespace: global
                summary: Create a new empty blog with a metafield
      summary: Shopify Create A New Blog
      description: https://shopify.dev/docs/admin-api/rest/reference/online-store/blog#create-2020-01
      parameters: []
      tags:
      - Blog
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_create_blogs
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-01/blogs/{blog_id}.json:
    get:
      summary: Shopify Get A Single Blog By Its Id
      description: https://shopify.dev/docs/admin-api/rest/reference/online-store/blog#show-2020-01
      parameters:
      - in: path
        name: blog_id
        required: true
        schema:
          type: string
        description: blog_id
      - in: query
        name: fields
        description: comma-separated list of fields to include in the response
        schema: {}
        required: false
      tags:
      - Blog
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_get_blogs_param_blog_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  blog:
                    id: 241253187
                    title: IPod Updates
                summary: Update an existing blog title
              example2:
                value:
                  blog:
                    id: 241253187
                    title: IPod Updates
                    handle: ipod-updates
                    commentable: moderate
                summary: Update an existing blog title and handle and also activate comments
              example3:
                value:
                  blog:
                    id: 241253187
                    metafields:
                    - key: new
                      value: newvalue
                      value_type: string
                      namespace: global
                summary: Add a metafield to an existing blog
      summary: Shopify Update A Blog
      description: https://shopify.dev/docs/admin-api/rest/reference/online-store/blog#update-2020-01
      parameters:
      - in: path
        name: blog_id
        required: true
        schema:
          type: string
        description: blog_id
      tags:
      - Blog
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_update_blogs_param_blog_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
    delete:
      summary: Shopify Delete A Blog
      description: https://shopify.dev/docs/admin-api/rest/reference/online-store/blog#destroy-2020-01
      parameters:
      - in: path
        name: blog_id
        required: true
        schema:
          type: string
        description: blog_id
      tags:
      - Blog
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_delete_blogs_param_blog_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true