younifyd
Menu

Get Widget Templates

Get All Widget Templates

GET/content/widget-templates

Use it in a workflow

  1. Add a step and choose the BigCommerce Content connector.
  2. Pick the Get Widget Templates action (under Widgets).
  3. Fill in the fields below, then reference the result from later steps as {{getWidgetTemplates.response.data}}.

Request

Query parameters

pageinteger

Specifies the page number in a limited (paginated) list of products.

limitinteger

Controls the number of items per page in a limited (paginated) list of products.

widget_template_kindstring

The kind of widget template.

channel_id:ininteger

Filter items by channel_id.

Headers

Acceptstringrequired

The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the response body.

Default "application/json"

Content-Typestringrequired

The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the request body.

Default "application/json"

Response

Returns 200 with an object. Read it in later steps with {{getWidgetTemplates.response.data.<field>}}.

dataarray<any>
metaobject

Data about the response, including pagination and collection totals.

paginationobject6 fields

Data about the response, including pagination and collection totals.

json
{
  "data": [
    null
  ],
  "meta": {
    "pagination": {
      "total": 0,
      "count": 0,
      "per_page": 0,
      "current_page": 0,
      "total_pages": 0,
      "links": {
        "previous": "string",
        "current": "string",
        "next": "string"
      }
    }
  }
}

Need more? See the BigCommerce Content guide for connection setup and behaviour shared by every action.