Import garnishes from JSON
POST/api/v1/workspaces/:workspaceId/garnishes/import/json
Required API-key permission: GARNISHES_CREATE — Create garnishes
Imports garnishes from the portable JSON export format via a three-phase flow (validate / prepare-mapping / execute). Consumes exactly what the export endpoint produces. execute is all-or-nothing: if any item or referenced garnish is invalid nothing is written (400 with per-item issues), and all writes run in one transaction.
Request
Responses
- 200
- 400
- 401
- 403
Import garnishes from JSON
Invalid request or import items; nothing was imported.
Missing or invalid credentials
Insufficient permissions