Skip to main content

Widgets

GET Retrieve a Widget Info‚Äč

It is used to get widget information defined in Omnitron.

Path https://{storefront_url}/widgets/<widget-slug>/

Response

{
"name": "Campaign",
"slug": "x-campaign",
"attributes": {"abc": "xyz"},
"template": "widgets/campaign.html",
"products": [
{"pk": 10, "sku": "12612662136", ...},
{"pk": 11, "sku": "12612662137", ...},
....
]
}