Skip to main content
PATCH
Update a blog

Request contract

  • Method and path: PATCH /apis/v1/social/accounts/{accountId}/blogs/{blogId}
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/accounts/{accountId}/blogs/{blogId}
  • accountId: path; required
  • blogId: path; required
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountId
string
required

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$
blogId
string
required

Platform-native blog id. Shopify blog ids are numeric; other values return 400.

Pattern: ^[A-Za-z0-9_-]{1,64}$

Body

application/json

At least one field is required.

handle
string

URL slug. Changing it changes the blog URL on the store.

Minimum string length: 1
title
string
Minimum string length: 1

Response

Blog updated

blog
object

A blog container on the connected platform. All content lives on the platform; AIsa proxies it and stores nothing.

platform
enum<string>
Available options:
shopify