Skip to main content

Preview Order

POST/order-previews/
v2
POST
order-preview-order

Request

Responses

application/json
  • Alternativeobject
    • machineTypePricenumber
      required
    • storagePricenumber
      required
    • totalPricenumber
      required
  • Alternativeobject
    • domainContractDurationnumber
      required

      Contract duration in months.

    • domainPricenumber
      required
    • feePricenumber
      required
    • totalPricenumber
      required
  • Alternativeobject
    • feePricenumber
      required
    • recurringPricenumber
      required
    • totalPricenumber
      required

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"orderData":{"customerId":"string","description":"My first project","diskspaceInGiB":20,"spec":{"machineType":"prospace.2cpu.4gb"}},"orderType":"domain"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/order-previews