Method allows you to provide arbitrary data upon creation of any Core API resource. This data is referred to as metadata and will be returned as the metadata attribute on any Core API resource.

Adding metadata to Core API resources is useful if you want to provide additional identifiers that reference specific records or rows in your own database.

Props

metadata
object

A valid JSON object that must be less than 1KB in size when serialized.

Returns

Returns the created resource with the provided metadata object.