POST:ai/edit.json
Commerce APIPOST:ai/edit.json

POST:ai/edit.json

Description

Edit rich text content using AI editing methods.

Permission bit: "ai.modify"

Topic: AI

Query Parameters

shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

AIEditInput

{
  "operation": "elaborate",
  "raw_content": "{}",
  "rich": true
}

Response Body

AIEditOutput

Response Body Type

Loading module