Go to Apicbase

Create Production Plan

Creates a new instance of a production plan.

Understanding the item_class field

Each production plan task involves one item, which can be either a recipe or a custom task:

  • If the item is a recipe, the item_class will be recipe and the item_id will be the ID of a recipe. This applies to tasks specific to a recipe.
  • If the item is a custom task, the item_class will be custom, and the item_id will be the ID of a custom task. This is used for more general tasks and is not tied to any specific recipe.

The origin field inside a sub-task shows where the sub-task comes from. It can refer to:

  • a recipe (item_class will be recipe and the item_id will be the ID of a recipe)
  • a custom task (item_class will be custom and the item_id will be the ID of a custom task)
  • a menu (item_class will be menu and the item_id will be the ID of a menu)
  • an incoming order (item_class will be incoming_order and the item_id will be the ID of an incoming order)
  • an incoming order package (item_class will be incoming_order_package and the item_id will be the ID of an incoming order package)

In short, the item_class field helps identify what the task relates to and where its sub-tasks belong.

Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!