v2

latestOpenAPI 3.0.42026-08-084694591.6 MB
Material Vendor

Create a new 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.

post/api/v2/material-vendors

Request body

materialIdstring required

Unique id of the material to create the vendor on.

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