Orders

Create order

POST/v1/billing/orders

Places an order and invoices it, or on an hourly billing cycle provisions its services right away.

Authorizations

  • Authorizationstringheaderrequired

    Organization API key (org_...), created in the cloud console at https://cloud.serverside.com and shown once, sent as Authorization: Bearer <key>. It authenticates as the organization.

Required permission: organization.billing.orders.create

Headers

  • Idempotency-Keystring

    Limits:length <= 200

Body

application/json
  • itemsobject[]required

    Limits:items >= 1

    Fields depend on type:
  • cycleenum<string>required

    Allowed values:HOURLYMONTHLYQUARTERLYSEMI_ANNUALLYANNUALLY

  • promoCodestring | null

Response

200 · application/json

OK

  • successbooleanrequired

    Allowed values:true

  • dataobject | nullrequired