The Clients API lets you manage the customer records for Don Mamino’s bakery locations. All read operations are publicly accessible without authentication. Write operations — creating, updating, and deleting clients — require a valid JWT Bearer token.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/luisllatas-dev/Proyecto_Pasteleria_DonMamino/llms.txt
Use this file to discover all available pages before exploring further.
Authentication:
GET endpoints are public and require no token. POST, PUT, and DELETE endpoints require an Authorization: Bearer <token> header.GET /api/clientes
Returns a list of all registered clients in the database.Auto-incremented unique identifier for the client.
Full name of the client.
Unique email address of the client.
Contact phone number (up to 15 characters).
Shipping address for order delivery.
GET /api/clientes/:id
Returns a single client record by their unique ID.POST /api/clientes
Creates a new client record. Requires authentication.Full name of the client.
Unique email address. Duplicate emails will cause a conflict error.
Contact phone number (up to 15 characters).
Shipping address for order delivery.
The
id_cliente of the newly created client record.Confirmation message.
PUT /api/clientes/:id
Updates all fields of an existing client record. Requires authentication.The unique ID of the client to update.
Updated full name of the client.
Updated email address.
Updated contact phone number.
Updated shipping address.
DELETE /api/clientes/:id
Permanently deletes a client record by ID. Requires authentication.The unique ID of the client to delete.