Log in
Repository

GroupExcludedWebsiteRepositoryInterface

Magento\Customer\Api\GroupExcludedWebsiteRepositoryInterface

What it does

This repository interface manages the relationship between customer groups and websites that are excluded from those groups.

Developers use it to save, retrieve, or delete exclusion rules that prevent certain websites from being associated with specific customer groups.

This is useful in multi-website Magento installations where you need to control which customer groups are available on which websites.

Public Methods

  • save()
  • getCustomerGroupExcludedWebsites()
  • getAllExcludedWebsites()
  • delete()
  • deleteByWebsite()