Docs

Create Procurement

POST /procurements

POST/procurements

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.

Creates a new procurement. Resources can be included at creation time or added individually afterwards.

Request Body

FieldTypeRequiredDescription
namestringRequiredDisplay name for the procurement.
descriptionstringOptionalDescription.
resourcesResource[]OptionalInitial resources to create with this procurement. Pass `[]` to create with no resources.
resources[].resourceTypeIdGuidRequiredResource type ID.
resources[].quantityintRequiredQuantity.
resources[].propertiesProp[]OptionalResource-level properties (`{ templatePropertyId, value }`).
resources[].subAssetsSubAsset[]OptionalSub-assets, each with their own `properties` array.

Response

Returns 201 Created with the new procurement's ID in the body.