Import ingredients from JSON
POST/api/v1/workspaces/:workspaceId/ingredients/import/json
Required API-key permission: INGREDIENTS_CREATE — Create ingredients
Imports ingredients from the portable JSON export format via a three-phase flow (validate / prepare-mapping / execute). Consumes exactly what the export endpoint produces; missing units are recreated by name.
Request
Responses
- 200
- 400
- 401
- 403
Import ingredients from JSON
Validation error
Missing or invalid credentials
Insufficient permissions