Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Address Decoupled

Security covered

Part of the Address ecosystem · 15 projects

View on drupal.org

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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
Nov 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.7 Stable Jun 24, 2024
1.0.6 Stable Jun 24, 2024
1.0.5 Stable Jan 26, 2024
1.0.4 Stable Dec 6, 2023
1.0.3 Stable Dec 3, 2023
1.0.2 Stable Nov 16, 2023
1.0.1 Stable Nov 16, 2023
1.0.0 Stable Nov 16, 2023
1.x-dev Dev Nov 16, 2023