Collection field enhancements
Create reference fields
Create reference fields in a collection using the create collection field endpoint.
To create a reference field, you’ll need to:
- Set the
type
property in thefield
object to eitherMultiReference
orReference
- Include the
metadata
property with thecollectionId
of the target collection
You can add reference fields in two ways:
-
During initial collection creation via the create collection endpoint
-
To an existing collection using the create collection field endpoint
Create multiple collection fields during collection creation
Create multiple collection fields during collection creation using the create collection endpoint. Collections are limited to 60 fields per collection.