Skip to main content
PATCH
Update a blog article

Request contract

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

Cost and request rules

A request reference price is not currently available; use a request quote where supported. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.

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/site id returned by the list operation.

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

Platform-native article id: numeric on Shopify and WordPress, a GUID on Wix, a 24-character hex item id on Webflow. Other formats return 400.

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

Body

application/json

At least one field is required.

author
string

Shopify author display name, numeric WordPress user id serialized as a string, or Wix site member id. Assigning another WordPress user may require elevated capability. Wix posts without one go to the site's default author.

bodyHtml
string

Article body as HTML.

excerpt
string

Short summary shown in blog listings.

fieldData
object

Webflow only (other platforms answer 400). The collection's own fields that the Blogs API does not map, keyed by field slug, in Webflow's value format (a Reference is an item id, an Image is { url, alt }).

  • Required by collections with required fields of their own. A create that leaves one empty answers 400 listing them.
  • A slug the API already fills (name, slug, body, summary, image, tags, author, date) or one the collection lacks answers 400.
handle
string

URL slug of the article.

image
object

Featured image from a public URL. WordPress downloads it into the media library and Wix imports it into the Media Manager; JPEG, PNG, GIF and WebP are accepted up to 10 MB. Omit to preserve it; null removal is not supported.

isPublished
boolean

Set false to move to draft or true to publish. On WordPress and Wix false takes priority over a future publishDate; omission preserves status unless publishDate is sent (edits to a published Wix post go live).

publishDate
string<date-time>

ISO 8601 datetime with offset (or Z). A future date schedules publication natively on the platform.

seo
object

Shopify and Wix. Search-engine overrides: Shopify global title_tag and description_tag metafields, Wix post SEO title and meta description. WordPress rejects this field.

tags
string[]

Replaces the full tag-name list. WordPress and Wix resolve existing names case-insensitively and create missing tags (Wix allows up to 30).

Maximum array length: 100
Minimum string length: 1
title
string
Minimum string length: 1

Response

Article updated

article
object

An article inside a blog on the connected platform.

platform
enum<string>
Available options:
shopify,
wordpress,
wix,
webflow