younifyd
Menu

Create or update facet options

Create or update facet options

PATCH/v1/facets/{facet_name}/options

Use it in a workflow

  1. Add a step and choose the Constructor connector.
  2. Pick the Create or update facet options action (under Facets).
  3. Fill in the fields below, then reference the result from later steps as {{createOrUpdateFacetOptions.response.data}}.

Request

Path parameters

facet_namestringrequired

Query parameters

sectionstring

The section of the index to use. Defaults to `Products`.

cstring

The ID of the client and version that the request is coming from, such as `cio-js-2.90`.

Response

Returns 200 with a array<object>. Read it in later steps with {{createOrUpdateFacetOptions.response.data.<field>}}.

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