Orders

Create order

POST/v1/billing/orders

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

Autorisatie

  • Authorizationstringheaderverplicht

    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.

Vereiste toestemming: organization.billing.orders.create

Headers

  • Idempotency-Keystring

    Grenzen:length <= 200

Body

application/json
  • itemsobject[]verplicht

    Grenzen:items >= 1

    Velden hangen af van type:
  • cycleenum<string>verplicht

    Toegestane waarden:HOURLYMONTHLYQUARTERLYSEMI_ANNUALLYANNUALLY

  • promoCodestring | null

Antwoord

200 · application/json

OK

  • successbooleanverplicht

    Toegestane waarden:true

  • dataobject | nullverplicht