Skip to main content
POST
Change the status of a deal

Authorizations

Authorization
string
header
required

Authorization code with PKCE. The person grants the scopes on the Investorlift consent page and accepts the Marketplace API Terms there.

Headers

Idempotency-Key
string
required

A key of your own that names this attempt. The same key with the same body replays the stored answer.

Required string length: 1 - 255

Path Parameters

deal_id
string
required

The public id in the path, for example deal_id as mdl_a1b2c3d4e5f6.

Body

application/json
status
enum<string>
required
Available options:
available,
dead,
draft,
expired,
pending,
sold
offer_id
string

The offer the seller accepts. pending and sold need an accepted offer.

Minimum string length: 1
reason
string

Why the seller moved the deal.

Maximum string length: 500

Response

Success

data
object
required
meta
object
required