Replace selected items in all locations to selected item (omit duplicates)
Permissions: Unit users.
Headers
- Type: stringD
C Key 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
- Type: stringFormat: uuidItem
I D requiredItem id to replace for selected items
- Type:Items
To Replace requiredProperties: 2Items (item id and measures) which needs to be replaced with new item.
- Type: stringFormat: uuidSummary
U M I D requiredSummary measure id to replace for selected items
- Type: string | nullFormat: uuidEach
U M I D Each measure id to replace for selected items
- Type: string | nullFormat: uuidPartial
U M I D Partial measure id to replace for selected items
- Type: string | nullFormat: uuidWhole
U M I D Whole measure id to replace for selected items
Responses
- 204
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
