Update card
PUT/api/v1/workspaces/:workspaceId/cards/:cardId
Required API-key permission: CARDS_UPDATE — Update cocktail cards
Replaces the card metadata and its full set of groups/items. Groups whose id belongs to this card keep their id (guest menus reference them); other groups are created, missing ones deleted.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Update card
A cocktail does not exist in this workspace or appears twice in a group.
Missing or invalid credentials
Insufficient permissions
Card not found.
A supplied group id is already in use.