Apply template
POST/api/v1/workspaces/:workspaceId/templates/:key/apply
Required API-key permission: COCKTAILS_CREATE — Create cocktail recipes
Imports a published template (all, basics or a selection) in one transaction. Items with a name that already exists in the workspace (any language) are linked instead of created; catalog templates come without prices and with unconfirmed guest information. Guest menus of the template (with all, or built on a selected card) are enabled, published and default only when the workspace has no guest menu yet; otherwise they are created disabled and unpublished. API keys additionally need INGREDIENTS_CREATE, GLASSES_CREATE, GARNISHES_CREATE and CARDS_CREATE.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Apply template
Invalid selection (INVALID_SELECTION).
Missing or invalid credentials
Insufficient permissions
Template not found or not published.