Create paragraph
shop_create_paragraphAdds a description paragraph to a given product.
Note that if you want to create a PHOTO of EMBED paragraph you must first create a description paragraph with the right type and then associate it with the paragraph media that will store the actual content.
Guidance: Adds a description paragraph to a given product. For PHOTO or EMBED types, create the paragraph first, then use shop_... | context: product_id, paragraph_type, position
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | If the paragraph stores a `"TEXT"` content, this flag indicates whether the paragraph should be displayed as raw HTML in the shop owner's backoffice or not. | |
| content | No | Content of the paragraph. **This field should only be provided if the paragraph stores a `"TEXT"` or `"QUOTE"` content.** | |
| position | Yes | Position of the paragraph in the product's description (0 is the first). | |
| product_id | Yes | Unique ID of the product. | |
| paragraph_type | Yes | Type of content contained in the paragraph.- **TEXT**: simple text (HTML tags can be used for formatting) - **QUOTE**: simple quote (HTML tags can be used for formatting) - **EMBED**: external content integration - **PHOTO**: image |