Make a supplier private to an enterprise, or public
Changed onMakes 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
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- info
endpoint added
- info