- API Reference
- API Calls
- Batches
- Bins
- Carriers
- Clients
- Cost Centers
- Kits
- Kit Lines
- Locations
- Location Contents
- Materials
- Material Codes
- Material Properties
- Orders
- Order Lines
- Reports
- Report Rows
- Shelves
- Snapshots
- Stations
- Storage Rules
- Storage Units
- Transactions
- Users
- Warehouses
- Work Order Lines
- Zones
Warehouses
Attributes
-
id
string
Unique identifier for the object.
-
name
string
Non-unique name of the warehouse.
- address1 string
- address2 string
- address3 string
- address4 string
- address5 string
Endpoints
List Warehouses
get /api/warehousesGet the list of warehouses from the PPG database and return a JSON response.
Arguments
- name string
-
id
uuid
Unique identifier for the object.
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": "
8126B842-3EDF-4A2D-B11E-2679219FA5A6
",
"name": "
Warehouse 1
",
"address1": "
string
",
"address2": "
string
",
"address3": "
string
",
"address4": "
string
",
"address5": "
string
",
}]
}]
}
Show Warehouse
get /api/warehouse/[id]Get a single warehouse from the PPG database and return a JSON response.
Arguments
-
id
uuid
Unique identifier for an object.
-
name
String
Only return warehouses that have the given name.
Request with curl
curl "http://[Your IP]
/api/warehouse/[id]" \
-X
get
\
-H "Content-Type: application/json" \
-H "Authorization: Bearer [Your JWT Access Token]"
Example Response
{
"warehouses": [{
"id": "
8126B842-3EDF-4A2D-B11E-2679219FA5A6
",
"name": "
Warehouse 1
",
"address1": "
string
",
"address2": "
string
",
"address3": "
string
",
"address4": "
string
",
"address5": "
string
",
}]
}]
}