Galley

App · 23 actions

Manage Galley recipes, ingredients, menus and vendors, and tag them with your categories.

Actions

ActionWhat it does
Archive recipesArchive recipes, hiding them from lists without deleting them.
Create ingredientCreate an ingredient.
Create menuCreate a menu for a location.
Create recipeCreate a recipe.
Create vendorCreate a vendor.
Delete ingredientDelete an ingredient that no recipe uses.
Delete menuDelete a menu.
Delete recipeDelete a recipe that no other recipe or menu uses.
Delete vendorDelete a vendor.
Get ingredientGet one ingredient.
Get menuGet one menu and the recipes on it.
Get recipeGet one recipe with its instructions and ingredients.
List ingredientsList ingredients, 25 at a time.
List locationsList the company's locations (kitchens and sites).
List menusList menus, 25 at a time.
List recipesList recipes with their yield, price and tags, 25 at a time.
List tagsList the tag categories and their values (Galley's categories), optionally for one kind of record.
List vendor itemsList the items vendors sell, with SKU and cost, 25 at a time.
List vendorsList vendors, 25 at a time.
Tag recordsAdd tags (category values) to recipes, ingredients, menus or other records.
Update ingredientChange an ingredient.
Update recipeChange a recipe's name, yield, price, shelf life or notes.
Update vendorChange a vendor's contact details.

Archive recipes

Archive recipes, hiding them from lists without deleting them.

Inputs

Recipesrecipe_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

NamenametextRequired
The ingredient's name.
Descriptiondescriptiontext
Description.
Label nameexternal_nametext
The name shown on labels.
External IDexternal_idtext
An outside system's ID for it.
Non-foodis_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

NamenametextRequired
The menu's name.
Locationlocation_idtextRequired
The location the menu is for.
Datedatedate
The day the menu is served.
Notesnotestext
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

NamenametextRequired
The recipe's name.
Total yieldtotal_yieldnumberRequired
How much one batch makes, in the yield unit.At least 0.
Yield unityield_unittext
The unit the yield is in, such as `each`, `g` or `serving`.Default: each.
Descriptiondescriptiontext
Description.
Menu nameexternal_nametext
The name guests see.
Notesnotestext
Notes.
Sellableis_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 codeshort_codetext
A short code for labels and reports.
Pricepricenumber
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

NamenametextRequired
The vendor's name.
Emailemailtext
Ordering email.
Phonephone_numbertext
Phone number.
Websitewebsitetext
Website.
Street addressstreet_addresstext
Street address.
Citycitytext
City.
Statestatetext
State.
ZIP codezip_codetext
ZIP code.
External IDexternal_idtext
An outside system's ID for it.
Notesnotestext
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

Ingredientingredient_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

Menumenu_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

Reciperecipe_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

Vendorvendor_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

Ingredientingredient_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

Menumenu_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

Reciperecipe_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

Namenametext
Only ingredients whose name matches.
Archivedarchivedtrue/false
Archived ingredients (on) or current ones (off).
Sort byorder_bytext
What to sort by.One of: name, updatedAt.
Directionsort_directiontext
Newest or last first (desc, the default) or oldest first (asc).One of: desc, asc.
How manylimitnumber
How many records to return, at most 25 (Galley's page size).From 1 to 25.
Skipstart_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

Namenametext
Only menus whose name matches.
Sort byorder_bytext
What to sort by.One of: createdAt, updatedAt.
Directionsort_directiontext
Newest or last first (desc, the default) or oldest first (asc).One of: desc, asc.
How manylimitnumber
How many records to return, at most 25 (Galley's page size).From 1 to 25.
Skipstart_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

Namenametext
Only recipes whose name matches.
Archivedarchivedtrue/false
Archived recipes (on) or current ones (off).
Sort byorder_bytext
What to sort by.One of: name, createdAt, updatedAt.
Directionsort_directiontext
Newest or last first (desc, the default) or oldest first (asc).One of: desc, asc.
How manylimitnumber
How many records to return, at most 25 (Galley's page size).From 1 to 25.
Skipstart_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 kinditem_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

Vendorvendor_idtext
Only this vendor's items.
How manylimitnumber
How many records to return, at most 25 (Galley's page size).From 1 to 25.
Skipstart_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 manylimitnumber
How many records to return, at most 25 (Galley's page size).From 1 to 25.
Skipstart_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 kinditem_typetextRequired
The kind of records to tag.One of: recipe, ingredient, menu, menuItem, vendorItem, vendor.
Recordsitem_idslistRequired
The records' Galley IDs.
Tagstag_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

Ingredientingredient_idtextRequired
The ingredient's Galley ID.
Namenametext
The ingredient's name.
Descriptiondescriptiontext
Description.
Label nameexternal_nametext
The name shown on labels.
External IDexternal_idtext
An outside system's ID for it.
Non-foodis_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

Reciperecipe_idtextRequired
The recipe's Galley ID.
Namenametext
The recipe's name.
Total yieldtotal_yieldnumber
How much one batch makes, in the yield unit.At least 0.
Yield unityield_unittext
The unit the yield is in, such as `each`, `g` or `serving`.
Descriptiondescriptiontext
Description.
Menu nameexternal_nametext
The name guests see.
Notesnotestext
Notes.
Sellableis_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 codeshort_codetext
A short code for labels and reports.
Pricepricenumber
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

Vendorvendor_idtextRequired
The vendor's Galley ID.
Namenametext
The vendor's name.
Emailemailtext
Ordering email.
Phonephone_numbertext
Phone number.
Websitewebsitetext
Website.
Street addressstreet_addresstext
Street address.
Citycitytext
City.
Statestatetext
State.
ZIP codezip_codetext
ZIP code.
External IDexternal_idtext
An outside system's ID for it.
Notesnotestext
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"
  }
}

On this page