Overwrite an existing ProductRecipe

Overwrites a specific ProductRecipe API object

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

ID of ProductRecipe to update

Body Params

new ProductRecipe object

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 Product API object that is to be consumed as part of this recipe. Should be set to null if ingredient is provided instead.

uri
required

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

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.

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 Product API object that the recipe is tied to. Multiple ProductRecipe API objects can be tied to a single product to form a full recipe.

date-time
required

ISO8601 timestamp of the time the resource was created

float
required

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

Responses
204

Resource successfully updated

400

Provided JSON body is either invalid or empty

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!