POST /api/public/v1/inventory/setLowStockAt
Changed onSets the on hand, in thousandths of the product's base unit, at or below which a product reads as running low at any location that has stocked it, one for the whole organization; quantity null resets it to its unit's default (1 kg, 1 L or 5 pcs). NOT_FOUND for a product the organization does not hold; CONFLICT as productArchived for an archived product. Refused with FORBIDDEN as inventoryDisabled while the inventory flag is off. 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
Changes
- info
endpoint added
- info