Read a supplier's private or public setting

Changed on

Returns the enterprise the supplier is private to, null while it is public, and the enterprises it shares at least one live location with, by name: the ones it may be private to. Refused with NOT_FOUND and the refusal supplierNotFound for an organization that is not a supplier. 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.

post/api/public/v1/suppliers/privacy

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
organizationId, string required

Response

OK

object required
privateToEnterpriseId, string nullable required
enterprises, object[] required

Changes