Part of the Address ecosystem · 23 projects
This module exposes the Address module's functionality through a REST API. It allows external applications to validate addresses, retrieve country information for building forms, and save addresses to entities.
The Address decoupled module is an API expose for the Address module.
The module consists of a service that connects to the address services for building an address format via API, validating any address, listing all the available countries, and saving an address to any entity.
The module has several API endpoints that work with the address logic. As a note, there is no support yet for the zone or country field types, but only for the address because it's a common usage in most of the cases.
Features
There are 5 rest resources for:
- Listing all the countries or those filtered by the country codes
- Getting the country data like subdivisions, fields (required, optional), postal code pattern, etc. to build the address format form via decoupled
- The address validation
- Address save for a particular entity into a particular field
- Get the commerce store supported countries information
Post-Installation
Once the module gets installed make sure to configure the user permissions for the corresponding user roles to access the new REST resources from this module. The permissions can be found under the RESTful Web Services. Here are the permissions:
- Access GET on Address decoupled - Countries list resource
- Access GET on Address decoupled - Country data resource
- Access GET on Address decoupled - Validate address resource
- Access POST on Address decoupled - Save address resource
- Access GET on Address decoupled - Store Supported Countries resource
Additional Requirements
The module requires the module Address and the core module Rest.
Community Documentation
The usage documentation can be found here.
Ask your assistant about Address Decoupled
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- address Drupal core
- rest Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Address ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.7 | Stable | 9–11 | Jun 24, 2024 | ||
| 1.0.6 | Stable | 9–10 | Jun 24, 2024 | ||
| 1.0.5 | Stable | 9–10 | Jan 26, 2024 | ||
| 1.0.4 | Stable | 9–10 | Dec 6, 2023 | ||
| 1.0.3 | Stable | 9–10 | Dec 3, 2023 | ||
| 1.0.2 | Stable | 9–10 | Nov 16, 2023 | ||
| 1.0.1 | Stable | 9–10 | Nov 16, 2023 | ||
| 1.0.0 | Stable | 9–10 | Nov 16, 2023 | ||
| 1.x-dev | Dev | 9–11 | Nov 16, 2023 |