Place an order

After you are finished uploading images an order should be placed. Only orders with status PENDING_PAYMENT can be placed. Once placed the status will update and it will no longer be possible to alter the order.

Arguments

  • idID!
    The ID of the order to be placed.

Result

An order object.
type Mutation {
    placeOrder(id: ID!): Order!
}

EXAMPLE

mutation {
    placeOrder(id: "O17272") {
        id
        status
        price {amount currency}
    }
}

RESULT

{
  "data": {
    "placeOrder": {
      "id": "O17272",
      "status": "PENDING_PAYMENT",
      "price": {"amount": 100, "currency": "EUR"}
    }
  }
}