Warehouses

Attributes

  • id string

    Unique identifier for the object.

  • name string

Endpoints

List Warehouses

/api/warehouses

Get the list of warehouses from the PPG database and return a JSON response.

Arguments

  • name string

Request with curl
curl "http://[Your IP] /api/warehouses" \ -X get \ -H "Content-Type: application/json" \ -H "Authorization: Bearer [Your JWT Access Token]"
Example Response
{ "warehouses": [{ "id": "string", "name": "string", }] }

Show Warehouse

/api/warehouses/[id]

Get a single warehouse from the PPG database and return a JSON response.

Request with curl
curl "http://[Your IP] /api/warehouses/[id]" \ -X get \ -H "Content-Type: application/json" \ -H "Authorization: Bearer [Your JWT Access Token]"
Example Response
{ "warehouses": [{ "id": "string", "name": "string", }] }