Create or update search override
PUT/pcm/catalogs/search/overrides/:product_id
Create or update the search override for one product. Send fields to set values, cleared to remove fields, or both. Fields you leave out stay unchanged. The first request creates the override.
A name is a core product field, or a field configured for the tenant. A pattern such as price.*.amount is not a name. The value must match the field type. admin_attributes fields must be private. An invalid name or value is a validation error, meta.field names it, and nothing is stored. An expires_at in the past is stored and is not applied. persist_across_releases false keeps the override on releases that already have a search index, including a reindex or migration rebuild of those releases, and leaves it off a release created later. Omit it, or send true, and the override is written onto later releases as well. An omitted value reads back as true.
Request
Responses
- 200
- 400
- 500
Successfully stored search override
Bad request - invalid parameters
Internal server error. There was a system failure in the platform.