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.

Changed on
post/api/materials/{materialId}/vendors

Request

  • Base URL
    https://api.fulcrumpro.com
  • URL
    https://api.fulcrumpro.com/api/materials/{materialId}/vendors
  • Auth
    none declared

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

Changes

    • breaking

      the request property's minItems was increased to 1 (media type: application/json-patch+json)

    • breaking

      the request property's minItems was increased to 1 (media type: application/json)

    • breaking

      the request property's minItems was increased to 1 (media type: text/json)

    • breaking

      the request property's minItems was increased to 1 (media type: application/*+json)

    • info

      endpoint deprecated