Skip to main content
POST
Typescript (SDK)

Body Parameters

Response

Authorizations

Authorization
string
header
required

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

Headers

x-api-version
string
default:2.3.0
required

Body

application/json
customer_id
string
required

Autumn customer to image into.

billables
object[]
required

The billing objects (subscriptions, one-offs) to image, each carrying its plan.

customer_data
object

Optional identity fields upserted onto the customer (applied to existing customers too).

processors
object[]

The customer's processor identities (e.g. Stripe customer id, RevenueCat app_user_id). Omit for customers with no processor, e.g. those only ever on a free plan.

dry_run
boolean

If true, validate and compute without persisting; returns what would be flashed.

Response

200 - application/json

OK

customer_id
string
required

The imaged customer's id.

flashed
object[]
required

Per-plan outcome of the flash.

customer
object | null
required

The freshly-read imaged customer; null for dry_run.

Example: