POST
/
customers
/
{customer_id}
/
entities
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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customer_id
string
required

The unique identifier of the customer

Body

application/json · object[]

The body is of type object[].