BlogPosts

Update blog post

Updates an existing blog post.

patch/blog_posts/{id_or_slug}

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/blog_posts/{id_or_slug}
  • Auth: API key in header Authorization

Path parameters

id_or_slugstring required

The resource ID (e.g., "prod_3f9a1c0b7d2e4a6f8b1c3d5e") or slug (e.g., "my-product")

Request body

titlestring
contentstring
status'draft' | 'published' | 'scheduled' | 'archived'
slugstring
excerptstring
blog_category_idinteger nullable
published_atstring date-time nullable
scheduled_atstring date-time nullable

Response

Blog post updated

idstring required
objectstring required
titlestring required
slugstring required
contentstring required
status'draft' | 'published' | 'scheduled' | 'archived' required
excerptstring required
published_atstring date-time nullable required
scheduled_atstring date-time nullable required
created_atstring date-time required
updated_atstring date-time required
urlstring required
categorystring nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.