Locations
You can use the Faundit API v2 to manage locations.
A Location is a hotel, venue, or property that is part of the account holder's group. Your organisation can consist of multiple Locations where different individuals can be designated as Users to access one or more Locations.
A manager might need access to multiple Locations while an employee only needs access to a specific Location.
In our API, a Location is uniquely identified by the `locationID`. It will be displayed when retrieving Items, customer Requests, and Users associated with a Location.
A precise "Location address" and "package collection instructions" are crucial information for arranging package pickups with our shipping providers.
Create a new Location
POST https://{environment}.faundit.com/api/v2/locations
IMPORTANT: When a new Location is created, no User is automatically attached to it. You must explicitly assign Users to the Location as part of your setup process.
Request body
name*
string
Name of the Location
address*
object
A JSON object containing data about the Location's address.
address.address*
string
Address of the Location.
Example: "Graham St."
address.addressNumber*
string
House number of the Location.
Example: "36"
address.city*
string
City of the Location.
Example: "London"
address.countryID*
string
Alpha-2 country code of the Location. Example: "GB"
*You’ll find the values in the section “Country Reference”. Use the abbreviation (value) of the key, e.g. “GB” for the United Kingdom.
address.state
string
State of the Location (Australia, Canada & USA only).
Example: "NY"
Use abbreviations accordingly to our State Reference page.
address.zipCode*
string
Zip code of the Location.
Example: "N1 8GJ"
contactDetails*
object
A JSON object containing data about the Location's contact details.
contactDetails.contactPerson*
string
Name of the contact person in charge of Faundit at the Location.
contactDetails.contactEmail*
string
Contact e-mail address of the contact person in charge of Faundit at the Location.
contactDetails.contactEmailCC
string
CC'ed mail addresses, separate multiple recipients with a comma (,).
contactDetails.phoneNumber*
string
Contact phone number of the contact person in charge of Faundit at the Location.
itemStorageDays
number
Default number of days the Location stores items.
Defaults to 90.
daysBeforeRequestExpires
number
This field indicates the number of days after creation that a Request will expire. Defaults to 90.
storageAfterItemStorageDays
number
If a guest selects to pick up an item within your regular storage time, this is the amount of days they will have a timespan to collect it in.
Example: Storange time: 1 day Extra storage time: 7 days
Guests can only respond to the found item within the first day. If they do, they can choose to pick it up within the following 7 days.
It expires after the first day if no action is made. Defaults to 0.
pickupDetails*
object
A JSON object containing data about the Location's pickup details.
pickupDetails.pickupLocation
string
The pickup location for packages at the Location. Max. 12 characters. Defaults to "Reception"
pickupDetails.pickupIntructions
string
Special pickup instructions for packages at the Location. Max. 57 characters. Example: "Use the front door"
reference
string
A reference to the Location. Example: "Branch 1"
options
object
A JSON object with information on the Location's Faundit options.
options.weightUnit
string
Weight unit used in the Faundit platform. Possible values: "kg" or "lb" Defaults to "kg"
options.dimensionUnit
string
Dimension unit used in the Faundit platform. Possible values: "cm" or "in" Defaults to "cm"
Response
Return all Locations
GET https://{environment}.faundit.com/api/v2/locations
Return a single Location
GET https://{environment}.faundit.com/api/v2/locations/:locationID
Query Parameters
locationID*
string
Location unique identifier.
Example: 14dbb67jc32e9f37b9136852bc36a389:ebcbd6a13
Update a Location
PUT https://{environment}.faundit.com/api/v2/locations/:locationID
This endpoint allows you to update details of a specific location.
Path Parameters
locationID*
string
Location unique identifier.
Example: 14dbb67jc32e9f37b9136852bc36a389:ebcbd6a13
Request Body
address.address
string
Address of the Location.
Example: "Graham St."
address
object
A JSON object containing data about the Location's address.
address.countryID
string
Alpha-2 country code of the Location. Example: "GB"
*You’ll find the values in the section “Country Reference”. Use the abbreviation (value) of the key, e.g. “GB” for the United Kingdom.
address.city
string
City of the Location.
Example: "London"
address.state
string
State of the Location (Australia, Canada & USA only).
Example: "NY"
Use abbreviations accordingly to our State Reference page.
address.zipCode
string
Zip code of the Location.
Example: "N1 8GJ"
address.addressNumber
string
House number of the Location.
Example: "36"
contactDetails.contactEmailCC
string
CC'ed mail addresses, separate multiple recipients with a comma (,).
contactDetails.contactEmail
string
Contact e-mail address of the contact person in charge of Faundit at the Location.
contactDetails.contactPerson
string
Name of the contact person in charge of Faundit at the Location.
contactDetails
object
A JSON object containing data about the Location's contact details.
itemStorageDays
number
Default number of days the Location stores items.
Defaults to 90.
storageAfterItemStorageDays
number
If a guest selects to pick up an item within your regular storage time, this is the amount of days they will have a timespan to collect it in.
Example: Storange time: 1 day Extra storage time: 7 days
Guests can only respond to the found item within the first day. If they do, they can choose to pick it up within the following 7 days.
It expires after the first day if no action is made. Leave this at 0 if you aren't sure what it's for.
contactDetails.phoneNumber
string
Contact phone number of the contact person in charge of Faundit at the Location.
pickupDetails
object
A JSON object containing data about the Location's pickup details.
pickupDetails.pickupLocation
string
The pickup location for packages at the Location. Max. 12 characters. Example: "Reception"
pickupDetails.pickupIntructions
string
Special pickup instructions for packages at the Location. Max. 57 characters. Example: "Use the front door"
reference
string
A reference to the Location. Example: "Branch 1"
Return all Users for a specific Location
GET https://{environment}.faundit.com/api/v2/locations/:locationID/users
This endpoint retrieves a list of all Users granted access to a particular Location within your account. This empowers you to manage User permissions and access control effectively, ensuring individuals can only interact with relevant Locations.
Path Parameters
locationID*
string
Location unique identifier.
Example: 14dbb67jc32e9f37b9136852bc36a389:ebcbd6a13
Return all Customer Requests for a specific Location
GET https://{environment}.faundit.com/api/v2/locations/:locationID/requests
This endpoint retrieves a list of all Customer Requests associated with a particular Location within your account. This empowers you to efficiently manage customer interactions and resolve issues related to a specific Location.
Path Parameters
locationID*
string
Location unique identifier.
Example: 14dbb67jc32e9f37b9136852bc36a389:ebcbd6a13
Query Parameters
limit
number
page
number
Return all Lost Items for a specific Location
GET https://{environment}.faundit.com/api/v2/locations/:locationID/items
This endpoint retrieves a list of all Lost Items registered at a particular Location within your account.
Path Parameters
locationID*
string
Location unique identifier.
Example: 14dbb67jc32e9f37b9136852bc36a389:ebcbd6a13
Query Parameters
limit
number
page
number
Return all communication languages for a specific Location
GET https://{environment}.faundit.com/api/v2/locations/:locationID/languages
Languages are used in communication (email/SMS) with customers through the API.
This endpoint returns a list of languages available for your Location to communicate with Item owners through email and SMS.
Languages are differentiated by scope to indicate at what level the Language has been created. Read more about Languages here.
The Language with default being true will be the Language used in customer communication if no locationID is set on an Item.
To set a Language as default, please do so in the Faundit Platform.
Path Parameters
locationID*
string
Location unique identifier.
Example: 14dbb67jc32e9f37b9136852bc36a389:ebcbd6a13
Deactivate a Location
PUT https://{environment}.faundit.com/api/v2/locations/:locationID/deactivate
Deactivate an existing Location.
This removes access to a Location for all Users.
Path Parameters
locationID*
string
Location unique identifier.
Example: 14dbb67jc32e9f37b9136852bc36a389:ebcbd6a13
Reactivate a Location
PUT https://{environment}.faundit.com/api/v2/locations/:locationID/reactivate
Reactivate an existing Location.
This reactivates access to the Location for all Users who previously had access to the Location.
Path Parameters
locationID*
string
Location unique identifier.
Example: 14dbb67jc32e9f37b9136852bc36a389:ebcbd6a13
Last updated