Docs
Update Resource
PUT /procurements/{procurementId}/resources/{resourceId}
PUT
/procurements/{procurementId}/resources/{resourceId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
Updates the quantity, properties, and sub-assets of an existing procurement resource. The properties and subAssets arrays are full replacements.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| procurementId | Guid | Required | The ID of the procurement. Replace `{{procurementId}}` in the URL. |
| resourceId | Guid | Required | The ID of the resource to update. Replace `{{resourceId}}` in the URL. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| quantity | int | Required | Updated quantity. |
| properties | Prop[] | Optional | Full replacement list of asset-level properties (`{ templatePropertyId, value }`). Pass `[]` to clear. |
| subAssets | SubAsset[] | Optional | Full replacement list of sub-assets, each with their own `properties`. Pass `[]` to clear. |
Response
Returns 200 OK with an empty body on success.