Creates a prepared item document.

​

Use this method if you want to add a new document. Permissions: Unit users. PreparedItems api family.

Headers

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

Body·

PreparedItemHeaderPostModel

  • Document number

  • Build date

  • Entry date

  • Comment

  • Regenerate Ingredient Quantities

Responses

Request Example for post/v2/PreparedItems
curl /v2/PreparedItems \
  --request POST \
  --header 'Content-Type: application/json-patch+json' \
  --header 'DCKey: YOUR_SECRET_TOKEN' \
  --data '{
  "Comment": null,
  "RegenerateIngredientQuantities": true,
  "BatchNumber": "",
  "EntryDate": "",
  "BuildDate": ""
}'
{
  "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
  "BatchNumber": null,
  "EntryDate": null,
  "BuildDate": null,
  "Status": null,
  "BatchCost": 1,
  "Comment": null,
  "RegenerateIngredientQuantities": true,
  "LockByEditDate": true
}