Connect API Documentation

https://connect.yourbarmate.com/api
Changelog

Creates or updates a single category

PUT /categories/:id

Parameters

  • id: The identifier of the category to create or update

Request properties

  • id: The category identifier (optional). If provided, it must be equal to the id in the path parameters.
  • name: The category name

Status codes

  • 200 on success
  • 400 if the request is invalid

Response properties

The updated categories as returned by GET /categories.

Example request

{
"id": "1234",
"name": "Spirits"
}