Read every prepared product's recipe
Changed onEach prepared product of the organization with its current recipe, as a prep starts from it: what one batch makes in the product's base unit, and its lines as productRecipe answers them. Purchased products are left out. 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.
post/api/public/v1/inventoryRecipes/preparedRecipes
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
object required
organizationId, string required
Response
OK
object[] required
stockItemId, string required
output, object nullable required
lines, object[] required
Changes
- info
endpoint added
- info