/content mapping & automation
Map and update Business Text via API
In this lesson, we’ll walk through how to locate and update custom business text fields inside the site’s content object.
Key takeaways:
- Business Text fields are located within the site_texts object.
- Any custom text entries you’ve added will appear under the
custom key as an array of objects—each one containing both the field’s label and its corresponding content.
Important
- Field Format: Business text fields are treated as rich text in the editor. That means the content often includes HTML tags for formatting (like <p>, <strong>, <br>, etc.).
- Input Consistency: While you can pass plain text, the editor will automatically wrap it in tags (usually <p>) once it’s edited. To avoid inconsistent formatting, it’s best to send properly formatted HTML strings from the start.
- Structure Awareness: Always make sure you're updating only the content values within the object—not the labels—so the connection to the template design remains intact.