Lot: PUT

Allows the user to update a created lot.

Request

To access and update a specific lot:

/api/lot/:lotID

Requires bearer authentication.

Response

Should return 200 status code and the updated JSON object.

body: {
  name: 'updated name',
  description: 'updated description',
  address: '345 update st'
  _id: 12k34j567h89g098f7d654s321
  userID: 098h765h432oo12345u6yt78we90
}

results matching ""

    No results matching ""