The Supplier resource represents a vendor that provides hardware products to Ferreandina. Each supplier document stores the company name, contact email, phone number, and a profile image URL. Suppliers are referenced in two places: as an embeddedDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/tutosrive/ferreandina-nosql/llms.txt
Use this file to discover all available pages before exploring further.
supplier object inside each Product document, and as an embedded supplier object inside each Supply (delivery) record. The seed dataset ships with hundreds of supplier entries. All CRUD operations are available at /api/suppliers.
Document Schema
Unique integer identifier for the supplier.
Company or trading name of the supplier (e.g.,
"Fierros La Central", "Wright Ltd").Primary contact email address for the supplier.
Contact phone number (format varies by record).
URL of the supplier’s profile/logo image.
Endpoints
GET /api/suppliers
Returns an array of all supplier documents.GET /api/suppliers/{id}
Returns a single supplier by its integer_id.
POST /api/suppliers
Creates a new supplier document. Request BodyUnique integer ID for the new supplier.
Supplier company name.
Contact email address.
Contact phone number.
URL of the supplier profile image.
PATCH /api/suppliers/{id}
Partially updates a supplier. Include only the fields to change. Request BodyUpdated company name.
Updated email address.
Updated phone number.
Updated image URL.
DELETE /api/suppliers/{id}
Deletes the supplier with the given integer_id.