younifyd
Menu

List Indexable Fields

List indexable fields

GET/pcm/catalogs/indexable-fields

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the List Indexable Fields action (under Catalog Search).
  3. Fill in the fields below, then reference the result from later steps as {{listIndexableFields.response.data}}.

Fields

baseUrlstring

The API host this action calls. Choose one, or pick Custom to enter your own.

One ofhttps://euwest.api.elasticpath.com/v2https://useast.api.elasticpath.com/v2__custom__Default "https://euwest.api.elasticpath.com/v2"

baseUrlCustomstring
forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

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

dataarray<object>
idstring (uuid)required

A unique identifier of the indexable fields.

typestringrequired

Represents the type of object being returned. Always `catalog_search_indexable_fields`.

One ofcatalog_search_indexable_fields

attributesobjectrequired4 fields
metaobjectrequired1 fields
json
{
  "data": [
    {
      "id": "805103ff-0a37-4f83-8fe0-95a16039bd98",
      "type": "catalog_search_indexable_fields",
      "attributes": {
        "fields": [
          {
            "name": "extensions.products(clothing).color",
            "type": "string",
            "facetable": false,
            "sortable": false,
            "locale": "en"
          },
          {
            "name": "shopper_attributes.fabric",
            "type": "string",
            "facetable": false,
            "sortable": false
          },
          {
            "name": "admin_attributes.internal_grade",
            "type": "string",
            "sortable": true
          }
        ],
        "core_field_overrides": [
          {
            "name": "name",
            "stem": true,
            "token_separators": [
              null
            ],
            "symbols_to_index": [
              null
            ],
            "sortable": true,
            "facetable": true
          }
        ],
        "token_separators": [
          "string"
        ],
        "symbols_to_index": [
          "string"
        ]
      },
      "meta": {
        "owner": "organization"
      }
    }
  ]
}

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