ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiBlog

Update blog post

PATCH
/api/v1/blog/{id}

Authorization

bearer

Path Parameters

id*string

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Request Body

application/json
  1. body
title?string
Length5 <= length <= 200
content?string

HTML content from rich text editor

excerpt?string
Lengthlength <= 500
featuredImage?string
status?string
Default"draft"
Value in"draft""published""archived"
metaDescription?string
Lengthlength <= 160
metaKeywords?string
tags?array<string>
category?string

Response Body

Blog post updated successfully

Example Request
curl -X PATCH 'http://localhost:3001/api/v1/blog/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
Empty