Skip to main content
POST
Import an order

Authorizations

Authorization
string
header
required

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

Body

application/json
order
object
required

The order to import.

droplet_installation_uuid
string

With the external-entity-ids-d1 flag on, the installation (a Droplet::Installation uuid in your company) that the order's external_id is recorded for, in the same transaction as the order insert. An unknown uuid answers 422 installation_not_found and a failed assign 422 d1_assign_failed, and no order is created. Ignored with the flag off.

Response

Order imported

order
object
required

The imported order in its default representation.

meta
object
required