Deletes specified Source Item(s)

​

Permissions: Unit users. ButcheredItems api family.

Path Parameters

  • Mandatory identifier, used to specify a Butcher Batch.

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 specify Source Items that must be deleted.

Responses

  • OK

Request Example for delete/v2/ButcherBatches/{batchID}/SourceItems
curl /v2/ButcherBatches/C895A81E-0C20-42C0-B2DC-EAF43F9447BD/SourceItems \
  --request DELETE \
  --header 'Content-Type: application/json-patch+json' \
  --header 'DCKey: YOUR_SECRET_TOKEN' \
  --data '[
  {
    "ItemID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
    "MeasureID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
    "ActualQuantity": 0.0001,
    "Comment": null,
    "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD"
  }
]'
No Body