Update calculation
PUT/api/v1/workspaces/:workspaceId/calculations/:calculationId
Required API-key permission: CALCULATIONS_UPDATE — Update cost calculations
Replaces the calculation metadata and its full set of items and ingredient shopping units. Not available to the instance master key (calculations record the updating user).
Request
Responses
- 200
- 400
- 401
- 403
- 404
Update calculation
Invalid group, or a cocktail/ingredient/unit that does not exist in this workspace.
Missing or invalid credentials
Master API key cannot write calculations.
Calculation not found.