Create an order

Before you can start uploading images to the Voxel API an order needs to be created.

Arguments

  • nameString
    Name or reference for this order.
  • specificationIdID
    The ID of an existing specification.

Result

An order object.
type Query {
    createOrder(name: String, specificationId: ID): Order!
}

EXAMPLE

mutation {
    createOrder(name: "Test order", specificationId: "S1") {
        id
        name
        status
    }
}

RESULT

{
  "data": {
    "createOrder": {
      "id": "O1999",
      "name": "Test order",
      "status": "PENDING_UPLOAD"
    }
  }
}