Description
LandTech Self Storage API is a free foundation plugin that securely connects your WordPress site to the WebSelfStorage API (U-Haul Self-Storage Affiliate Network) for real-time inventory, facility profile display, and seamless data sync. Production API paths can use v3 or v4 when Premium is active (see API version below).
Server-side requests use your stored API key and Entity ID—nothing is embedded in page source for visitors. Display facility profile data and move-in / availability inventory on any page via shortcodes. See SHORTCODES.md in the plugin folder for the full shortcode reference.
Features
- API integration: WebSelfStorage API — facility location, move-in inventory, and related calls used by the shortcodes (v3 or v4 paths when configured)
- Location display: Address, phone, and hours from the API
- Available units: Move-in inventory (pricing and specs as returned by the API)
- Admin: LandTech Storage settings for API key and Entity ID; Test Connection validates credentials and probes v3 and v4 test endpoints
- Shortcodes (public):
[landtech_self_storage],[landtech_wss_movein],[landtech_wss_location_sizes](see SHORTCODES.md) [wss_api_*]shortcodes: Raw JSON wrappers for endpoints—for administrators debugging only; do not use on public pages- Responsive CSS for shortcode output
- Translation-ready — text domain
landtech-self-storage-api; default strings are English (see Language support below) - Premium-ready: Works alongside Self Storage API Premium for reservations, multi-facility, Gutenberg blocks, waiting lists, and API v4 Features admin
Premium Version
For reservation forms, multi-facility support, waiting lists, Self Storage API Gutenberg blocks (Storage Units, Unit Types, All Units, Reservation Form, Rental Form, Waiting List — six blocks in Premium 1.4.4+), API v4 Features admin, unit card display options, analytics, and bundled multi-language packages, see Self Storage API Premium.
Language support
This free plugin is internationalization-ready. WordPress will load a translation if you install a matching landtech-self-storage-api-{locale}.mo (for example in wp-content/languages/plugins/) or when community translations are available for this plugin on WordPress.org. The template for translators (.pot) is included under languages/ in the plugin package.
Self Storage API Premium adds Self Storage API Premium-maintained compiled translations for many locales (for example German, Spanish, French, Italian, Brazilian Portuguese, and Japanese), RTL styles for admin and front-end, Self Storage API Gutenberg blocks, API v4 Features admin, a Language support help document under SelfStorage Documentation, and a much larger set of translatable admin and feature strings (reservations, waiting list, license tools, and more). For the full translated experience across Premium features, upgrade to Self Storage API Premium.
Installation
Requirements
- WordPress: 5.0 or higher (tested up to 7.1).
- PHP: 7.4 or higher (aligns with WordPress 7.0 minimum supported PHP; 8.3+ recommended).
- Hosting: Outbound HTTPS requests must be allowed so WordPress can call
api.webselfstorage.com(the plugin useswp_remote_get/wp_remote_post, not raw cURL). - Credentials: A valid WebSelfStorage API key and your facility Entity ID (from your storage network or U-Haul Self-Storage Affiliate Network account).
Install the plugin
- Upload or install: Add the plugin folder to
/wp-content/plugins/landtech-self-storage-api/, or in wp-admin go to Plugins Add New Upload Plugin and select the plugin zip, or search for LandTech Self Storage API if installing from WordPress.org. - Activate: Go to Plugins, find LandTech Self Storage API – Automated Storage Management Integration, and click Activate.
Configure the API connection
- In the WordPress admin sidebar, open LandTech Storage (top-level menu). The plugin’s settings screen loads there—it is not nested under Settings General.
- Enter your API key and Entity ID (facility identifier used in API paths—often a numeric code from your network).
- Click Save Settings, then Test Connection (same screen) to confirm WordPress can reach
api.webselfstorage.comand that the API accepts your credentials.
Use shortcodes on your site
- Edit any page or post and add the shortcodes you need:
[landtech_self_storage]— Primary block: facility profile plus optional units (show_location,show_units).[landtech_wss_movein]— Move-in inventory only (useful if you disabled units on the main shortcode to avoid duplication).[landtech_wss_location_sizes]— Size-code / vacant-units table from/v3/location/{entity}for comparison with move-in data.[wss_api_*](e.g.wss_api_location,wss_api_movein) — Administrators only; outputs raw JSON for troubleshooting. Do not publish on customer-facing pages.
- Publish or Update the page. Rendering happens in PHP; the API key stays in options, not in HTML source.
Troubleshooting (installation)
- If the test fails, verify PHP
allow_url_fopen/ firewall rules, that the API key matches your facility, and that the Entity ID matches WebSelfStorage records. - For HTTPS or mixed-content issues, ensure your site uses HTTPS for admin if your host requires it.
Frequently Asked Questions
How do I get an API key?
You can obtain your API key from your WebSelfStorage account. Contact your storage network provider for more information about accessing the WebSelfStorage API.
What is an Entity ID?
The Entity ID is a unique identifier for your storage facility. It’s typically a 6-digit number (e.g., 019109). If you’re unsure of your Entity ID, you can leave it blank and the plugin will attempt to retrieve it from the API.
Can I use this with multiple facilities?
The free version supports a single facility. For multi-facility support, please check out LandTech Self Storage API Premium.
Are translations included?
Free: The plugin is translation-ready. English ships by default; you can add custom .mo files or use WordPress.org language packs when available. See languages/TRANSLATORS.txt in the plugin. Premium ships pre-built .mo files for multiple locales and covers the full Premium UI—see Language support in this readme, then Self Storage API Premium to upgrade.
What API version does this use?
Default: WebSelfStorage API v3. Test Connection also probes v4 (GET /v4/test) and reports whether v4 is live for your API key.
Switch to v4 for production requests when using Self Storage API Premium: SelfStorage API v4 Features API path, or add to wp-config.php:
define( 'LANDTECH_SELFSTORAGE_WSS_API_VERSION', 'v4' );
The free plugin’s API client respects the shared version setting when Premium (or the constant) sets it. See SHORTCODES.md in this plugin folder.
How do I display facility information on my site?
Use the [landtech_self_storage] shortcode on any page or post. You can customize what’s displayed using the shortcode attributes:
* show_location="true" – Display facility location information (default: true)
* show_units="true" – Display available units (default: true)
Example: [landtech_self_storage show_location="true" show_units="true"]
Full attribute list and Premium shortcode pointer: see SHORTCODES.md in the plugin directory (or your copy from GitHub).
Changelog
1.0.6
- Documentation: Premium Gutenberg block list updated to include Unit Types (six blocks total in Premium 1.4.4+). Readme and upgrade notice refreshed; no functional changes to the free plugin.
1.0.5
- API v4 compatibility: Production requests can use WebSelfStorage v3 or v4 paths. The free plugin’s API client reads the shared
selfstorage_wss_api_versionoption (set in Premium SelfStorage API v4 Features API path),LANDTECH_SELFSTORAGE_WSS_API_VERSIONinwp-config.php, or Premium reservation settings. - Test Connection: Reports whether v4 is live for your API key and which path version is active for production calls.
- Premium-ready foundation: Documented integration with Self Storage API Premium Gutenberg blocks (Storage Units, Unit Types, All Units, Reservation Form, Rental Form, Waiting List) and the API v4 Features admin screen.
- Documentation: SHORTCODES.md added; readme updated for v3/v4 switching and block editor workflow.
1.0.4
- Test Connection probes both GET /v3/test and GET /v4/test so you can see whether WebSelfStorage API v4 is live for your API key.
1.0.3
- Hide “Want More Features?” upsell on
[landtech_self_storage]and[landtech_wss_movein show_upgrade="true"]when Self Storage API Premium is active. - Align plugin header Tested up to with readme (7.1).
1.0.2
- Declares WordPress 7.0 compatibility (
Tested up to) after testing on WordPress 7.0. - Raises minimum PHP to 7.4 to align with WordPress 7.0 (PHP 7.2 and 7.3 no longer supported by core). No functional/plugin logic changes in this release.
1.0.1
- Documentation: language support and translation paths for the free plugin; what Premium adds (bundled locales, RTL, in-product help). Version bump to sync readme with WordPress.org and Git.
1.0.0
- Initial release
- Basic API integration with WebSelfStorage API v3
- Location information display
- Available units display
- Admin settings page for API configuration
- Shortcode support for displaying facility information
External services
This plugin connects to an external API to display storage facility information and available units on your site. This is required for the plugin to function.
WebSelfStorage API (U-Haul Self-Storage Affiliate Network) — https://api.webselfstorage.com
- What it is and what it is used for: The WebSelfStorage API is a service provided by U-Haul (eMove, Inc. d/b/a U-Haul Self Storage Affiliate Network). The plugin uses it to retrieve your storage facility’s location details (address, phone, hours) and available storage units with pricing so you can show that information on your WordPress site via the shortcode.
- What data is sent and when: The plugin sends your API key (in the request header) and your facility Entity ID (in the request URL) to the API. Specifically, it sends the Entity ID to endpoints such as
/v3/location/and/v3/movein/to fetch location details (address, phone, hours) and available units with pricing. No site visitor personal data is sent. Data is sent when a page or post containing the shortcode is loaded, and when an administrator uses the settings page (e.g. testing the connection). - Terms of Service and Privacy Policy (required links):
- Terms of Service / End User License Agreement: https://webselfstorage.com/EndUserLicenseAgreement
- Privacy Policy: https://webselfstorage.com/PrivacyNotice
- U-Haul legal and privacy: https://www.uhaul.com/Legal/
Reviews
Contributors & Developers
“LandTech Self Storage API – Automated Storage Management Integration” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “LandTech Self Storage API – Automated Storage Management Integration” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.