Bestellingen

Bestelling maken

POST/v1/billing/orders

Plaatst een bestelling met factuur of richt bij uurfacturering direct de diensten in.

Autorisatie

  • Authorizationstringheaderverplicht

    Organisatie-API-sleutel (org_...), gemaakt in de cloudconsole op https://cloud.serverside.com en één keer getoond, verstuurd als Authorization: Bearer <key>. Authenticeert als de organisatie.

Vereiste toestemming: organization.billing.orders.create

Headers

  • Idempotency-Keystring

    Grenzen:lengte <= 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