---
title: "Bulk update catalogvisibilities"
method: PATCH
path: "/v1/catalog-visibilities"
tags: ["CatalogVisibilities"]
---

# Bulk update catalogvisibilities

`PATCH /v1/catalog-visibilities`

## Request

- Base URL: `https://api.finalpos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.finalpos.com/v1/catalog-visibilities`
- Auth: API key in header `x-api-key`

Updates multiple catalogvisibilities in a single request. Each item must include an id and the fields to update. Returns per-item results.

## Request body

- BulkUpdateRequestDto
  - `items` BulkUpdateItemDto[], required: Array of items to update
    - `id` string, required: The ID of the item to update
    - `data` object, required: The data payload with fields to update
    - `clientRef` string: Client-provided reference key for correlating request items with response results
  - `options` BulkOptionsDto
    - `onError` 'continue' | 'abort': How to handle item-level failures. "continue" processes all items and reports per-item status. "abort" stops on the first failure.

## Response `200`

Bulk update completed. Each item in the results array indicates success or failure.

- object
  - `summary` BulkSummaryDto
    - `total` number, required: Total number of items in the bulk operation
    - `succeeded` number, required: Number of items that succeeded
    - `failed` number, required: Number of items that failed
    - `skipped` number: Number of items skipped (abort policy only)
  - `results` union[]
    - union
      - object
        - `index` number
        - `status` 'success'
        - `data` CatalogVisibilityResponseDto
          - `id` string: Unique identifier for the CatalogVisibility.
          - `createdAt` string, date-time: Timestamp when the CatalogVisibility was created.
          - `updatedAt` string, date-time: Timestamp when the CatalogVisibility was last updated.
          - `companyId` string: Company ID associated with the CatalogVisibility.
          - `productId` string: Product ID hidden by this exception.
          - `variantId` string: Variant ID hidden by this exception. Omit to hide all variants of the product at the outlet.
          - `outletId` string: Outlet ID where the product/variant is hidden.
        - `clientRef` string
      - BulkItemErrorResultDto
        - `index` number, required: Zero-based index of the item in the request array
        - `status` 'error', required: Result status
        - `error` BulkItemErrorDetail, required
          - `statusCode` number, required: HTTP-style status code for this item
          - `message` string, required: Error message
        - `clientRef` string: Client-provided reference key echoed back

## Other responses

- `400`: Bad request. The bulk request itself is invalid.

---

[API](https://skmtc.dev/finalpos/apis/final-pos-public-api.md) · [All operations](https://skmtc.dev/finalpos/apis/final-pos-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finalpos/apis/final-pos-public-api/revisions/6a6842dcb479?raw)
