TypeScript
single entity
import { Autumn as autumn } from 'autumn-js';const entity = await autumn.entities.create('user_123', { feature_id: 'seats', id: 'seat_456', name: 'Brandon Yeo'});
You can create multiple entities at once by passing an array of entities.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the customer
The body is of type object[].
object[]