post https://api.apicbase.com/api/v2/production_plan
Creates a new instance of a production plan.
Understanding the item_class field
item_class fieldEach production plan task involves one item, which can be either a recipe or a custom task:
- If the item is a recipe, the
item_classwill berecipeand theitem_idwill be the ID of a recipe. This applies to tasks specific to a recipe. In this case, thequantity_to_producefield is required. - If the item is a custom task, the
item_classwill becustom, and theitem_idwill be the ID of a custom task. This is used for more general tasks and is not tied to any specific recipe. In this case, thequantity_to_producefield is not required.
In short, the item_class field helps identify what the task relates to.
