Skip to main content
POST
cURL
Send the order under order, with the account’s id as account_id and at least one line naming an item. Set quote_order to true for a quote, pre_order for a pre-order, or allow_contract with contract_properties for a contract; a contract needs a recurring or metered item on a line. A regular order is created as active.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Body

application/json
order
object
required

Response

201 - application/json

The new order, under order.

order
object