   end
 
   @doc """
-  Update a Workflow.
-
-  ## Options
-  The `api` option defines the OpenAperture.ManagerApi used for connection.
-
-  The `workflow` option defines the Workflow map.
-
-  The `id` option defines the Workflow id.
-
-  The `queryparams` option defines the query parameters (optional).
-
-  The `headers` option defines the header values (optional).
-
-  The `options` option defines any extra HTTP options (optional).
-
-  ## Return Values
-
-  Returns the OpenAperture.ManagerApi.Response struct.
-  """
-  @spec update_workflow(pid, String.t(), Map, Map, List, List) :: term
-  def update_workflow(api \\ ManagerApi.get_api, id, workflow, queryparams \\ %{}, headers \\ [], options \\ []) do
-    put(api, get_path("workflows/#{id}", queryparams), workflow, headers, options)
-  end
-
-  @doc """
-  Update a Workflow.
-
-  ## Options
-  The `api` option defines the OpenAperture.ManagerApi used for connection.
-
-  The `workflow` option defines the Workflow map.
-
-  The `id` option defines the Workflow id.
-
-  The `queryparams` option defines the query parameters (optional).
-
-  The `headers` option defines the header values (optional).
-
-  The `options` option defines any extra HTTP options (optional).
-
-  ## Return Values
-
-  Integer of new workflow, or nil
-  """
-  @spec update_workflow!(pid, String.t(), Map, Map, List, List) :: term
-  def update_workflow!(api \\ ManagerApi.get_api, id, workflow, queryparams \\ %{}, headers \\ [], options \\ []) do
-    response = update_workflow(api, id, workflow, queryparams, headers, options)
+  Update a deployment.
+
+  ## Options
+  The `api` option defines the OpenAperture.ManagerApi used for connection.
+
+  The `deployment` option defines the deployment map.
+
+  The `id` option defines the deployment id.
+
+  The `queryparams` option defines the query parameters (optional).
+
+  The `headers` option defines the header values (optional).
+
+  The `options` option defines any extra HTTP options (optional).
+
+  ## Return Values
+
+  Returns the OpenAperture.ManagerApi.Response struct.
+  """
+  @spec update_deployment(pid, String.t(), Map, Map, List, List) :: term
+  def update_deployment(api \\ ManagerApi.get_api, product_name, id, deployment, queryparams \\ %{}, headers \\ [], options \\ []) do
+    put(api, get_path("products/#{product_name}/deployments/#{id}", queryparams), deployment, headers, options)
+  end
+
+  @doc """
+  Update a deployment.
+
+  ## Options
+  The `api` option defines the OpenAperture.ManagerApi used for connection.
+
+  The `deployment` option defines the deployment map.
+
+  The `id` option defines the deployment id.
+
+  The `queryparams` option defines the query parameters (optional).
+
+  The `headers` option defines the header values (optional).
+
+  The `options` option defines any extra HTTP options (optional).
+
+  ## Return Values
+
+  Integer of new deployment, or nil
+  """
+  @spec update_deployment!(pid, String.t(), Map, Map, List, List) :: term
+  def update_deployment!(api \\ ManagerApi.get_api, id, deployment, queryparams \\ %{}, headers \\ [], options \\ []) do
+    response = update_deployment(api, id, deployment, queryparams, headers, options)
     if response.success? do
       Response.extract_identifier_from_location_header(response)
     else

  end

  @doc """
  Retrieves a specific Workflow.

  ## Options
  The `api` option defines the OpenAperture.ManagerApi used for connection.

  The `id` option defines the Workflow id.

  The `queryparams` option defines the query parameters (optional).


  end

  @doc """
  Create a deployment.

  ## Options
  The `api` option defines the OpenAperture.ManagerApi used for connection.

  The `deployment` option defines the deployment map.

  The `queryparams` option defines the query parameters (optional).

  The `headers` option defines the header values (optional).

  The `options` option defines any extra HTTP options (optional).

  ## Return Values

  Returns the OpenAperture.ManagerApi.Response struct.
  """
  @spec create_deployment(pid, Map, Map, List, List) :: term
  def create_deployment(api \\ ManagerApi.get_api, deployment, queryparams \\ %{}, headers \\ [], options \\ []) do
    post(api, get_path("deployments", queryparams), deployment, headers, options)
  end

  @doc """
  Create a deployment.

  ## Options
  The `api` option defines the OpenAperture.ManagerApi used for connection.

  The `deployment` option defines the deployment map.

  The `queryparams` option defines the query parameters (optional).

  The `headers` option defines the header values (optional).

  The `options` option defines any extra HTTP options (optional).

  ## Return Values

  Integer of new deployment, or nil
  """
  @spec create_deployment!(pid, Map, Map, List, List) :: term
  def create_deployment!(api \\ ManagerApi.get_api, deployment, queryparams \\ %{}, headers \\ [], options \\ []) do
    response = create_deployment(api, deployment, queryparams, headers, options)
    if response.success? do
      Response.extract_identifier_from_location_header(response)
    else
