younifyd
Menu

Reindex Tenant Releases

Reindex all releases for tenant

POST/pcm/catalogs/reindex-releases

Use it in a workflow

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

Request

Request body

Enter the body as JSON in the step's Body field.

dataobject

The primary data for the request.

force_reindexboolean

Reindex all releases for tenant whether the release index is out of sync or not.

Default false

json
{
  "data": {
    "force_reindex": true
  }
}

Response

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

idstring (uuid)

The unique identifier for the job.

typestring

The type of the resource object.

One ofjob

attributesobject
statusstringrequired

The status of the job.

One ofpendingprocessingcompletefailed

catalog_idstring (uuid)

The ID of the catalog.

catalog_release_idstring (uuid)

The ID of the catalog release.

typestringrequired

The type of the job.

One ofindex-releasedelete-releasereindex-tenant-releasesDefault "index"

metaobject

Meta information of the job

resultsarray<object>

Results of the job

errorsarray<object>2 fields

Errors occurred during the job

json
{
  "id": "4c9efe34-57bb-4117-abed-184008d3ae0a",
  "type": "job",
  "attributes": {
    "status": "pending",
    "type": "index-release",
    "catalog_id": "ac107ce9-96ac-4bd5-aa3d-59f40b91279b",
    "catalog_release_id": "c12c4e5b-f5e4-4bd0-ac86-9f1202fc27f9"
  },
  "meta": {
    "results": [
      {}
    ],
    "errors": [
      {
        "detail": "Failed to get release",
        "context": {}
      }
    ]
  }
}

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