Docs

Bulk Create Resources

POST /resources/bulk

POST/resources/bulk

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Organization tokenx-Organization-TokenOptionalRun **Authorize Organization** in the Authorization folder.

Creates a serialized fleet: one Asset resource per identifier, all on the same type and variant, sharing settlement and attributeValues.

Requires ResourceInventory.Edit permission.

Request Body

FieldTypeRequiredDescription
resourceTypeIdGuidRequiredThe type.
resourceVariantIdGuidRequiredThe variant.
namestringRequiredName for every unit.
identifiersstring[]RequiredOne unit per identifier.
rateCardIdGuid?OptionalOne of the type's cards.
settlementstringOptional`OwnedCost` or `Invoiceable`.
attributeValuesarrayOptional`{ resourceAttributeId, value }`. A required Inventory-active attribute (not Checkbox) can't be left blank.

Response

201 Created. No response body.

Error Codes

HTTP StatusDescription
400Invalid arguments, or a required Inventory attribute left blank ("A value is required for {names}.").
404Type, variant or card not found.