Retrieve a list of all available warehouses. A warehouse is used to account stock for any items sold or delivered.
parameters:
auth | the authorisation code you received from Intogolf BV (mandatory) |
If a wrong authorisation code is provided, the backend will return 401,“Unauthorized”
example: https://backend.intogolf.com/itg/warehouses?auth=<your authorisation code>
result:
{ "warehouses": [ { "wahnr": 2, "name": "magazijn 1" }, { "wahnr": 3, "name": "magazijn 2" }, { "wahnr": 4, "name": "stokkenlaan 5" } ] }
wahnr | internal id of the warehouse |
name | name of the warehouse |