---
title: "Update a specific material vendor. DEPRECATED: use PUT /v2/material-vendors/{vendorId} instead,
which accepts the material id in the request body. This endpoint fails for material
ids that contain '/' characters (e.g. \"SS-301-CR 1/2 HD\") because ASP.NET Core routing
cannot match URL-encoded forward slashes in path segments."
method: PUT
path: "/api/materials/{materialId}/vendors/{vendorId}"
tags: ["Material Vendor"]
deprecated: true
---

# Update a specific material vendor. DEPRECATED: use PUT /v2/material-vendors/{vendorId} instead,
which accepts the material id in the request body. This endpoint fails for material
ids that contain '/' characters (e.g. "SS-301-CR 1/2 HD") because ASP.NET Core routing
cannot match URL-encoded forward slashes in path segments.

`PUT /api/materials/{materialId}/vendors/{vendorId}`

> **Deprecated.**

## Path parameters

- `materialId` string, required
- `vendorId` string, required

## Request body

- MaterialShapeVendorUpdateDto — Vendor with additional context for a material.
  - `isPrimary` boolean — Signifies if this is the primary vendor for this material.
  - `leadTimeInDays` integer, nullable — Lead time for this vendor.
  - `priceBreaks` MaterialShapeVendorPriceBreakCreateDto[], required — Vendor price breaks
    - `quantity` integer, required — The minimum quantity to associate this price break to.
    - `price` number, double, required — The price per unit.

## Response `200`

Update successful

- MaterialShapeVendorDto — Material vendor definition
  - `id` string, uuid, required — Unique id associated to this entity.
  - `vendorId` string, required — Vendor identifier. Pelase reference /api/vendors endpoint.
  - `isPrimary` boolean, required — Signifies if this is the primary vendor for this material.
  - `currencyCode` string, nullable — Currency code/denomination associated to this vendor.
  - `priceUnit` 'kilogram' | 'pound', required — Specifies how a routing input item quantity is measured.
  - `leadTimeInDays` integer, nullable — Number of days required between order and receipt
  - `priceBreaks` MaterialShapeVendorPriceBreakDto[], required — Vendor price breaks
    - `id` string, uuid, required — Unique id associated to this entity.
    - `quantity` integer, required — The minimum quantity to associate this price break to.
    - `price` number, double, required — The price per unit.

## Other responses

- `404` — Material did not exist or no vendor existed

---

[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)
