Menu
Preview Widget
Render a Widget Template
POST
/content/widget-templates/{uuid}/previewUse it in a workflow
- Add a step and choose the BigCommerce Content connector.
- Pick the Preview Widget action (under Widgets).
- Fill in the fields below, then reference the result from later steps as
{{previewWidget.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"widget_configuration": {}
}
Response
Returns 200 with an object. Read it in later steps with {{previewWidget.response.data.<field>}}.
{
"data": {
"html": "string"
}
}
Need more? See the BigCommerce Content guide for connection setup and behaviour shared by every action.
Was this page helpful?