Orders

Create order

POST/v1/billing/orders

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

Autorisations

  • Authorizationstringheaderobligatoire

    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.

Permission requise : organization.billing.orders.create

En-têtes

  • Idempotency-Keystring

    Limites :length <= 200

Corps

application/json
  • itemsobject[]obligatoire

    Limites :items >= 1

    Les champs dépendent de type :
  • cycleenum<string>obligatoire

    Valeurs autorisées :HOURLYMONTHLYQUARTERLYSEMI_ANNUALLYANNUALLY

  • promoCodestring | null

Réponse

200 · application/json

OK

  • successbooleanobligatoire

    Valeurs autorisées :true

  • dataobject | nullobligatoire