Update IngredientRecipe by ID

Updates a single IngredientRecipe object

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

ID of IngredientRecipe to update

Body Params

IngredientRecipe data that needs to be changed

int64
required

Numerical value that represents the sorting order for the resources displayed in the UI. Lower values appear higher on the list.

date-time
required

ISO8601 timestamp of the last time the resource was updated

uri

URI of the Ingredient API object that is to be consumed as part of this recipe. Should be set to null if product is provided instead.

uri
required

URI of the User API object that last made changes to this resource.

uri

URI of the Product API object that is to be consumed as part of this recipe. Should be set to null if ingredient is provided instead.

integer
enum

ID of dining option, e.g. delivery, take out, eat-in, etc (defined in Establishment/Stations)

Dining option:

  • 0 - TOGO
  • 1 - EATIN
  • 2 - DELIVERY
  • 3 - CATERING
  • 4 - DRIVETHROUGH
  • 5 - ONLINE
  • 6 - OTHER
  • 7 - SHIPPING
  • 8 - PICKUP
uri
required

URI of the User API object that created this resource.

uri
required

URI of the Ingredient API object that the recipe is tied to. Multiple IngredientRecipe API objects can be tied to a single ingredient to form a full recipe.

date-time
required

ISO8601 timestamp of the time the resource was created

float
required

Quantity of the ingredients/ingredients to be consumed for each use of this recipe. Values are expected to be greater than zero.

Responses

400

Invalid input - please run the request body through a JSON validator.

404

IngredientRecipe not found

445

Message: Integrity Error - one of the fields provided did not pass validation. Make sure the "quantity" field is contains a positive value.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json