---
title: "PATCH /indexer-api/v1/update/{indexName}"
method: PATCH
path: "/indexer-api/v1/update/{indexName}"
tags: ["update"]
---

# PATCH /indexer-api/v1/update/{indexName}

`PATCH /indexer-api/v1/update/{indexName}`

Partial update of an existing document. If the document does not exist, no update will be performed and status code 404 is returned. In case the document is a master product with variants, the provided master product may only contain the changed values. However if some data at the product variants are updated, all data from all variant products are required, otherwise missing variants won't be there after the update! This is how single variants can be deleted.

## Path parameters

- `indexName` string, required

## Response `200`

document successfuly patched

## Other responses

- `404` — index does not exist or document not found

## Changes

- **2020-01-29** `0be3c29195f5` — 1 info
  - the endpoint scheme security `basic-auth` was added to the API
- **2020-01-28** `dc967a44de32` — 2 info
  - api tag `update` added
  - api tag `index` removed
- **2020-01-24** `96c30bc260ed` — 1 info
  - endpoint added
- **2020-01-03** `5e91e5c71711` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/commerceexperts/apis/open-commerce-search-stack-api/changes/indexer-api/v1/update/:indexName/patch.md)

---

[API](https://skmtc.dev/commerceexperts/apis/open-commerce-search-stack-api.md) · [All operations](https://skmtc.dev/commerceexperts/apis/open-commerce-search-stack-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/commerceexperts/open-commerce-search-stack-api/revisions/2a792e162b0e/schema)
