cURL
curl --request GET \ --url https://app.buylo.ai/api/external/locations \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": 1, "name": "Main Warehouse", "type": "WAREHOUSE", "antennas_ids": [ 3, 7 ], "printer_ids": [ 2 ] } ] }
Returns a list of all locations defined in the tenant (warehouses, stores, etc.).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
Show child attributes