---
title: "Make a supplier private to an enterprise, or public"
method: POST
path: "/api/public/v1/suppliers/setPrivacy"
---

# Make a supplier private to an enterprise, or public

`POST /api/public/v1/suppliers/setPrivacy`

## Request

- Base URL: `https://app.fortuneos.ai`
- URL: `https://app.fortuneos.ai/api/public/v1/suppliers/setPrivacy`
- Auth: none declared

Makes the supplier private to privateToEnterpriseId, the one enterprise whose locations its shipment orders go to, or public with null, and returns the setting as suppliers.privacy does. A supplier shares with several enterprises but is private to at most one; a share ending later clears nothing, but the supplier then has no buyers until the setting changes. Refused with NOT_FOUND and the refusal supplierNotFound for an organization that is not a supplier, and with CONFLICT and the refusal enterpriseNotShared for an enterprise the supplier shares no live location with. Refused with FORBIDDEN as `paywallLocked` when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.

## Request body

- object
  - `organizationId` string, required
  - `privateToEnterpriseId` string, nullable, required

## Response `200`

OK

- object
  - `privateToEnterpriseId` string, nullable, required
  - `enterprises` object[], required
    - `id` string, required
    - `name` string, required

## Changes

- **2026-11-19** `bba1dbcf014e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fortis/apis/fortune-os-api/changes/api/public/v1/suppliers/setPrivacy/post.md)

---

[API](https://skmtc.dev/fortis/apis/fortune-os-api.md) - [All operations](https://skmtc.dev/fortis/apis/fortune-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fortis/apis/fortune-os-api/revisions/522f3cea550d?raw)
