Docs

Move Procurement Resource

PUT /procurements/{procurementId}/resources/{resourceId}/move

PUT/procurements/{procurementId}/resources/{resourceId}/move

Moves 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

FieldTypeRequiredDescription
procurementIduuidRequired
resourceIduuidRequired

Request Body

FieldTypeRequiredDescription
newIndexintegerOptional