---
updatedAt: 2026-05-27T19:42:41.000Z
agentTools:
  projectIndex: https://developers.hivelocity.net/llms.txt
---

# Receive product, quantity and options to be added on the deployment

This method updates the supplied deployment ID with such details as:

* Operating system name or ID
* The URL to download a custom iPXE script (If not supplying the script in its entirety)
* The public SSH Key ID
* The array of hostname strings
* The product ID
* The custom iPXE script (If not supplying the URL)
* Any additional notes
* The array of integers corresponding to options
* The location code
* Quantity
* Billing period
* The array of device ID integers to deploy or fail deployment
* The array of ignition file IDs.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/deploy/{deploymentId}": {
      "parameters": [
        {
          "description": "Id of the deployment to interact with",
          "in": "path",
          "name": "deploymentId",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ],
      "put": {
        "operationId": "put_deployment_id_resource",
        "parameters": [
          {
            "description": "An optional fields mask",
            "in": "header",
            "name": "X-Fields",
            "schema": {
              "type": "string",
              "format": "mask"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeploymentCustomization"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Server configuration added to Deployment",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Deployment"
                }
              }
            }
          },
          "400": {
            "description": "Your configuration have incompatible or unavailable options"
          },
          "401": {
            "description": "Access to this Deployment not Allowed"
          },
          "403": {
            "description": "You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission."
          },
          "404": {
            "description": "Deployment Not Found"
          }
        },
        "summary": "Receive product, quantity and options to be added on the deployment",
        "tags": [
          "Deployment"
        ]
      }
    }
  },
  "info": {
    "description": "Interact with Hivelocity",
    "title": "Hivelocity API",
    "version": "2.0"
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "tags": [
    {
      "description": "Endpoints to handle your servers provisioning",
      "name": "Deployment"
    }
  ],
  "servers": [
    {
      "url": "https://core.hivelocity.net/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      }
    },
    "schemas": {
      "Deployment": {
        "properties": {
          "deploymentConfiguration": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "deploymentId": {
            "type": "integer"
          },
          "deploymentName": {
            "type": "string"
          },
          "empty": {
            "type": "boolean"
          },
          "orderNumber": {
            "example": "",
            "type": "string"
          },
          "price": {
            "type": "number"
          },
          "startedProvisioning": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "DeploymentCustomization": {
        "properties": {
          "additionalNotes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "billingPeriod": {
            "default": "monthly",
            "description": "must be one of ['monthly', 'quarterly', 'semi-annually', 'annually', 'biennial', 'triennial', 'hourly']",
            "type": "string"
          },
          "customIPXEScriptContents": {
            "description": "Contents of iPXE script if not supplying URL",
            "type": "string"
          },
          "customIPXEScriptURL": {
            "description": "URL to download custom iPXE script if not supplying script in entirety",
            "type": "string"
          },
          "forceDeviceIds": {
            "default": [],
            "description": "Either deploy these Device IDs or fail",
            "example": [],
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "hostnames": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "ignitionIds": {
            "default": [],
            "description": "Specify Ignition file ID for CoreOS/Flatcar provisions",
            "example": [],
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "locationCode": {
            "default": "",
            "type": "string"
          },
          "operatingSystem": {
            "description": "Operating System's Name or ID",
            "type": "string"
          },
          "options": {
            "default": [],
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "productId": {
            "type": "integer"
          },
          "publicSshKeyId": {
            "description": "ID of SSH Key to use for deployment",
            "type": "integer"
          },
          "quantity": {
            "default": 1,
            "type": "integer"
          }
        },
        "required": [
          "hostnames",
          "operatingSystem",
          "productId"
        ],
        "type": "object"
      }
    }
  }
}
```