Replace a project
Header Parameters
Path Parameters
Company ID. Must be one of the IDs returned by GET /api/v2/companies/.
Row id. A row belonging to another company is 404 on every verb, never 403.
Body Parameters
Your own project number. Sortable via ?ordering=projectNumber.
Reference in your system. Not interpreted by Hivebuy.
A active, C closed.
ACParent project. Must belong to this company.
Must belong to this company.
Company address id. Must belong to this company and must not be deleted.
Company address id. Must belong to this company and must not be deleted.
Who approves for the project: SIMPLE project owner, MEDIUM owner and budget owner, EXTENDED owner, budget owner and the department heads involved, or USE_PURCHASE_REQUEST_WORKFLOWS to fall back to the normal request workflows.
USE_PURCHASE_REQUEST_WORKFLOWSSIMPLEMEDIUMEXTENDEDTotal budget as a decimal string.
User ids. Each must be an active member of this company.
Show child attributes
User ids. Each must be an active member of this company.
Show child attributes
User ids. Each must be an active member of this company.
Show child attributes
Budget figures you may set on a project write. Every key is optional. amount is the total; sending it is the same as sending totalProjectBudget. usedBudget, pendingBudget and remainingBudget are normally computed by Hivebuy from purchase requests and invoices. Sending any of them overrides the computed value and skips Hivebuy's own recalculation for this write, so a system of record for consumption (an ERP) can push its figures. The override holds until the next purchase requ...
Show child attributes
Response
Updated. The body is the read shape.
Response Attributes
A active, C closed.
AC Show child attributes
Show child attributes
Show child attributes
Read-only. Maintained through the departments themselves, not here.
Show child attributes
Read-only. The full delivery addresses linked to the project.
Show child attributes
USE_PURCHASE_REQUEST_WORKFLOWSSIMPLEMEDIUMEXTENDEDDecimal string, e.g. "1250.00".
ISO 4217 code, inherited from the company.
Server-maintained budget figures. Read-only: budgets are not managed through this API.
Show child attributes
When the row was created.
When the row itself last changed.
null on a live row; the timestamp of the soft delete otherwise. Read-only everywhere.
Validation failed.
Response Attributes
validationErrorclientErrorserverError Show child attributes
Missing, invalid, or expired API key, or a session credential was used instead of an API key.
Response Attributes
validationErrorclientErrorserverError Show child attributes
Authenticated but not entitled: the key's user is not an active member of this company, the External API feature (or the resource's own feature) is not enabled for it, the key lacks the scope this verb needs, or a browser session was used.
Response Attributes
validationErrorclientErrorserverError Show child attributes
No such row for this company, including a row that belongs to another company, and a soft-deleted row you tried to write to. The API does not confirm whether the id exists elsewhere.
Response Attributes
validationErrorclientErrorserverError Show child attributes
Rate limit exceeded (60 requests per minute per API key). Retry after the number of seconds given in the message.
Response Attributes
validationErrorclientErrorserverError