Updates existing Recipe Contents.

​

Use this method if you want to update existing Recipe.

The list of field groups for Recipe entity:

  • Default: RootMeasure, RootRecipeQuantity, Hidden, Ingredients Permissions: All users.

Path Parameters

  • Mandatory identifier, used to specify a Recipe. Type: Guid.

Query Parameters

  • This parameter is used to specify a comma delimited list of fields to return for an object. A field group can also be specified in the following format: 'fieldGroupName'. All fields for an object can be returned by specifying 'All'

    'Default' group is always shown, even if Fields parameter is not specified. 'Lookup' group will be shown if a model is a child of required.

Headers

  • The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.

Body·

Mandatory 'body' parameter, used to describe Recipe Content object.

  • Shows if a recipe is hidden or not

  • The first level ingredients

    Properties: 6
  • Properties: 1
  • Shows a root recipe quantity

Responses

Request Example for patch/Items/{id}/RecipeContents
curl /Items/C895A81E-0C20-42C0-B2DC-EAF43F9447BD/RecipeContents \
  --request PATCH \
  --header 'Content-Type: application/json-patch+json' \
  --header 'DCKey: YOUR_SECRET_TOKEN' \
  --data '{
  "RootMeasure": {
    "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD"
  },
  "RootRecipeQuantity": null,
  "Hidden": null,
  "Ingredients": [
    {
      "Item": {
        "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
        "Description": null,
        "Type": {
          "ID": null,
          "Description": null
        },
        "Hidden": null,
        "Locked": false,
        "CostingMeasure": {
          "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
          "Description": null,
          "Hidden": null,
          "MeasureCode": "0000",
          "Price": null,
          "Thaw": null,
          "ShelfLife": null,
          "Tare": null,
          "CountAllowed": false,
          "PurchaseAllowed": false,
          "RecipeAllowed": false,
          "SellAllowed": false,
          "TradeAllowed": false,
          "WasteAllowed": false,
          "SpecialEventAllowed": false,
          "PrepSheetAllowed": false,
          "NutritionAllowed": false
        },
        "StandardCost": null,
        "CostingMethod": {
          "ID": null,
          "Description": null
        },
        "Recommended": false,
        "MeasureShelfLifeThawIn": {
          "ID": null,
          "Description": null
        },
        "ItemCode": "0000000000",
        "CountingMeasure": {
          "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
          "Description": null,
          "Hidden": null,
          "MeasureCode": "0000",
          "Price": null,
          "Thaw": null,
          "ShelfLife": null,
          "Tare": null,
          "CountAllowed": false,
          "PurchaseAllowed": false,
          "RecipeAllowed": false,
          "SellAllowed": false,
          "TradeAllowed": false,
          "WasteAllowed": false,
          "SpecialEventAllowed": false,
          "PrepSheetAllowed": false,
          "NutritionAllowed": false
        },
        "ReportingMeasure": {
          "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
          "Description": null,
          "Hidden": null,
          "MeasureCode": "0000",
          "Price": null,
          "Thaw": null,
          "ShelfLife": null,
          "Tare": null,
          "CountAllowed": false,
          "PurchaseAllowed": false,
          "RecipeAllowed": false,
          "SellAllowed": false,
          "TradeAllowed": false,
          "WasteAllowed": false,
          "SpecialEventAllowed": false,
          "PrepSheetAllowed": false,
          "NutritionAllowed": false
        },
        "PurchaseMeasure": {
          "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
          "Description": null,
          "Hidden": null,
          "MeasureCode": "0000",
          "Price": null,
          "Thaw": null,
          "ShelfLife": null,
          "Tare": null,
          "CountAllowed": false,
          "PurchaseAllowed": false,
          "RecipeAllowed": false,
          "SellAllowed": false,
          "TradeAllowed": false,
          "WasteAllowed": false,
          "SpecialEventAllowed": false,
          "PrepSheetAllowed": false,
          "NutritionAllowed": false
        },
        "PrimaryVendor": {
          "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
          "Description": null,
          "Hidden": null,
          "RegularInvoiceAllowed": false,
          "ManualCheckAllowed": false,
          "PaidInAllowed": false,
          "PaidOutAllowed": false,
          "CreditMemoAllowed": false,
          "PurchaseOrderAllowed": false,
          "EnableB2B": false,
          "EDIVendorGlobalCode": null,
          "IsProductionKitchen": false,
          "DCItemsAllowed": false,
          "AutoInvoiceNumber": false,
          "AutoCreditMemoNumber": false,
          "MultipleInvoicesAllowed": false,
          "RequireReturnReason": false,
          "AccountLimits": [
            {
              "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
              "Description": null
            }
          ],
          "PaymentTerms": null
        },
        "AlternateVendor": {
          "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
          "Description": null,
          "Hidden": null,
          "RegularInvoiceAllowed": false,
          "ManualCheckAllowed": false,
          "PaidInAllowed": false,
          "PaidOutAllowed": false,
          "CreditMemoAllowed": false,
          "PurchaseOrderAllowed": false,
          "EnableB2B": false,
          "EDIVendorGlobalCode": null,
          "IsProductionKitchen": false,
          "DCItemsAllowed": false,
          "AutoInvoiceNumber": false,
          "AutoCreditMemoNumber": false,
          "MultipleInvoicesAllowed": false,
          "RequireReturnReason": false,
          "AccountLimits": [
            {
              "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
              "Description": null
            }
          ],
          "PaymentTerms": null
        },
        "RequireCount": false,
        "EstimationMethod": {
          "ID": null,
          "Description": null
        },
        "CountDailyFrequency": [
          ""
        ],
        "Account": {
          "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
          "Description": null
        },
        "DaysOnHand": null,
        "RequireComment": false,
        "Custom1": null,
        "Custom2": null,
        "Custom3": null,
        "CalcTargetAsActual": false
      },
      "Measure": {
        "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD"
      },
      "RecipeQuantity": null,
      "Hidden": null,
      "VisibleStartDate": null,
      "VisibleEndDate": null
    }
  ]
}'
{
  "Data": [
    {
      "RootMeasure": {
        "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
        "Description": null,
        "Hidden": null,
        "MeasureCode": "0000",
        "CostingUnits": null,
        "YieldPercent": null,
        "ConversionFactor": null,
        "StandardCost": null,
        "Price": null,
        "EntreeValue": null,
        "Thaw": null,
        "ShelfLife": null,
        "Tare": null,
        "CountAllowed": false,
        "PurchaseAllowed": false,
        "RecipeAllowed": false,
        "SellAllowed": false,
        "TradeAllowed": false,
        "WasteAllowed": false,
        "SpecialEventAllowed": false,
        "PrepSheetAllowed": false,
        "NutritionAllowed": false
      },
      "RootRecipeQuantity": null,
      "Hidden": null,
      "Ingredients": [
        {
          "Item": {
            "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
            "Description": null,
            "Type": {
              "ID": null,
              "Description": null
            },
            "Hidden": null,
            "Locked": false,
            "CostingMeasure": {
              "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
              "Description": null,
              "Hidden": null,
              "MeasureCode": "0000",
              "CostingUnits": null,
              "YieldPercent": null,
              "ConversionFactor": null,
              "StandardCost": null,
              "Price": null,
              "EntreeValue": null,
              "Thaw": null,
              "ShelfLife": null,
              "Tare": null,
              "CountAllowed": false,
              "PurchaseAllowed": false,
              "RecipeAllowed": false,
              "SellAllowed": false,
              "TradeAllowed": false,
              "WasteAllowed": false,
              "SpecialEventAllowed": false,
              "PrepSheetAllowed": false,
              "NutritionAllowed": false
            },
            "StandardCost": null,
            "CostingMethod": {
              "ID": null,
              "Description": null
            },
            "Recommended": false,
            "MeasureShelfLifeThawIn": {
              "ID": null,
              "Description": null
            },
            "ItemCode": "0000000000",
            "CountingMeasure": {
              "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
              "Description": null,
              "Hidden": null,
              "MeasureCode": "0000",
              "CostingUnits": null,
              "YieldPercent": null,
              "ConversionFactor": null,
              "StandardCost": null,
              "Price": null,
              "EntreeValue": null,
              "Thaw": null,
              "ShelfLife": null,
              "Tare": null,
              "CountAllowed": false,
              "PurchaseAllowed": false,
              "RecipeAllowed": false,
              "SellAllowed": false,
              "TradeAllowed": false,
              "WasteAllowed": false,
              "SpecialEventAllowed": false,
              "PrepSheetAllowed": false,
              "NutritionAllowed": false
            },
            "ReportingMeasure": {
              "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
              "Description": null,
              "Hidden": null,
              "MeasureCode": "0000",
              "CostingUnits": null,
              "YieldPercent": null,
              "ConversionFactor": null,
              "StandardCost": null,
              "Price": null,
              "EntreeValue": null,
              "Thaw": null,
              "ShelfLife": null,
              "Tare": null,
              "CountAllowed": false,
              "PurchaseAllowed": false,
              "RecipeAllowed": false,
              "SellAllowed": false,
              "TradeAllowed": false,
              "WasteAllowed": false,
              "SpecialEventAllowed": false,
              "PrepSheetAllowed": false,
              "NutritionAllowed": false
            },
            "PurchaseMeasure": {
              "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
              "Description": null,
              "Hidden": null,
              "MeasureCode": "0000",
              "CostingUnits": null,
              "YieldPercent": null,
              "ConversionFactor": null,
              "StandardCost": null,
              "Price": null,
              "EntreeValue": null,
              "Thaw": null,
              "ShelfLife": null,
              "Tare": null,
              "CountAllowed": false,
              "PurchaseAllowed": false,
              "RecipeAllowed": false,
              "SellAllowed": false,
              "TradeAllowed": false,
              "WasteAllowed": false,
              "SpecialEventAllowed": false,
              "PrepSheetAllowed": false,
              "NutritionAllowed": false
            },
            "PrimaryVendor": {
              "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
              "Description": null,
              "Hidden": null,
              "RegularInvoiceAllowed": false,
              "ManualCheckAllowed": false,
              "PaidInAllowed": false,
              "PaidOutAllowed": false,
              "CreditMemoAllowed": false,
              "PurchaseOrderAllowed": false,
              "EnableB2B": false,
              "EDIVendorGlobalCode": null,
              "IsProductionKitchen": false,
              "DCItemsAllowed": false,
              "AutoInvoiceNumber": false,
              "AutoCreditMemoNumber": false,
              "MultipleInvoicesAllowed": false,
              "RequireReturnReason": false,
              "AccountLimits": [
                {
                  "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
                  "Description": null
                }
              ],
              "PaymentTerms": null
            },
            "AlternateVendor": {
              "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
              "Description": null,
              "Hidden": null,
              "RegularInvoiceAllowed": false,
              "ManualCheckAllowed": false,
              "PaidInAllowed": false,
              "PaidOutAllowed": false,
              "CreditMemoAllowed": false,
              "PurchaseOrderAllowed": false,
              "EnableB2B": false,
              "EDIVendorGlobalCode": null,
              "IsProductionKitchen": false,
              "DCItemsAllowed": false,
              "AutoInvoiceNumber": false,
              "AutoCreditMemoNumber": false,
              "MultipleInvoicesAllowed": false,
              "RequireReturnReason": false,
              "AccountLimits": [
                {
                  "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
                  "Description": null
                }
              ],
              "PaymentTerms": null
            },
            "RequireCount": false,
            "EstimationMethod": {
              "ID": null,
              "Description": null
            },
            "CountDailyFrequency": [
              "string"
            ],
            "Account": {
              "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
              "Description": null
            },
            "DaysOnHand": null,
            "RequireComment": false,
            "Custom1": null,
            "Custom2": null,
            "Custom3": null,
            "CalcTargetAsActual": false
          },
          "Measure": {
            "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
            "Description": null,
            "Hidden": null,
            "MeasureCode": "0000",
            "CostingUnits": null,
            "YieldPercent": null,
            "ConversionFactor": null,
            "StandardCost": null,
            "Price": null,
            "EntreeValue": null,
            "Thaw": null,
            "ShelfLife": null,
            "Tare": null,
            "CountAllowed": false,
            "PurchaseAllowed": false,
            "RecipeAllowed": false,
            "SellAllowed": false,
            "TradeAllowed": false,
            "WasteAllowed": false,
            "SpecialEventAllowed": false,
            "PrepSheetAllowed": false,
            "NutritionAllowed": false
          },
          "RecipeQuantity": null,
          "Hidden": null,
          "VisibleStartDate": null,
          "VisibleEndDate": null
        }
      ]
    }
  ]
}