Supported Formats

json

GET /api/formatos
Devuelve los formatos de productos

### Ejemplo cURL

curl -X GET -H "Cache-Control: no-cache" -H "Postman-Token: 7121d0f6-2cd3-2e27-8b17-1a9409dc6bd8" 'http://localhost:3000/api/formatos'

### Ejemplo Retorno

[
  {
    "id": 10,
    "nombre": "Chico",
    "orden": 1,
    "slug": "chico"
  },
  {
    "id": 20,
    "nombre": "Mediano",
    "orden": 2,
    "slug": "mediano"
  }
]

Supported Formats

json

Errors

401 Unauthorized - Returned when authentication can't be achieved via login or missing/expired api token