GET
/
api
/
user-facilities
/
v1
/
facilities
Get Facilities
curl --request GET \
  --url https://api.retailreadyai.com/api/user-facilities/v1/facilities \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "92eaa7f4-6469-4a68-818c-509574d712fa",
      "name": "LogisticsPro NYC",
      "external_facility_code": "1234"
    },
    {
      "id": "92eaa7f4-6469-4a68-818c-509574d712fa",
      "name": "LogisticsPro LAX",
      "external_facility_code": "1234"
    },
    {
      "id": "92eaa7f4-6469-4a68-818c-509574d712fa",
      "name": "LogisticsPro CHI",
      "external_facility_code": "1234"
    },
    {
      "id": "92eaa7f4-6469-4a68-818c-509574d712fa",
      "name": "LogisticsPro ATL",
      "external_facility_code": "1234"
    }
  ],
  "message": "Facilities fetched"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Successfully retrieved facilities

The response is of type object.