Orders

Create order

POST/v1/billing/orders

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

Autorizaciones

  • Authorizationstringheaderobligatorio

    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.

Permiso necesario: organization.billing.orders.create

Cabeceras

  • Idempotency-Keystring

    Límites:length <= 200

Cuerpo

application/json
  • itemsobject[]obligatorio

    Límites:items >= 1

    Los campos dependen de type:
  • cycleenum<string>obligatorio

    Valores permitidos:HOURLYMONTHLYQUARTERLYSEMI_ANNUALLYANNUALLY

  • promoCodestring | null

Respuesta

200 · application/json

OK

  • successbooleanobligatorio

    Valores permitidos:true

  • dataobject | nullobligatorio