TMS API
TMS API - Locations

Create Location

Create a new location.

post/v2/tms-api/locations

Request

  • Base URL
    https://api.mentium.io (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Headers

X-API-Keystring nullable

API key for authentication

Request body

external_reference_idstring required

Unique identifier from your system

namestring nullable

Location name

address_line1string nullable

Street address line 1

address_line2string nullable

Street address line 2

citystring nullable

City

statestring nullable

State/Province

postal_codestring nullable

Postal/ZIP code

countrystring nullable

Country

latitudenumber nullable

Latitude

longitudenumber nullable

Longitude

iana_timezonestring nullable

IANA timezone for the facility (e.g., 'America/Chicago'). Used to render stop times in the facility's local TZ.

emailstring nullable

Contact email

phone_numberstring nullable

Contact phone number

weekday_open_hoursstring nullable

Weekday opening hours (HH:MM)

weekday_close_hoursstring nullable

Weekday closing hours (HH:MM)

weekend_open_hoursstring nullable

Weekend opening hours (HH:MM)

weekend_close_hoursstring nullable

Weekend closing hours (HH:MM)

internal_notesstring nullable

Internal notes about the location

Response

Successful Response

idstring required

Internal Mentium ID

external_reference_idstring required

External reference ID from your system

namestring nullable

Location name

address_line1string nullable

Street address line 1

address_line2string nullable

Street address line 2

citystring nullable

City

statestring nullable

State/Province

postal_codestring nullable

Postal/ZIP code

countrystring nullable

Country

latitudenumber nullable

Latitude

longitudenumber nullable

Longitude

iana_timezonestring nullable

IANA timezone for the facility (e.g., 'America/Chicago'). Used to render stop times in the facility's local TZ.

emailstring nullable

Contact email

phone_numberstring nullable

Contact phone number

weekday_open_hoursstring nullable

Weekday opening hours

weekday_close_hoursstring nullable

Weekday closing hours

weekend_open_hoursstring nullable

Weekend opening hours

weekend_close_hoursstring nullable

Weekend closing hours

internal_notesstring nullable

Internal notes

created_atstring date-time required

Creation timestamp

updated_atstring date-time required

Last update timestamp

Changes

No recorded changes to this operation across all 2 revisions of this API.