Skip to main content

Create an Order

POST /v2/orders/
v2
POST
order-create-order

Request

Responses

application/json
  • orderIdstring
    required

Usage examples

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