v2

latestOpenAPI 3.0.42026-08-084694591.6 MB
Material Vendor

Update a specific material vendor. Use this endpoint instead of the path-based v1 when your material ids may contain '/' characters, which ASP.NET Core routing cannot match once URL-encoded.

put/api/v2/material-vendors/{vendorId}

Path parameters

vendorIdstring required

Unique id of the vendor to update on the material.

Request body

materialIdstring required

Unique id of the material whose vendor will be updated.

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