Search locations

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

The Locations endpoint provides detailed information about company-related sites such as Terminals, Shippers/Consignees, Cold Warehouses, and Dry Warehouses. The endpoint for searching locations requires specifying the API version in the path and providing filters in the request body. For details on API versioning, see Versioning.


Request Parameters

Path parameters

ParameterTypeRequiredDescription
versionStringYesThe API version to use.

Request body (filters + paging)

ParameterTypeRequiredDescription
PageIntegerNoPage index.
PageSizeIntegerYesPage size (must be > 0).
StatusArray of StringNoFilter by one or more location statuses. Supported values: "Active", "Disabled", "Inactive".
LocationIdsArray of StringNoFilter by a set of Location IDs.
CreatedDateRangeObjectNoFilter by creation timestamp range (UTC).
CreatedDateRange.StartString (DateTime)NoStart of the date range.
CreatedDateRange.EndString (DateTime)NoEnd of the date range.

Example cURL request

curl --location 'https://integrations.alvys.com/api/p/v1/locations/search' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
  "Page": 0,
  "PageSize": 100,
  "Status": ["Active",  "Disabled", "Inactive"],
  "LocationIds": [],
  "CreatedDateRange": {
    "Start": "2025-01-01T00:00:00Z",
    "End": "2025-09-08T23:59:59Z"
  }
}'

Response Parameters

ParameterTypeDescription
PageintegerThe current page number.
TotalintegerThe total number of items matching the criteria.
PageSizeintegerThe number of items per page.
Items[].IdstringUnique identifier of the location.
Items[].NamestringLocation (company site) name.
Items[].CompanyNumberstringCompany number for this location. This is also provided when uploading files for that company.
Items[].TypestringLocation type (e.g., Terminal, Shipper/Consignee, Cold Warehouse, Dry Warehouse).
Items[].StatusstringLocation status. Supported values: "Active", "Disabled", "Inactive".
Items[].PhysicalAddress.StreetstringThe street line of the location’s physical address.
Items[].PhysicalAddress.CitystringThe city of the location.
Items[].PhysicalAddress.StatestringThe state or province of the location.
Items[].PhysicalAddress.ZipCodestringThe postal/ZIP code of the location.
Items[].Email[]array of stringA list of email addresses for the location.
Items[].Phone[]array of stringA list of phone numbers for the location.
Items[].FaxstringThe fax number for the location.
Items[].DateCreatedstring (datetime)Timestamp when the location was created (UTC).
Items[].ExternalIdstringAn external reference identifier, if applicable.
Items[].Notes[]array of objectsA list of notes attached to the location.
Items[].Notes[].idstringUnique identifier of the note.
Items[].Notes[].DescriptionstringThe text of the note.
Items[].Notes[].NoteTypestringThe type/category of the note.
Items[].Notes[].Timestring (datetime)The timestamp when the note was created (UTC).
Items[].Notes[].UserstringThe user who created the note.

Rate Limit

All endpoints are subject to platform rate limits. See Rate Limits.

Path Params
string
required
Defaults to 1.0
Body Params
int32
required
int32
required
Status
array of strings
required
Status*
LocationIds
array of strings
required
LocationIds*
CreatedDateRange
object | null
Headers
string
enum
Defaults to application/json
Allowed:
string
enum
Defaults to application/json-patch+json
Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json