---
title: "Adds an input material nesting to an item's routing material"
method: POST
path: "/api/items/{itemId}/routing/input-materials/{materialId}/nesting"
tags: ["Item Routing"]
---

# Adds an input material nesting to an item's routing material

`POST /api/items/{itemId}/routing/input-materials/{materialId}/nesting`

## Path parameters

- `itemId` string, required
- `materialId` string, uuid, required

## Request body

- ItemRoutingInputMaterialNestingCreateDto — An input material nesting for routing
  - `d2` number, double, required — Length
  - `d3` number, double, required — For Sheets, the Width
  - `produces` integer, required — The quantity produced, given the bounding box dimensions (D2 x D3).
  - `useForEstimatedCosting` boolean — Indicates if this nesting record will be used for estimated costing. NOTE: Only one nesting record for a material can have this value set to true.

## Response `200`

An input material nesting was added to the item's routing nesting

- CreatedResponseDto — Response for a created record
  - `id` string, required — The id of the created record

## Other responses

- `400` — Validation issue with input
- `404` — A material was not found matching the material id

---

[API](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi.md) · [All operations](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fulcrumpro/fulcrum-publicapi/versions/1b5649cff14a/schema)
