Widgets
Path parameters
slugstringRequired
Widget slug identifier
Responses
200
Widget data retrieved
application/json
Widget template context data returned by the widget endpoint. Contains widget name, slug, template path, and attributes. The attributes structure depends on the widget type schema. Used for rendering widgets in pages and templates.
namestringRequiredExample:
Featured ProductsslugstringRequiredExample:
featured-productstemplatestringRequiredExample:
widgets/featured_products.html404
Widget not found
get
/widgets/{slug}/Path parameters
slugstringRequired
Widget slug identifier
Responses
200
Widget schema retrieved
application/json
Defines a widget type with its JSON schema for validating and configuring widget attributes. Used to retrieve widget type information and understand what attributes a widget supports. The schema defines the structure and validation rules for widget attributes.
pkintegerRequiredExample:
1namestringRequiredExample:
Product Carousel404
Widget not found or has no widget type
get
/widgets/{slug}/schema/Last updated
Was this helpful?

