v2

latestOpenAPI 3.0.42026-08-084694591.6 MB
Material Vendor

Create a new material vendor. DEPRECATED: use POST /v2/material-vendors 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.

post/api/materials/{materialId}/vendors

Path parameters

materialIdstring required

Request body

vendorIdstring required

Vendor id associated to this entity. Please reference /api/vendors endpoint.

priceUnit'kilogram' | 'pound' required

Specifies how a routing input item quantity is measured.

isPrimaryboolean

Signifies if this is the primary vendor for this material.

leadTimeInDaysinteger nullable

Lead time for this vendor.

Response

Material vendor created

idstring required

The id of the created record