v2

latestOpenAPI 3.0.42026-08-084694591.6 MB
Material Vendor

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}

Path parameters

materialIdstring required

The id of the item to modify vendors for

vendorIdstring required

The id of the actual vendor.

Request body

isPrimaryboolean

Signifies if this is the primary vendor for this material.

leadTimeInDaysinteger nullable

Lead time for this vendor.

Response

Update successful

idstring uuid required

Unique id associated to this entity.

vendorIdstring required

Vendor identifier. Pelase reference /api/vendors endpoint.

isPrimaryboolean required

Signifies if this is the primary vendor for this material.

currencyCodestring nullable

Currency code/denomination associated to this vendor.

priceUnit'kilogram' | 'pound' required

Specifies how a routing input item quantity is measured.

leadTimeInDaysinteger nullable

Number of days required between order and receipt