---
title: "Patch Blog Post"
method: PATCH
path: "/v1/shops/{shopId}/blog-posts/{blogPostId}"
tags: ["Blog Posts"]
---

# Patch Blog Post

`PATCH /v1/shops/{shopId}/blog-posts/{blogPostId}`

## Request

- Base URL: `https://api.sellauth.com`
- URL: `https://api.sellauth.com/v1/shops/{shopId}/blog-posts/{blogPostId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sellauth/apis/sellauth-api/docs/v1/shops/:shopId/blog-posts/:blogPostId/patch.ts> (a function with typed inputs; its response is checked against the schema)

Changes only the fields you send. Fields you leave out keep their current value, and null clears a field.

## Request body

- object
  - `path` string, nullable: Must match the regex /^[a-z0-9-]+$/.
  - `title` string: Must not be greater than 255 characters.
  - `summary` string, nullable: Must not be greater than 2000 characters.
  - `content` string: Must not be greater than 100000 characters.
  - `image_id` string, nullable: Must match an existing stored value.
  - `meta_title` string, nullable: Must not be greater than 255 characters.
  - `meta_description` string, nullable: Must not be greater than 255 characters.
  - `metadata` string, nullable: Must not be greater than 65535 characters.
  - `product_ids` integer[]: Must match an existing stored value.

## Response `200`

## Changes

- **2026-11-08** `156a9aef5e98`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sellauth/apis/sellauth-api/changes/v1/shops/:shopId/blog-posts/:blogPostId/patch.md)

---

[API](https://skmtc.dev/sellauth/apis/sellauth-api.md) - [All operations](https://skmtc.dev/sellauth/apis/sellauth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sellauth/apis/sellauth-api/revisions/156a9aef5e98?raw)
