Warehouses
Warehouses are physical locations where stock is held and orders are picked.
Attributes
Name | Type | Required | Description |
---|---|---|---|
idwarehouse | integer | generated | Unique Picqer reference |
name | string | required | Name of warehouse |
accept_orders | boolean | required | If the products of this warehouse can be ordered/picked/shipped or not |
counts_for_general_stock | boolean | required | If this stock counts for the consolidated stock for the products |
priority | integer | required | Priority of this warehouse. Lower priorities will get more orders. |
active | boolean | required | If this is an active warehouse |
Get all warehouses
GET
https://example.picqer.com/api/v1/warehouses
HTTP/1.1 200 OK
[
{
"idwarehouse":321,
"name":"Marconistraat",
"accept_orders": true,
"counts_for_general_stock": true,
"priority": 2,
"active":true
},
{
"idwarehouse":1034,
"name":"Utrechtseweg",
"accept_orders": true,
"counts_for_general_stock": true,
"priority": 1,
"active":true
}
]
This endpoint uses pagination.
Get a warehouse
GET
https://example.picqer.com/api/v1/warehouses/{idwarehouse}
HTTP/1.1 200 OK
{
"idwarehouse":321,
"name":"Marconistraat",
"accept_orders": true,
"counts_for_general_stock": true,
"priority": 1,
"active":true
}
Read more Users