The vendor object

{
 "id": "1a8a9f3c-b420-4cbf-9089-449819a1c4b0",
 "title": "Spectra Winery",
 "createdAt": "2018-05-20T07:30:55.045Z",
 "updatedAt": "2018-05-20T07:30:55.045Z"
}

Create a vendor

POST: /vendor

{
 "title": "Twisted Oak Winery"
}

RESPONSE: responds with a vendor object.

Retrieve a vendor

GET: `/vendor/:id

RESPONSE: responds with a vendor object.

Update a vendor

PUT: /vendor/:id

{
 "title": "Twisted Oak Winery Vallecito"
}

RESPONSE: responds with a vendor object.

Delete a vendor

DELETE: /vendor/:id

RESPONSE: responds with a blank object and 204 status.

List all vendors

GET: /vendor

OPTIONS: optional query parameters include: q.

RESPONSE: responds with an array of vendor objects and a total count.

{
 "vendors": [{
  "id": "1a8a9f3c-b420-4cbf-9089-449819a1c4b0",
  "title": "Spectra Winery",
  "createdAt": "2018-05-20T07:30:55.045Z",
  "updatedAt": "2018-05-21T23:55:21.456Z"
 }, {
  "id": "dfecc0d4-e2d8-4f72-aa31-3db5c1394666",
  "title": "Twisted Oak Winery Vallecito",
  "createdAt": "2018-05-21T23:47:45.450Z",
  "updatedAt": "2018-05-21T23:55:28.277Z"
 }],
 "total": 2
}