---
title: "Hide variant at every outlet"
method: POST
path: "/v1/workflows/visibility/variant/{variantId}/hide-everywhere"
tags: ["Catalog visibility"]
---

# Hide variant at every outlet

`POST /v1/workflows/visibility/variant/{variantId}/hide-everywhere`

## 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/workflows/visibility/variant/{variantId}/hide-everywhere`
- Auth: API key in header `x-api-key`

Upserts a hide-list row for the variant at every outlet that belongs to the company. Idempotent.

## Path parameters

- `variantId` string, required

## Response `200`

Number of hide-list rows affected by the operation.

- object
  - `affected` number, required

## Other responses

- `400`: Validation failed (invalid id or empty outletIds).
- `401`: Missing or invalid API key.
- `404`: Product, variant, or outlet not found for this company.

---

[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)
