Replace selected items in all locations to selected item (omit duplicates)

​

Permissions: Unit users.

Headers

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

Body·

Information about replace items

  • Item id to replace for selected items

  • Items (item id and measures) which needs to be replaced with new item.

    Properties: 2
  • Summary measure id to replace for selected items

  • Each measure id to replace for selected items

  • Partial measure id to replace for selected items

  • Whole measure id to replace for selected items

Responses

  • No Content

Request Example for put/v2/StoreCountTemplate/ItemsLookup/Replace
curl /v2/StoreCountTemplate/ItemsLookup/Replace \
  --request PUT \
  --header 'Content-Type: application/json-patch+json' \
  --header 'DCKey: YOUR_SECRET_TOKEN' \
  --data '{
  "ItemsToReplace": [
    {
      "ItemID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
      "UMID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD"
    }
  ],
  "ItemID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
  "SummaryUMID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
  "EachUMID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
  "PartialUMID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
  "WholeUMID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD"
}'
No Body