POST /api/public/v1/inventory/dictionarySearch
Changed onEntries of the stock dictionary named like query, each as its name in locale, its base unit, its nutrition per 100 g, gramsPerUnit, the grams one of its units weighs, and its allergen codes, for naming a new product; nutrition is null where the dictionary has no figures for the entry, grams per unit where it has no weight for the unit and always for g, and allergens empty where it records none. The dictionary is no organization's, so the grant may be held at any; empty while no dictionary is configured or it does not answer. 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
Response
OK
Changes
- info
added the required property
items/keyto the response with the status
- info
- info
added the new
esenum value to the request propertylocale - info
added the new
hyenum value to the request propertylocale
- info