Groups
PPE groups (rules that define what an employee may withdraw) — full CRUD.
List groups
List groups
Create a group
Creates a PPE group. Each entry in `rules` references a product by `productId`, which must exist in your organization (else `422`). On success the `ETag` header carries the new record's version and `Location` points at the new resource.
Get a group by id
Get a group by id
Update a group
Partial update. Send the current version via the `If-Match` header (preferred; from the `ETag` of a prior read) or the body `_version`. Missing → `400`; stale → `409`. Each `rules[].productId` you set must exist in your organization.
Delete a group
Soft-deletes the group and returns the deleted record. Send the current version via the `If-Match` header (preferred; from the `ETag` of a prior read) or the `_version` query param. Missing → `400`; stale → `409`.