Create a place

POST /places

Parameters

Type Name Schema
Body body
required
body

body

Name Schema
address
optional
string
instructions
optional
string
lat
optional
string
lng
optional
string
name
optional
string

Responses

HTTP Code Description Schema
200 Status 200 Response 200

Response 200

Name Description Schema
message
optional
Place created successfully string
place
optional
Warehouse

Security

Type Name
basic Basic authentication

List places

GET /places

Description

List all the warehouse places associated to the company logged in

Responses

HTTP Code Description Schema
200 Status 200 Response 200

Response 200

Name Description Schema
message
optional
Places listed successfully string
places
optional
< Warehouse > array

Produces

  • application/json

Security

Type Name
basic Basic authentication

Edit a place

PATCH /places

Parameters

Type Name Schema
Body body
required
Warehouse

Responses

HTTP Code Description Schema
200 Status 200 No Content

Consumes

  • application/json

Delete a place

DELETE /places/:place_id

Parameters

Type Name Description Schema
Query :place_id
optional
Unique identifier for the place number

Responses

HTTP Code Description Schema
200 Status 200 string

Example HTTP response

Response 200
json : "Place deleted succesfully"

results matching ""

    No results matching ""