Dedizierte Server

Cloud

Cloud-Konsole

Orders

Create order

POST/v1/billing/orders

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

Autorisierung

  • Authorizationstringheadererforderlich

    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.

Erforderliche Berechtigung: organization.billing.orders.create

Header

  • Idempotency-Keystring

    Grenzen:length <= 200

Body

application/json
  • itemsobject[]erforderlich

    Grenzen:items >= 1

    Die Felder hängen von type ab:
  • cycleenum<string>erforderlich

    Zulässige Werte:HOURLYMONTHLYQUARTERLYSEMI_ANNUALLYANNUALLY

  • promoCodestring | null

Antwort

200 · application/json

OK

  • successbooleanerforderlich

    Zulässige Werte:true

  • dataobject | nullerforderlich