Manage beers and taps with the API
Add and update beers, see what's pouring, tap and untap kegs, add taps and link records to your own system's IDs with the Partner API, with sample requests.
Keep your taplist in step with another system, such as a POS or an inventory tool, by managing beers and taps through the Partner API. Changes show on your taplist and TVs the same way as changes made in the admin.
The examples use $BASE for https://api.raspberrypints.com/v1/partner/breweries/YOUR_BREWERY_ID and $KEY for your API key. To set up both, see Authentication and scopes.
See what's on tap
GET /taps needs the Taps: Read scope. It lists every tap with the beer on it and its keg (the session). An empty tap has beer and session set to null.
curl "$BASE/taps" -H "x-api-key: $KEY"{
"breweryId": "YOUR_BREWERY_ID",
"taps": [
{
"tapId": "TAP_ID",
"tapNumber": 1,
"taplistId": "TAPLIST_ID",
"externalId": "pos-line-1",
"beer": {
"beerId": "BEER_ID",
"name": "Hazy IPA",
"style": "New England IPA",
"abv": 6.5,
"ibu": 45,
"srm": 4,
"description": "Juicy and soft",
"price": "7.00"
},
"session": {
"sessionId": "SESSION_ID",
"tappedAt": "2026-11-20T17:02:11.000Z",
"volumeStart": 1984,
"volumeRemaining": 1520
}
}
]
}Keg volumes are in US fluid ounces, whatever measurement system the admin uses. GET /taps/TAP_ID returns one tap in the same shape.
Add and update beers
| Request | Scope | What it does |
|---|---|---|
| GET /beers | Beers: Read | Lists your brewery's beers |
| GET /beers/BEER_ID | Beers: Read | Gets one beer |
| POST /beers | Beers: Write | Creates a beer |
| PATCH /beers/BEER_ID | Beers: Write | Updates a beer |
| DELETE /beers/BEER_ID | Beers: Write | Deletes a beer |
Creating a beer needs name, style, abv, ibu, srm and breweryName. description, price (as text, such as "7.00"), gtin (a retail barcode), externalId and metadata are optional. A successful create returns 201 with the new beer, including its beerId.
curl -X POST "$BASE/beers" \
-H "x-api-key: $KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Hazy IPA",
"style": "New England IPA",
"abv": 6.5,
"ibu": 45,
"srm": 4,
"breweryName": "Your Brewery",
"price": "7.00",
"externalId": "sku-10042"
}'Things to know:
- Updates still need the six required fields. Send
name,style,abv,ibu,srmandbreweryNameon every PATCH. Optional fields you leave out keep their current values. - Beers you create through the API are private, like beers you add in the admin. They show on your own taplist when they're on a tap.
- Some beers can't be changed or deleted. You can't delete a beer that's on tap, or delete or update one of your public beers while another brewery is using it. A public beer that's on tap can't be updated until it's untapped. These requests get 409 Conflict.
- Images aren't set through the API. Add a beer's picture in the admin. Updates through the API keep it.
Tap and untap a beer
Both need the Taps: Write scope.
To put a beer on an empty tap, send its beerId and, if you want keg levels, the keg size in US fluid ounces as volumeStart. For example, 1984 is a half barrel and 640 is a corny keg.
curl -X POST "$BASE/taps/TAP_ID/tap" \
-H "x-api-key: $KEY" \
-H "Content-Type: application/json" \
-d '{ "beerId": "BEER_ID", "volumeStart": 1984 }'It returns 201 with the new keg's sessionId, tappedAt, volumeStart and volumeRemaining. Without volumeStart, the keg has no size: the beer shows on your taplist, but there's no keg level to count down.
You can tap your own beers and beers other breweries have made public. A private beer from another brewery gets 403.
To take the beer off, untap the tap. There's no request body:
curl -X POST "$BASE/taps/TAP_ID/untap" -H "x-api-key: $KEY"{ "message": "Beer untapped successfully" }A tap holds one keg at a time. Tapping a tap that already has a beer on it gets 409 with Tap already has an active session. Untap it first. To change kegs, untap first, then tap the next beer.
Add and remove taps
To add a tap, you need your taplist's ID. Get it from GET /taplist (scope Taps: Read):
curl "$BASE/taplist" -H "x-api-key: $KEY"{ "taplistId": "TAPLIST_ID", "breweryId": "YOUR_BREWERY_ID" }Then create the tap (scope Taps: Write). It's numbered one higher than your current last tap.
curl -X POST "$BASE/taps" \
-H "x-api-key: $KEY" \
-H "Content-Type: application/json" \
-d '{ "taplistId": "TAPLIST_ID", "externalId": "pos-line-9" }'Your plan's tap limit applies. When you've reached it, the request gets 402 with the code TAP_LIMIT_EXCEEDED. The Free plan includes 3 taps, Basic 8 taps and Professional 100 taps.
DELETE /taps/TAP_ID removes a tap, with two rules that keep your tap numbers in order: you can only delete the last tap (the highest number), and it must be empty. Otherwise the request gets 409.
Use your own IDs
Beers, taps and pours can carry an externalId: the ID your own system uses for that record, such as a POS line or a product SKU. Set it when you create the record, then look the record up by it:
| Request | Scope |
|---|---|
| GET /beers/external/EXTERNAL_ID | Beers: Read |
| GET /taps/external/EXTERNAL_ID | Taps: Read |
| GET /pours/external/EXTERNAL_ID | Pours: Read |
Rules for external IDs:
- Up to 255 characters: letters, numbers, dots, underscores, colons and hyphens.
- Each one is unique within your brewery for that kind of record. Reusing one gets 409.
- You can change a beer's external ID with PATCH. A tap's external ID is set when the tap is created through the API.
Records can also carry metadata: up to 10 keys, each made of letters, numbers and underscores (up to 64 characters), with text values up to 1,024 characters. Use it for anything your integration needs to remember, such as a location code.
Full reference
Every endpoint, field and response is in the API reference. To keep keg levels up to date as you pour, see Record pours with the API.
Was this article helpful?
