Docs
Move Procurement Resource
PUT /procurements/{procurementId}/resources/{resourceId}/move
PUT
/procurements/{procurementId}/resources/{resourceId}/moveMoves a need to a new zero-based position (newIndex) among its siblings: top-level needs within the procurement, components within their composite. Siblings between the old and new position shift by one. Refused when newIndex is out of range. The need ids come from Procurements_GetProcurement. Works the same on an organization-level need (org token, resource inventory edit); no order revision is minted there.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| procurementId | uuid | Required | |
| resourceId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| newIndex | integer | Optional |