Galley
App · 23 actions
Manage Galley recipes, ingredients, menus and vendors, and tag them with your categories.
Actions
| Action | What it does |
|---|---|
| Archive recipes | Archive recipes, hiding them from lists without deleting them. |
| Create ingredient | Create an ingredient. |
| Create menu | Create a menu for a location. |
| Create recipe | Create a recipe. |
| Create vendor | Create a vendor. |
| Delete ingredient | Delete an ingredient that no recipe uses. |
| Delete menu | Delete a menu. |
| Delete recipe | Delete a recipe that no other recipe or menu uses. |
| Delete vendor | Delete a vendor. |
| Get ingredient | Get one ingredient. |
| Get menu | Get one menu and the recipes on it. |
| Get recipe | Get one recipe with its instructions and ingredients. |
| List ingredients | List ingredients, 25 at a time. |
| List locations | List the company's locations (kitchens and sites). |
| List menus | List menus, 25 at a time. |
| List recipes | List recipes with their yield, price and tags, 25 at a time. |
| List tags | List the tag categories and their values (Galley's categories), optionally for one kind of record. |
| List vendor items | List the items vendors sell, with SKU and cost, 25 at a time. |
| List vendors | List vendors, 25 at a time. |
| Tag records | Add tags (category values) to recipes, ingredients, menus or other records. |
| Update ingredient | Change an ingredient. |
| Update recipe | Change a recipe's name, yield, price, shelf life or notes. |
| Update vendor | Change a vendor's contact details. |
Archive recipes
Archive recipes, hiding them from lists without deleting them.
Inputs
- Recipes
recipe_idslistRequired - The recipes' Galley IDs.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"recipes": [
{
"archivedAt": "example",
"id": "example"
}
]
}
}Create ingredient
Create an ingredient.
Inputs
- Name
nametextRequired - The ingredient's name.
- Description
descriptiontext - Description.
- Label name
external_nametext - The name shown on labels.
- External ID
external_idtext - An outside system's ID for it.
- Non-food
is_non_foodtrue/false - Whether it's a supply (packaging, cleaning) rather than food.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"archivedAt": "example",
"categoryValues": [
{
"id": "example",
"name": "example"
}
],
"createdAt": "example",
"description": "example",
"externalId": "example",
"externalName": "example",
"id": "example",
"isNonFood": true,
"name": "example",
"updatedAt": "example"
}
}Create menu
Create a menu for a location. Add its recipes in Galley.
Inputs
- Name
nametextRequired - The menu's name.
- Location
location_idtextRequired - The location the menu is for.
- Date
datedate - The day the menu is served.
- Notes
notestext - Notes.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"createdAt": "example",
"date": "example",
"id": "example",
"location": {
"id": "example",
"name": "example"
},
"name": "example",
"notes": "example"
}
}Create recipe
Create a recipe. Add its ingredients and steps in Galley.
Inputs
- Name
nametextRequired - The recipe's name.
- Total yield
total_yieldnumberRequired - How much one batch makes, in the yield unit.At least 0.
- Yield unit
yield_unittext - The unit the yield is in, such as `each`, `g` or `serving`.Default:
each. - Description
descriptiontext - Description.
- Menu name
external_nametext - The name guests see.
- Notes
notestext - Notes.
- Sellable
is_dishtrue/false - Sellable (on) or a component of other recipes (off).
- Shelf life (days)
shelf_life_daysnumber - How many days it keeps.At least 0.
- Short code
short_codetext - A short code for labels and reports.
- Price
pricenumber - The selling price, such as 12.50.At least 0.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"archivedAt": "example",
"categoryValues": [
{
"id": "example",
"name": "example"
}
],
"createdAt": "example",
"description": "example",
"externalName": "example",
"id": "example",
"isDish": true,
"name": "example",
"notes": "example",
"priceCents": 1,
"shelfLifeDays": 1,
"shortCode": "example",
"totalYield": 1,
"updatedAt": "example",
"yieldUnit": {
"id": "example",
"name": "example"
}
}
}Create vendor
Create a vendor.
Inputs
- Name
nametextRequired - The vendor's name.
- Email
emailtext - Ordering email.
- Phone
phone_numbertext - Phone number.
- Website
websitetext - Website.
- Street address
street_addresstext - Street address.
- City
citytext - City.
- State
statetext - State.
- ZIP code
zip_codetext - ZIP code.
- External ID
external_idtext - An outside system's ID for it.
- Notes
notestext - Notes.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"city": "example",
"email": "example",
"externalId": "example",
"id": "example",
"name": "example",
"notes": "example",
"phoneNumber": "example",
"state": "example",
"streetAddress": "example",
"website": "example",
"zipCode": "example"
}
}Delete ingredient
Delete an ingredient that no recipe uses.
Inputs
- Ingredient
ingredient_idtextRequired - The ingredient's Galley ID.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"deleted": true,
"id": "example"
}
}Delete menu
Delete a menu.
Inputs
- Menu
menu_idtextRequired - The menu's Galley ID.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"deleted": true,
"id": "example"
}
}Delete recipe
Delete a recipe that no other recipe or menu uses.
Inputs
- Recipe
recipe_idtextRequired - The recipe's Galley ID.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"deleted": true,
"id": "example"
}
}Delete vendor
Delete a vendor.
Inputs
- Vendor
vendor_idtextRequired - The vendor's Galley ID.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"deleted": true,
"id": "example"
}
}Get ingredient
Get one ingredient.
Inputs
- Ingredient
ingredient_idtextRequired - The ingredient's Galley ID.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"archivedAt": "example",
"categoryValues": [
{
"id": "example",
"name": "example"
}
],
"createdAt": "example",
"description": "example",
"externalId": "example",
"externalName": "example",
"id": "example",
"isNonFood": true,
"name": "example",
"updatedAt": "example"
}
}Get menu
Get one menu and the recipes on it.
Inputs
- Menu
menu_idtextRequired - The menu's Galley ID.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"createdAt": "example",
"date": "example",
"id": "example",
"location": {
"id": "example",
"name": "example"
},
"menuItems": [
{
"recipe": {
"id": "example",
"name": "example"
},
"unit": {
"id": "example",
"name": "example"
},
"volume": 1
}
],
"name": "example",
"notes": "example"
}
}Get recipe
Get one recipe with its instructions and ingredients.
Inputs
- Recipe
recipe_idtextRequired - The recipe's Galley ID.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"allIngredientsWithUsages": [
{
"ingredient": {
"id": "example",
"name": "example"
},
"totalQuantity": 1,
"unit": {
"id": "example",
"name": "example"
}
}
],
"archivedAt": "example",
"categoryValues": [
{
"id": "example",
"name": "example"
}
],
"createdAt": "example",
"description": "example",
"externalName": "example",
"id": "example",
"instructions": "example",
"isDish": true,
"name": "example",
"notes": "example",
"priceCents": 1,
"shelfLifeDays": 1,
"shortCode": "example",
"totalYield": 1,
"updatedAt": "example",
"yieldUnit": {
"id": "example",
"name": "example"
}
}
}List ingredients
List ingredients, 25 at a time.
Inputs
- Name
nametext - Only ingredients whose name matches.
- Archived
archivedtrue/false - Archived ingredients (on) or current ones (off).
- Sort by
order_bytext - What to sort by.One of:
name,updatedAt. - Direction
sort_directiontext - Newest or last first (desc, the default) or oldest first (asc).One of:
desc,asc. - How many
limitnumber - How many records to return, at most 25 (Galley's page size).From 1 to 25.
- Skip
start_indexnumber - How many records to skip, to read the next page (0 for the first).At least 0.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"ingredients": [
{
"archivedAt": "example",
"categoryValues": [
{
"id": "example",
"name": "example"
}
],
"createdAt": "example",
"description": "example",
"externalId": "example",
"externalName": "example",
"id": "example",
"isNonFood": true,
"name": "example",
"updatedAt": "example"
}
],
"pageInfo": {
"endIndex": 1,
"hasNextPage": true,
"startIndex": 1
},
"totalCount": 1
}
}List locations
List the company's locations (kitchens and sites).
Inputs
None.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"locations": [
{
"id": "example",
"name": "example"
}
]
}
}List menus
List menus, 25 at a time.
Inputs
- Name
nametext - Only menus whose name matches.
- Sort by
order_bytext - What to sort by.One of:
createdAt,updatedAt. - Direction
sort_directiontext - Newest or last first (desc, the default) or oldest first (asc).One of:
desc,asc. - How many
limitnumber - How many records to return, at most 25 (Galley's page size).From 1 to 25.
- Skip
start_indexnumber - How many records to skip, to read the next page (0 for the first).At least 0.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"menus": [
{
"createdAt": "example",
"date": "example",
"id": "example",
"location": {
"id": "example",
"name": "example"
},
"name": "example",
"notes": "example"
}
],
"pageInfo": {
"endIndex": 1,
"hasNextPage": true,
"startIndex": 1
},
"totalCount": 1
}
}List recipes
List recipes with their yield, price and tags, 25 at a time.
Inputs
- Name
nametext - Only recipes whose name matches.
- Archived
archivedtrue/false - Archived recipes (on) or current ones (off).
- Sort by
order_bytext - What to sort by.One of:
name,createdAt,updatedAt. - Direction
sort_directiontext - Newest or last first (desc, the default) or oldest first (asc).One of:
desc,asc. - How many
limitnumber - How many records to return, at most 25 (Galley's page size).From 1 to 25.
- Skip
start_indexnumber - How many records to skip, to read the next page (0 for the first).At least 0.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"pageInfo": {
"endIndex": 1,
"hasNextPage": true,
"startIndex": 1
},
"recipes": [
{
"archivedAt": "example",
"categoryValues": [
{
"id": "example",
"name": "example"
}
],
"createdAt": "example",
"description": "example",
"externalName": "example",
"id": "example",
"isDish": true,
"name": "example",
"notes": "example",
"priceCents": 1,
"shelfLifeDays": 1,
"shortCode": "example",
"totalYield": 1,
"updatedAt": "example",
"yieldUnit": {
"id": "example",
"name": "example"
}
}
],
"totalCount": 1
}
}List tags
List the tag categories and their values (Galley's categories), optionally for one kind of record.
Inputs
- Record kind
item_typetext - Only categories for this kind of record.One of:
recipe,ingredient,menu,menuItem,vendorItem,vendor.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"categories": [
{
"categoryValues": [
{
"id": "example",
"name": "example"
}
],
"id": "example",
"itemType": "example",
"name": "example"
}
]
}
}List vendor items
List the items vendors sell, with SKU and cost, 25 at a time.
Inputs
- Vendor
vendor_idtext - Only this vendor's items.
- How many
limitnumber - How many records to return, at most 25 (Galley's page size).From 1 to 25.
- Skip
start_indexnumber - How many records to skip, to read the next page (0 for the first).At least 0.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"pageInfo": {
"endIndex": 1,
"hasNextPage": true,
"startIndex": 1
},
"totalCount": 1,
"vendorItems": [
{
"costCents": 1,
"createdAt": "example",
"externalId": "example",
"id": "example",
"name": "example",
"sku": "example",
"updatedAt": "example",
"vendor": {
"id": "example",
"name": "example"
}
}
]
}
}List vendors
List vendors, 25 at a time.
Inputs
- How many
limitnumber - How many records to return, at most 25 (Galley's page size).From 1 to 25.
- Skip
start_indexnumber - How many records to skip, to read the next page (0 for the first).At least 0.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"pageInfo": {
"endIndex": 1,
"hasNextPage": true,
"startIndex": 1
},
"totalCount": 1,
"vendors": [
{
"city": "example",
"email": "example",
"externalId": "example",
"id": "example",
"name": "example",
"notes": "example",
"phoneNumber": "example",
"state": "example",
"streetAddress": "example",
"website": "example",
"zipCode": "example"
}
]
}
}Tag records
Add tags (category values) to recipes, ingredients, menus or other records.
Inputs
- Record kind
item_typetextRequired - The kind of records to tag.One of:
recipe,ingredient,menu,menuItem,vendorItem,vendor. - Records
item_idslistRequired - The records' Galley IDs.
- Tags
tag_idslistRequired - The tags (category value IDs) to add, from 'List tags'.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"categoryValueItems": [
{
"categoryValue": {
"id": "example",
"name": "example"
},
"itemId": "example",
"itemType": "example"
}
]
}
}Update ingredient
Change an ingredient. Only the fields given change.
Inputs
- Ingredient
ingredient_idtextRequired - The ingredient's Galley ID.
- Name
nametext - The ingredient's name.
- Description
descriptiontext - Description.
- Label name
external_nametext - The name shown on labels.
- External ID
external_idtext - An outside system's ID for it.
- Non-food
is_non_foodtrue/false - Whether it's a supply (packaging, cleaning) rather than food.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"archivedAt": "example",
"categoryValues": [
{
"id": "example",
"name": "example"
}
],
"createdAt": "example",
"description": "example",
"externalId": "example",
"externalName": "example",
"id": "example",
"isNonFood": true,
"name": "example",
"updatedAt": "example"
}
}Update recipe
Change a recipe's name, yield, price, shelf life or notes. Only the fields given change.
Inputs
- Recipe
recipe_idtextRequired - The recipe's Galley ID.
- Name
nametext - The recipe's name.
- Total yield
total_yieldnumber - How much one batch makes, in the yield unit.At least 0.
- Yield unit
yield_unittext - The unit the yield is in, such as `each`, `g` or `serving`.
- Description
descriptiontext - Description.
- Menu name
external_nametext - The name guests see.
- Notes
notestext - Notes.
- Sellable
is_dishtrue/false - Sellable (on) or a component of other recipes (off).
- Shelf life (days)
shelf_life_daysnumber - How many days it keeps.At least 0.
- Short code
short_codetext - A short code for labels and reports.
- Price
pricenumber - The selling price, such as 12.50.At least 0.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"archivedAt": "example",
"categoryValues": [
{
"id": "example",
"name": "example"
}
],
"createdAt": "example",
"description": "example",
"externalName": "example",
"id": "example",
"isDish": true,
"name": "example",
"notes": "example",
"priceCents": 1,
"shelfLifeDays": 1,
"shortCode": "example",
"totalYield": 1,
"updatedAt": "example",
"yieldUnit": {
"id": "example",
"name": "example"
}
}
}Update vendor
Change a vendor's contact details. Only the fields given change.
Inputs
- Vendor
vendor_idtextRequired - The vendor's Galley ID.
- Name
nametext - The vendor's name.
- Email
emailtext - Ordering email.
- Phone
phone_numbertext - Phone number.
- Website
websitetext - Website.
- Street address
street_addresstext - Street address.
- City
citytext - City.
- State
statetext - State.
- ZIP code
zip_codetext - ZIP code.
- External ID
external_idtext - An outside system's ID for it.
- Notes
notestext - Notes.
Outputs
dataobject- The response from Galley.
Example output
{
"data": {
"city": "example",
"email": "example",
"externalId": "example",
"id": "example",
"name": "example",
"notes": "example",
"phoneNumber": "example",
"state": "example",
"streetAddress": "example",
"website": "example",
"zipCode": "example"
}
}